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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,345
» Latest member: zaianttsz8104
» Forum threads: 38,811
» Forum posts: 175,970

Full Statistics

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

Latest Threads
Can't get keyboard.librar...
Forum: General Coding Help
Last Post: jogl
40 minutes ago
» Replies: 0
» Views: 9
i need help pls
Forum: Game Development
Last Post: zaianttsz8104
4 hours ago
» Replies: 3
» Views: 7,104
Larger GUI Program Oragan...
Forum: GUI
Last Post: MilesWeb
Yesterday, 07:14 AM
» Replies: 2
» Views: 409
500 Internal Server error...
Forum: Web Scraping & Web Development
Last Post: MilesWeb
Yesterday, 07:05 AM
» Replies: 5
» Views: 2,615
division error
Forum: General Coding Help
Last Post: deanhystad
Dec-12-2025, 11:55 PM
» Replies: 2
» Views: 197
"with open(os.path.join(a...
Forum: General Coding Help
Last Post: uek67
Dec-12-2025, 01:13 PM
» Replies: 13
» Views: 602
Albert is Hiring: Remote ...
Forum: Jobs
Last Post: prachi01
Dec-12-2025, 10:55 AM
» Replies: 1
» Views: 1,340
Looking for new hosting s...
Forum: Bar
Last Post: DeaD_EyE
Dec-09-2025, 02:30 PM
» Replies: 16
» Views: 11,143
Optimization Software Eng...
Forum: Jobs
Last Post: bicop
Dec-09-2025, 11:51 AM
» Replies: 0
» Views: 92
scipy.optimize.curve_fit ...
Forum: Data Science
Last Post: willflanagan
Dec-08-2025, 10:02 PM
» Replies: 0
» Views: 122

 
  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

  threading native_id returning same value for all threads
Posted by: billykid999 - May-04-2023, 02:54 AM - Forum: General Coding Help - Replies (2)

So I'm running some code and trying to thread it. I'm getting se same propery_id/ object_id for each thread when I run it, which to me says the same..... More

Print this item

  Confusion with Sunrise and Sunset Output
Posted by: nikocabs - May-03-2023, 06:28 PM - Forum: Homework - Replies (1)

hello. i am confused with my sunrise and sunset coding because i think the output is wrong. the output was sunrise was in 12 pm and the sunset was in ..... More

Print this item

Information Showing trendline formula in a table per product
Posted by: Carlossxx - May-03-2023, 08:33 AM - Forum: General Coding Help - No Replies

Hi all,

I have a Python script running in Power BI desktop that shows a scatter plot with a exponential and linear trendline. Also it shows the formu..... More

Print this item

  add svg to 2 thread program and display tabel in GUI
Posted by: Nietzsche - May-03-2023, 06:33 AM - Forum: General Coding Help - Replies (5)

Hello,

at the moment my program show an GUI in a thread and in the other thread i get some data via BLE in an array. Now i want to display the dat..... More

Print this item

  Concurrent futures threading running at same speed as non-threading
Posted by: billykid999 - May-03-2023, 03:27 AM - Forum: General Coding Help - Replies (13)

I''m doing I/O reads from network devices using netmiko. using a threading context runs the exact same speed as non threading, I'm not sure if it is ..... More

Print this item

  Merge two functions to one
Posted by: SamLiu - May-03-2023, 03:07 AM - Forum: General Coding Help - Replies (4)

Hi all,
I want to compare with the limit and assign different text colors as below two functions.
How to merge two functions(compared_Sens & compare..... More

Print this item

  Python development environment
Posted by: standenman - May-03-2023, 02:28 AM - Forum: General Coding Help - Replies (3)

I am having horrible problems with using Python on my Windows machine. I want to try scispacy out and I cannot get it to install. I am wondering if ..... More

Print this item

  Difficulty with installation
Posted by: standenman - May-02-2023, 08:33 PM - Forum: General Coding Help - No Replies

I am having trouble with my python installation. i have installed python at C:\Users\stand\AppData\Local\Programs\Python\Python311\. I have an envir..... More

Print this item

  Difficulty with installation
Posted by: standenman - May-02-2023, 08:33 PM - Forum: General Coding Help - Replies (2)

I am having trouble with my python installation. i have installed python at C:\Users\stand\AppData\Local\Programs\Python\Python311\. I have an envir..... More

Print this item

Sad Regular Expressions - so close yet so far
Posted by: bigpapa - May-02-2023, 07:01 PM - Forum: General Coding Help - Replies (5)

Hi all,

So I have this code below that filters the weight column in a data frame. And I want to remove the : and ; in-front of the n..... More

Print this item

  Pytrends related querie & suggestion limitations
Posted by: cmg15326 - May-02-2023, 03:47 PM - Forum: General Coding Help - No Replies

Hey! So I learned that Pytrends has its limits regarding keywords that you can search and filter for. I also learned that you can bypass that with mul..... More

Print this item

  Read 2 Value with bleak via BLE notify from ESP32
Posted by: Nietzsche - May-02-2023, 12:16 PM - Forum: General Coding Help - Replies (7)

Hello, when I read out 2 characteristics via Bleak and BLE, via the command:

[python]async def notification_handler(sender, data, callback):
spo..... More

Print this item

  Initiating an attribute in a class __init__: question
Posted by: billykid999 - May-02-2023, 04:09 AM - Forum: General Coding Help - Replies (8)

When I write my below code everything works fine:
[python]class HardwareMaintenance:
info_dict = dict()
def __init__(self):
pass
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Can't get keyboard.librar... 40 minutes ago jogl jogl General Codin...
  [PyGame] i need help pls 4 hours ago augusto_A zaianttsz8104 Game Developm...
  Larger GUI Program Oragan... Yesterday, 07:14 Tuurbo46 MilesWeb GUI
  500 Internal Server error... Yesterday, 07:05 ppowell777 MilesWeb Web Scraping ...
  division error 12-12, 23:55 nathanael deanhystad General Codin...
  "with open(os.path.join(a... 12-12, 13:13 uek67 uek67 General Codin...
  Albert is Hiring: Remote ... 12-12, 10:55 AlbertApp prachi01 Jobs
  Looking for new hosting s... 12-09, 14:30 Larz60+ DeaD_EyE Bar
  Optimization Software Eng... 12-09, 11:51 bicop bicop Jobs
  scipy.optimize.curve_fit ... 12-08, 22:02 willflanagan willflanagan Data Science
  Iterator and/or generator... 12-08, 16:30 mogplus8 noisefloor General Codin...
Most views
  The best Prog... 579960
  Tutorial Requ... 515790
  Web Scraping ... 442573
  Newbie with P... 386800
  New Users Int... 383662
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12117
buran 8197
snippsat 7395
deanhystad 6918
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
zaianttsz8104 Yesterday
Tarmodes Yesterday
chris1465 Yesterday
brynjunioro6907 Yesterday
MatthewRodia 12-12

User Panel Messages

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