Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,933
» Latest member: Sterlin
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

Online Users
There are currently 46 online users.
» 0 Member(s) | 38 Guest(s)
Google, AOL, Bing, AOL, Twitter

Latest Threads
Sports Betting Game Devel...
Forum: Game Development
Last Post: Sterlin
53 minutes ago
» Replies: 0
» Views: 9
Too much space between gr...
Forum: GUI
Last Post: deanhystad
10 hours ago
» Replies: 3
» Views: 945
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 387
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-15-2025, 08:58 PM
» Replies: 8
» Views: 2,541
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,567
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 466
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 145
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 2,970
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,214
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 894

 
  function on a different tab ?
Posted by: trix - May-12-2023, 04:28 PM - Forum: General Coding Help - Replies (30)

hello,

i,m programming a raspberry pi pico with the thonny IDE

its gonna be a big programm Smile
so i want to create some c..... More

Print this item

  Installation problems
Posted by: standenman - May-12-2023, 01:59 PM - Forum: Data Science - Replies (4)

I am having terrible problems with using python. I have installed Python 3.11.3. I have created a virtual environment. I activate the environment a..... More

Print this item

  Python script running under windows over nssm.exe
Posted by: JaroslavZ - May-12-2023, 09:22 AM - Forum: General Coding Help - No Replies

I have a python script that runs inside this command:

subprocess.run([driver, '/print:printer=' + printer, filename])
If the sc..... More


Attached Files

.py   PrinterBridge.py (Size: 3.1 KB / Downloads: 226)
Print this item

  Trying to understand global variables
Posted by: 357mag - May-12-2023, 04:40 AM - Forum: General Coding Help - Replies (5)

Just learning about using a global variable. I have this going:
[python]
x = 4

def show_value():
print('Value of x: '+ str(x))
# x += 3..... More

Print this item

  [split] plt.style() in matplotlib causes error
Posted by: olufaruqu - May-11-2023, 04:45 PM - Forum: Data Science - Replies (4)

Dear Team

I tried running the below command on my anaconda prompt in one of a serial steps to install jupyter-matplotlib with a self paced video b..... More

Print this item

  Raspberry PI with DHT22 Sensors
Posted by: itpilot - May-11-2023, 09:41 AM - Forum: General Coding Help - Replies (6)

guys please can you help the noob

i have connected 6 x DHT22 Temperature and Humidity Sensors on my Raspberry PI 4

I am g..... More

Print this item

  Error coming
Posted by: PKT - May-11-2023, 09:06 AM - Forum: GUI - Replies (1)

Hi,

I am write program on python program & it is running perfectly.

Now i tried to create exe file using pyinstaller.

exe file created but no..... More

Print this item

  double keyed dictionaries
Posted by: Skaperen - May-11-2023, 02:53 AM - Forum: News and Discussions - Replies (2)

in many cases i need to go both ways in references held by a dictionary. i very often use the same one dictionary when i know the keys each way will ..... More

Print this item

  Master thesis research: A Python version update behavior survey
Posted by: AJB96 - May-10-2023, 04:56 PM - Forum: Bar - Replies (2)

Hi there!

I am currently writing my Master thesis research project related to Python.

The ultimate goal of the project is to explore and underst..... More

Print this item

  Failure in the Code to integrate via API Holded (accounting system) to Excel.
Posted by: maicolvela - May-10-2023, 01:08 PM - Forum: Web Scraping & Web Development - Replies (1)

My code fails and I can't find or fix the errors, could you help me please.

[python]import requests
import pandas as pd

# URL para obtener el a..... More

Print this item

  Understanding venv; How do I ensure my python script uses the environment every time?
Posted by: Calab - May-09-2023, 09:49 PM - Forum: General Coding Help - Replies (1)

I have several python scripts. Each script starts with a shebang line of #!/usr/local/bin/python3. To execute my scripts I simply enter ./scriptname.p..... More

Print this item

Thumbs Down I hate "List index out of range"
Posted by: Melen - May-09-2023, 09:44 PM - Forum: General Coding Help - Replies (20)

Hello!

I have a question, but please don't give me the answer. I'm just looking for some tips. I'm new to Python, and I'm posting here because I ca..... More

Print this item

  API Request / JSON
Posted by: illmattic - May-09-2023, 01:45 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello,

I am having difficulty pulling data from an API which says that parameter content needs to be application/json. Here is the link to the the ..... More

Print this item

  html module in python 3.6.8
Posted by: suifra - May-09-2023, 07:24 AM - Forum: General Coding Help - Replies (9)

I am new to Python and stuck in an issue, have researched in stackoverflow but couldnt get an answer. The problem statement is as below.

Problem: I..... More

Print this item

  It seems you have to define functions at the top
Posted by: 357mag - May-09-2023, 04:17 AM - Forum: General Coding Help - Replies (7)

I wrote a program that defines two functions: one function squares an integer and the other function cubes it.

When I put the function definitions ..... More

Print this item

  Splitting PDF at Bookmark level 2
Posted by: standenman - May-08-2023, 07:20 PM - Forum: Data Science - Replies (10)

I am trying to split a pdf document at the second bookmark level Here is my code:

[python]import os
import PyPDF2

# Open the PDF file
input_p..... More

Print this item

  New to python/coding Need help on Understanding why this code isn't working. Thanks!
Posted by: mat3372 - May-08-2023, 08:51 AM - Forum: General Coding Help - Replies (8)

Hi all! I am new to python and coding in general. I am following along in a book and have come across code that the(interpreter/compiler **not sure wh..... More

Print this item

  Django images will not load
Posted by: pythonpaul32 - May-08-2023, 02:39 AM - Forum: Web Scraping & Web Development - Replies (3)

I am trying to make a hotel reservation app, but my images will not load. I am using Django and Bootstrap

I have my pictures in a media directory i..... More

Print this item

  why do we need dict.get() ?
Posted by: Skaperen - May-06-2023, 11:55 PM - Forum: News and Discussions - Replies (10)

dict instances have a .get() method that is similar to the .pop() they also have, except nothing is removed and the ..... More

Print this item

  Monitoring a Directory for new mkv and mp4 Files
Posted by: lastyle - May-06-2023, 11:42 PM - Forum: General Coding Help - Replies (3)

Hi all,

i wanted to code a Monitor that observes a Folder and it`s subfolders for new mkv and mp4 Files. But when i add a File to the Folder the Ro..... More

Print this item

  Organizing several similar classes with overlapping variables
Posted by: 6hearts - May-06-2023, 09:24 PM - Forum: General Coding Help - Replies (7)

I am struggling for weeks now how to structarize a bunch of classes that have several similarities.
Perhaps the best analogy would be a class represen..... More

Print this item

  Function to Select a Date
Posted by: standenman - May-06-2023, 07:11 PM - Forum: Data Science - Replies (2)

I am attempting to create a function that would load a set of medical records and determine what was the date of treatment. Any given page of a medic..... More

Print this item

  Output File ?
Posted by: Kessie1971 - May-06-2023, 03:04 PM - Forum: Homework - Replies (11)

Hello I try to find the top 10 albums in the chinook database 18

Print this item

  Selenium Webdriver Python — ERR_NO_SUPPORTED_PROXIES
Posted by: TimofeyKolpakov - May-06-2023, 02:11 PM - Forum: General Coding Help - No Replies

Hello everyone! I'm having an issue. When I run the code and the browser launches, the browser gives an error message saying "ERR_NO_SUPPORTED_PROXIES..... More

Print this item

  Pygmae big problems with gamescore and fps
Posted by: wired98 - May-05-2023, 10:26 PM - Forum: Game Development - Replies (5)

Hey im very new to python and programming at this moment space invaders(my first project)

I have made it in star wars theme with little death stars..... More

Print this item

  Please help me.
Posted by: SuchUmami - May-05-2023, 05:15 PM - Forum: General Coding Help - Replies (12)

Hi.

I have a piece of code that will get a lot of information. My problem is that I just want to use one piece of information out of the data. It l..... More

Print this item

  Adding libraries to embedded Python as a ZIP
Posted by: The_Oman - May-05-2023, 04:05 PM - Forum: General Coding Help - No Replies

Python 3.8.10 for Windows x64

We have been using the base embedded Python 3.8 with success. We now need to add some additional libraries to the ins..... More

Print this item

  what i am doing wrong ?(
Posted by: lbaskin3 - May-05-2023, 12:24 PM - Forum: Homework - Replies (3)

[python]print(r"""
Switching on the camera in the camel habitat...
___.-''''-.
/___ @ |
',,,,. | _.'''''''._
' | ..... More

Print this item

  Structuring a large class: privite vs public methods
Posted by: 6hearts - May-05-2023, 06:56 AM - Forum: General Coding Help - Replies (3)

I am developing a bigger project that includes some data structures as classes and various functions/operations that computes with the structure of mo..... More

Print this item

  Kivy App - Python3 script to Android app (opencv)
Posted by: jttolleson - May-04-2023, 08:18 PM - Forum: General Coding Help - Replies (7)

Hello all, i am Jayson...
I have really gotten into flask because of this forum and am also starting to make android apps with my scripts
in P4a w b..... More

Print this item

  Using BeautifulSoup: Getting only First Result. Also, trouble with nesting.
Posted by: polkadot - May-04-2023, 06:51 PM - Forum: Web Scraping & Web Development - Replies (1)

From this site https://azure.microsoft.com/en-us/products/ I'm trying to extract all products and product descriptions per category so that category/c..... More

Print this item

  How do I extract information from this dataset?
Posted by: SuchUmami - May-04-2023, 02:32 PM - Forum: General Coding Help - No Replies

I wrote this code which loops around to extract the moving averages for different currency pairs on timeframes:

[python]import krakenex
import pan..... More

Print this item

  Formatting float number output
Posted by: barryjo - May-04-2023, 01:39 PM - Forum: General Coding Help - Replies (2)

Is there a way to globally set the output of printed floats to 2 decimal places?
I would rather not have to use..print('{:010.4f}'.format(x)) for eac..... More

Print this item

  How do I change the location of the _ versions directory?
Posted by: Stas43 - May-04-2023, 07:52 AM - Forum: Web Scraping & Web Development - Replies (1)

(Sorry for google translator)
When working together Django + TinyMCE + django-filebrowser + grappelli +... image thumbnails are created in the [b]_ve..... More

Print this item

  [split] How to resolve version conflicts in Python?
Posted by: atonalwilson - May-04-2023, 05:11 AM - Forum: General Coding Help - Replies (1)

In the official Python client, every object of the RiakObject class has a siblings property that provides access to a list of an object’s sibling valu..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Sports Betting Game Devel... 53 minutes ago Sterlin Sterlin Game Developm...
  [Tkinter] Too much space ... 10 hours ago RonR deanhystad GUI
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  403 Error 09-15, 20:58 CaptainNewb snippsat Web Scraping ...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575851
  Tutorial Requ... 497189
  Web Scraping ... 439848
  Newbie with P... 383566
  New Users Int... 365607
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Sterlin Today
krish12 Today
XenonBlack Yesterday
Lenowell Yesterday
luisshulez6883 09-15

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020