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,932
» Latest member: XenonBlack
» Forum threads: 38,721
» Forum posts: 175,502

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 38 Guest(s)
Applebot, Bing, Google, AOL, AOL, Mojeek, Facebook

Latest Threads
Too much space between gr...
Forum: GUI
Last Post: RonR
5 hours ago
» Replies: 2
» Views: 873
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
8 hours ago
» Replies: 0
» Views: 49
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Today, 07:07 AM
» Replies: 1
» Views: 353
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,460
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,525
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 392
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 123
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,900
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,154
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 839

 
  Flask run function in background and auto refresh page
Posted by: raossabe - Aug-17-2022, 11:44 AM - Forum: Web Scraping & Web Development - Replies (2)

I'm trying to get a function to run in the background when accessing my flask application then update the content of the page when the function is com..... More

Print this item

  Readability in Python and PHP
Posted by: ankitdixit - Aug-17-2022, 10:08 AM - Forum: News and Discussions - Replies (1)

Hello All, I am working on a python project and I have 2+ years of experience in PHP. I want to know which programming language readability is more ea..... More

Print this item

  How to split the input taken from user into a single character?
Posted by: mHosseinDS86 - Aug-17-2022, 09:53 AM - Forum: General Coding Help - Replies (3)

Hi there everyone,
Hope you guys are doing awesome coding! I'm new and learning python. I just wanted to ask you guys that I want to take the input f..... More

Print this item

  Setting up and integrating Jupyter Notebook development environment with VSC
Posted by: Drone4four - Aug-17-2022, 02:02 AM - Forum: Data Science - Replies (3)

Hello Pythonistas!

I am trying to set up the Jupyter Notebook extension for VSCode but I can’t get my code snippets to run.

If you check out th..... More

Print this item

  I get "N/A" labels when implementing object detection
Posted by: hobbyist - Aug-16-2022, 05:41 PM - Forum: Data Science - No Replies

I am following this tutorial: https://tensorflow-object-detection-api-...ining.html And after training I use code fo..... More

Print this item

  KeyError: 2
Posted by: stsxbel - Aug-16-2022, 04:15 PM - Forum: General Coding Help - Replies (8)

Good evening, the second day I struggle with the code, then there is no entry in the database, then the error is KeyError: 2

[python]import struct..... More

Print this item

  can't get collision detection to work in platform game
Posted by: chairmanme0wme0w - Aug-16-2022, 12:18 PM - Forum: Game Development - Replies (10)

the code isnt producing any errors, but the player just falls through the ground and platforms i set up, im not sure what the problem is!! any help wo..... More

Print this item

  is there equal syntax to "dir /s /b"
Posted by: kucingkembar - Aug-16-2022, 07:22 AM - Forum: General Coding Help - Replies (2)

sorry for my bad English,
currently i looking all files in a folder and subfolder like "dir /s /b" in windows-cmd
[python]D:\test>dir /s /b
D:\tes..... More

Print this item

  Python Desktop GUI (part 2)
Posted by: panofish - Aug-15-2022, 11:15 PM - Forum: GUI - Replies (1)

This is the second video in my series on building a Windows Desktop application using python. In this video, I focus on building the static layout in ..... More

Print this item

  Failing regex
Posted by: tester_V - Aug-15-2022, 09:50 PM - Forum: General Coding Help - Replies (3)

Greetings!
I'm trying to find strings with a particular word(s).
Here are the words:
BG13TPPVxxxx -- where xxxx are the 4 digits
BG13TPPVxxxx(B or..... More

Print this item

  renaming the 0 column in a dataframe
Posted by: Led_Zeppelin - Aug-15-2022, 05:54 PM - Forum: General Coding Help - Replies (5)

In the following screenshot, I am trying to rename the first column (0th column) in the df2 dataframe to IndexData. The python code is shown to do thi..... More


Attached Files

Thumbnail(s)
   
Print this item

  How can I run sql file in python?
Posted by: korenron - Aug-15-2022, 01:39 PM - Forum: Data Science - Replies (7)

Hello,
I have a sql file with ~ 50 lines of update\delete\set commands
everything is config to work according to the router ID
[python]set @ID = ..... More

Print this item

  Need help Understanding JSON
Posted by: quarinteen - Aug-15-2022, 01:29 PM - Forum: General Coding Help - Replies (3)

Hello, I am not very good with python currently. I am trying to pull data from a json file. I have found seeral examples but nothing seems to work for..... More

Print this item

  Randomize in tables
Posted by: mariavol - Aug-15-2022, 07:46 AM - Forum: General Coding Help - Replies (4)

Hello!
I am wondering whether there is an opportunity for choosing random names with some conditions. I read about diffierent random functions from r..... More

Print this item

  How to send a pong on websocket-client
Posted by: tomtom - Aug-15-2022, 05:47 AM - Forum: General Coding Help - No Replies

I have made a request to Binance websocket using the python websocket client, but the problem is that the websocket connection use to disconnect autom..... More


Attached Files

Thumbnail(s)
   
Print this item

  Passing Request objects to a serializer in DRF
Posted by: Dexty - Aug-15-2022, 04:51 AM - Forum: Web Scraping & Web Development - No Replies

I have a stand-alone app and a corresponding api. The idea is to consume the api in a browser extension. I can utilize the objects from a GET request ..... More

Print this item

Heart Yahoo email "search and destroy"!
Posted by: Linh_lee - Aug-15-2022, 04:24 AM - Forum: General Coding Help - Replies (20)

Greetings friends,

My first post, very new to programing, and I must also tell you I'm fascinated and in love with Python!! Heart

My email..... More

Print this item

  How do I use a whl puython distribution?
Posted by: barryjo - Aug-14-2022, 09:45 PM - Forum: General Coding Help - Replies (6)

I just downloaded an orbit prediction package called orbit_predictor-1.15.0.py3-none-any.whl.
How do I go about converting this file into python file..... More

Print this item

  Function not executing each file in folder
Posted by: mathew_31 - Aug-14-2022, 07:20 PM - Forum: General Coding Help - Replies (9)

Hi forum I'm new at coding, I have created a code that reads in a .docx file. In that code I have a function that executes a search, assigns it to a v..... More


Attached Files

.py   CAT.py (Size: 3.8 KB / Downloads: 274)
Print this item

  color column in mail html df
Posted by: bnadir55 - Aug-14-2022, 07:11 AM - Forum: General Coding Help - No Replies

I have a df that I want to send as to_html in the mail, this df carries columns and one of them is called column A, how can I color this entire column..... More

Print this item

  how can a function find the name by which it is called?
Posted by: Skaperen - Aug-14-2022, 12:40 AM - Forum: General Coding Help - Replies (18)

how can a function find the name by which it is called?

Print this item

  Use of IdnexData on datafile
Posted by: Led_Zeppelin - Aug-14-2022, 12:25 AM - Forum: General Coding Help - No Replies

The following snippet of code I want to use to create a plot.

[code]
plt.figure(figsize(20, 8))
plt.plot(IndexData['sensor_01'], labels='sensor_0..... More


Attached Files

Thumbnail(s)
           
Print this item

  access is denied error 5 for network drive mapping ?
Posted by: ahmedbarbary - Aug-13-2022, 10:17 PM - Forum: General Coding Help - Replies (2)

I working on script running on sql server 2019 using python 3.10 .

I have directory path \\192.168.7.9\Import\8 as mapped network drive and can
wr..... More

Print this item

  function returns dataframe as list
Posted by: harum - Aug-13-2022, 08:04 PM - Forum: General Coding Help - Replies (2)

Hello, I have a function that takes a dataframe as an argument and returns a modified dataframe; and the modified dataframe is a dataframe object as c..... More

Print this item

  python version
Posted by: pygamegirl - Aug-13-2022, 04:16 PM - Forum: Game Development - Replies (1)

Hi

I'm using pycharm community edition on windows 10 and trying to install pygame.
Do I need to use a specific python version (I have latest versi..... More

Print this item

  A.I. script from facebookresearch end-to-end-negotiator
Posted by: beoswind - Aug-13-2022, 11:43 AM - Forum: Data Science - No Replies

I try to run script in Python from:

https://github.com/facebookresearch/end-to-end-n[url=https://python-forum.io/thread-37950.html]..... More


Attached Files

.zip   selection_model.zip (Size: 23.97 KB / Downloads: 0)
Print this item

  function to untabify
Posted by: Skaperen - Aug-12-2022, 05:29 PM - Forum: News and Discussions - Replies (3)

is there a function that comes with Python that can untabify a line of text that is UTF-8 encoded? it should have a parameter for the tab size and/or..... More

Print this item

  Calculate the sum of the differences inside tuple
Posted by: PUP280 - Aug-12-2022, 04:10 PM - Forum: General Coding Help - Replies (4)

Hello everyone,

I would like to calculate the sum of the differences between each value for each tuple. For instance :

(4,7,9) would give 3 (7-4..... More

Print this item

  Updating Tkinter label using multiprocessing
Posted by: Agusms - Aug-12-2022, 02:31 PM - Forum: GUI - Replies (6)

Hi!
I'm having trouble updating a label depending on a result from a function from one of the two processes I'm running. I'm trying using Queues, but..... More

Print this item

  Python Hates me
Posted by: quarinteen - Aug-12-2022, 02:08 PM - Forum: General Coding Help - Replies (4)

I am having the hardest time getting anything to work in python. I am not very familiar with it. I know c# fairly well. I am trying to open a json fil..... More

Print this item

  Graphic line plot with matplotlib, text file in pytho
Posted by: khadija - Aug-12-2022, 01:43 PM - Forum: General Coding Help - Replies (2)

hello, I want to display a graph using data from a text file with matplotlib and I am having some problems. Data is sent and received via sockets and ..... More

Print this item

  Shoud we use PIL or Pillow?
Posted by: Gribouillis - Aug-12-2022, 01:34 PM - Forum: News and Discussions - Replies (3)

Which of the two should we use and why?

My Kubuntu 22.04 OS comes with python3-pil installed. Can I install python3-pillow and use both of them?

Print this item

  Load multiple Jason data in one Data Frame
Posted by: vijays3 - Aug-12-2022, 04:29 AM - Forum: General Coding Help - Replies (6)

Hi All

I need your guidance :

I have three Jason files which in my local drive which need to be loaded in one data frame so that I can do the fu..... More


Attached Files

Thumbnail(s)
   

.zip   JsonFiles.zip (Size: 38.4 KB / Downloads: 254)
Print this item

  conditionals based on data frame
Posted by: mbrown009 - Aug-12-2022, 01:41 AM - Forum: General Coding Help - Replies (1)

I want to do an if/else statement when it comes to a value in the data frame via panadas. The issue is that when I do this the variables within are lo..... More

Print this item

  Python icons in Ubuntu
Posted by: KatManDEW - Aug-12-2022, 01:20 AM - Forum: General Coding Help - Replies (4)

I have some Python files that run when I double click on them, but I have others that have a different icon and they won't run when I double click on ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Too much space ... 5 hours ago RonR RonR GUI
  How Reliable Is Assignmen... 8 hours ago tobey12 tobey12 News and Disc...
  Another app idea - intera... Today, 07:07 decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 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... 575823
  Tutorial Requ... 497098
  Web Scraping ... 439832
  Newbie with P... 383532
  New Users Int... 365423
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 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
XenonBlack Today
tobey12 Today
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday

User Panel Messages

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