Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

python

  1. Cooldude100

    How to transfer visa and Mastercard with sqlite

    Hello. I am making a money transferring software like Venmo or PayPal and I was wandering if anyone could help me get the code for the transactions. I am using SQLite and not flask. If anyone can help, please do.
  2. Cooldude100

    How do I implement a python widget into an html website?

    Hello, my name is Grayson. I am a beginner coder. I was wondering if there was a command that could make a widget in my html website that was a python script. Just wondering.
  3. Cooldude100

    Invalid syntax on html?

    Hello, my name is Grayson. I am a beginner coder who is twelve years old. I took this code from a website: <!DOCTYPE Html> <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html> And it put out this error: File "C:\Users\grays\OneDrive\Desktop\Test.html", line 1...
  4. R

    Python InactiveRpcError failed to connect to all addresses

    Hi I am trying to write a test grpc client and service in python. When I use an insecure channel, everything works stably, but if I try to establish a tls connection, an error occurs. To write code and create a chain of certificates, I used this guide.How can I make this example work? grpcio...
  5. proompter

    Getting started w/ Python FastAPI Tutorial

    Hey guys, I've just created a new channel where I'm going to cover Full Stack related topics extensively, including Python. Content isn't being monitized at the time of posting this so this is 100% free, hopefully you will learn a thing or two :) If you can like, comment, share and subscribe I'd...
  6. Louis2675

    Python What are some interesting physics-related topics for an 11th grade Python presentation?

    Hi there, I have a presentation to make for my physics class (11th grade). My teacher told me I can choose any topic but with two main conditions : The topic must have a link with physics I need to make a Python program linked to it Therefore my problem is : I have no idea about what topic...
  7. Kaworu

    Python Python gettext – I am afraid I do not know how to use that.

    Hi! I found this tutorial for using gettext with Python. I am in this step: $ pygettext.py -d base -o locales/base.pot src/main.py My locales are located in a folder like that: C:\Users\DELL\Desktop\gettext-learning\locales [The folder gettext-learning also contain main.py file, which is...
  8. S

    Python Chromedriver Automated image downloader not working.

    import os import time import requests from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By from selenium.webdriver.chrome.service import Service # Prompt user for search term and number of images to download search_term =...
  9. skifli

    Python Feedback on snake game.

    Hey, For fun I challenged myself to make a snake game in Python entirely in the console without any external libraries (apart from `colorama` and `pynput`). I was wondering if anyone might have any feedback on the game's code, specifically in ways to simplify the code. The code isn't that well...
  10. T

    Python PoS system

    Im creating a simple PoS system on python using tk for my GUI, so far i have made a log allowing access to the code and a menu system to go with it. I have also made a SQL database to keep item descriptions linking it to the GUI to create buttons My issues/criteria: i need the total price...
  11. F

    Python Help needed with back tracking type algorithm

    I am trying to develop a swiss tournament pairing algorithm and I am essentially using a backtracking algorithm that gives a value for each terminal position based on how well it has matched the players. It seems to mostly be working but it will for some reason allow an empty pairing list with a...
  12. kkhhhkk

    Python Write an empty line at the end of my files

    I have the following code that writes out multiple files. I want this code to also write out an empty line at the end of each file produced, I've tried adding ('\n\') inside the loop however it adds an empty line to every line which is annoying i = 0 f = open('innput.txt','r') always_print =...
  13. Hartkeye

    Python Automated report writer

    Hello, i've come up with an idea for my very first project in python, and have some questions about formatting the data in an efficient way prior to writing the code for it. I want to be able to take data from tables i've created in an Excel file, and based on those data points, create a word...
  14. Hartkeye

    Brand new to coding - First project idea?

    Hello! I'm brand new to learning coding (Codewithmosh.com is what I'm currently learning C++ on.) I had an idea for a project that would help lessen my work load at my job. 90% of my work is writing reports. They are all very similar with small differences based on the contact. We write our...
  15. A

    Python Animated heatmap with Seaborn and matplotlib

    Hello everyone ! I’m trying to animate a heatmap for data visualization. (Just to clarify, I am a beginner in coding) The heatmap is generated from a matrix where cells situated at the center of the map take a +1 value at each iteration. I don’t use numpy for the matrix but comprehension...
  16. 8

    Python how to grouping/merge rows in to single row

    Greetings! Actually, I converted the PDF file containing the tables into a Pandas dataframe and then into Excel. Some cells in a PDF document contain multiline text. I've previously converted PDFs into a Pandas dataframe and then into Excel, but in those PDFs, the cells with multiline text had...
  17. U

    Python Error logging into facebook in python selenium

    from facebookUserInfo import username, password from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By import time class Facebook: def __init__(self,username,password): self.browser = webdriver.Chrome()...
  18. F

    Python Need help with my code for a tkinter gui youtube downloader - AttributeError: 'int' object has no attribute 'cget'

    First things first, Im german (strings in german aswell) and a bloody beginner when it comes to coding, but its fun and I want to improve. This code worked perfectly fine until a changed something that made this error appear: AttributeError: 'int' object has no attribute 'cget' The cget...
  19. User8574

    Python How do I remove the background of an image (Pygame)

    I tried using Gimp to make an alpha channel, I tried using convert_alpha(); how do I remove the background of an image on pygame?
Back
Top Bottom