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,384
» Latest member: Michaelhauct
» Forum threads: 38,820
» Forum posts: 176,011

Full Statistics

Online Users
There are currently 48 online users.
» 1 Member(s) | 42 Guest(s)
Bing, Google, AOL, Apple, snippsat

Latest Threads
Calling python from anoth...
Forum: General Coding Help
Last Post: bowlofred
20 minutes ago
» Replies: 4
» Views: 95
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Amowtonyl
Today, 10:34 AM
» Replies: 4
» Views: 9,838
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 07:58 AM
» Replies: 2
» Views: 120
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 69
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 118
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,284
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 91
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 748
We open-sourced kubesdk —...
Forum: Code sharing
Last Post: beslanpuzl
Dec-21-2025, 11:52 AM
» Replies: 0
» Views: 153
a function to watch files
Forum: News and Discussions
Last Post: Gribouillis
Dec-21-2025, 07:43 AM
» Replies: 1
» Views: 136

 
  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: 289)
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: 275)
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

  Socket to stream data and tranmit and revieve data
Posted by: kiyoshi7 - Aug-11-2022, 10:52 PM - Forum: Networking - No Replies

Hi, I want to be able to send and receive data between a host and client and stream a video from one computer to another computer outside my network ..... More

Print this item

  Filter and str.isdigit producing an error
Posted by: tester_V - Aug-11-2022, 10:48 PM - Forum: General Coding Help - Replies (5)

Greetings!
It is probably an elementary problem for you but I'm struggling to understand why the snippet below is failing. Confused
I found it ..... More

Print this item

  Finding First Digits in String
Posted by: giddyhead - Aug-11-2022, 10:39 PM - Forum: General Coding Help - Replies (4)

Hello Everyone, I am currently having a problem with capturing numbers at the end of the h3 tags highlighted in red and the bold and italics are the n..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Calling python from anoth... 20 minutes ago eedjsa bowlofred General Codin...
  Lottery generator (beginn... Today, 10:34 Hullari Amowtonyl General Codin...
  [split] How to ask Smart ... Yesterday, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
  a function to watch files 12-21, 07:43 Skaperen Gribouillis News and Disc...
  Spaces in string 12-19, 13:04 Mallard Mallard General Codin...
Most views
  The best Prog... 580324
  Tutorial Requ... 518776
  Web Scraping ... 442752
  Newbie with P... 386936
  New Users Int... 385997
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 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Michaelhauct Today
eedjsa Today
byanfrances6176 Today
Amowtonyl Today
sofiadavis1840 Today

User Panel Messages

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