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,925
» Latest member: shirleyjacobs112
» Forum threads: 38,720
» Forum posts: 175,492

Full Statistics

Online Users
There are currently 41 online users.
» 1 Member(s) | 33 Guest(s)
Bing, AOL, AOL, Apple, Mojeek, shirleyjacobs112

Latest Threads
REACH OUT TO FUNDS RETRIE...
Forum: Game Development
Last Post: shirleyjacobs112
Less than 1 minute ago
» Replies: 0
» Views: 1
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 6
» Views: 647
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
9 hours ago
» Replies: 2
» Views: 361
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Yesterday, 11:25 AM
» Replies: 7
» Views: 1,646
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Yesterday, 11:16 AM
» Replies: 4
» Views: 15,577
New to the field
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 08:15 AM
» Replies: 1
» Views: 296
Too much space between gr...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:34 AM
» Replies: 1
» Views: 335
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Sep-13-2025, 06:11 AM
» Replies: 5
» Views: 1,419
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Sep-12-2025, 03:23 PM
» Replies: 4
» Views: 2,388
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-12-2025, 11:09 AM
» Replies: 2
» Views: 1,109

 
  Add NER output to pandas dataframe
Posted by: dg3000 - Apr-22-2024, 08:14 PM - Forum: Data Science - No Replies

I'm trying to write a script that will scan a document and add the extracted information to a dataframe, currently it just prints it and exits. Obvio..... More

Print this item

  Loop through all files in a directory?
Posted by: Winfried - Apr-22-2024, 06:16 PM - Forum: General Coding Help - Replies (10)

Hello,

I need to find all the files located under a given directory, including all the sub-directories it may contain.

Is this a/the right way t..... More

Print this item

  Volume label
Posted by: DPaul - Apr-22-2024, 03:10 PM - Forum: Bar - Replies (3)

Hi,
I would like to do the following:
When I start my search program for prayer cards,
the system looks immediately for availability of the data on t..... More

Print this item

  Made a discord bot game that uses commands but now trying to add buttons
Posted by: Dmcsdiscord - Apr-22-2024, 10:17 AM - Forum: General Coding Help - Replies (1)

Hey guys,

https://pastebin.com/YwTqHbiV —— game working with ! Commands and no buttons

https://pastebin.com/gJWVnGHU ——- game not so working, b..... More

Print this item

  Need help with Allure report
Posted by: Nik1811 - Apr-22-2024, 09:59 AM - Forum: General Coding Help - No Replies

Hi,
I need some help in setting up allure reporting structure into my framework. Can someone please guide where can we add the dependencies and how ..... More

Print this item

  What does .flush do? How can I change this to write to the file?
Posted by: Pedroski55 - Apr-22-2024, 09:28 AM - Forum: General Coding Help - Replies (3)

Looking at using yield, I have this simulated log file: logsim.py

logsim.py has 2 very long lists, ips and docs

ips like this: ips = ['129.194.8..... More

Print this item

  FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries
Posted by: sawtooth500 - Apr-21-2024, 06:16 PM - Forum: General Coding Help - Replies (14)

This is with pandas dataframes. The code works, but I am getting a warning.

[error]C:\Users\thpfs\documents\python\cleaner.py:223: FutureWarning: ..... More

Print this item

  Failing to connect by 'net use'
Posted by: tester_V - Apr-20-2024, 05:34 AM - Forum: General Coding Help - Replies (1)

Greetings to those that still up at this time! Wink
I'm failing to map network shares.
I'm identifying "letters not in use" for a share to mou..... More

Print this item

  Management software with image comparison
Posted by: franc1986 - Apr-19-2024, 09:12 PM - Forum: Web Scraping & Web Development - No Replies

Hi, let me start by saying I'm a beginner.
I wanted to try my hand at this adventure, convinced that with ChatGPT 4 I would be able to do it.
But he..... More

Print this item

Question Using Lists as Dictionary Values
Posted by: bfallert - Apr-19-2024, 08:30 PM - Forum: General Coding Help - Replies (8)

I am trying to use lists as dictionary values. I am running a loop that creates a new list each time and then assigns it to a specific key. The iterat..... More

Print this item

  Pandas Outer merge
Posted by: skollu826 - Apr-19-2024, 07:28 PM - Forum: General Coding Help - Replies (2)

I have two data frames
dataframe 1
col1 col2
1 A
1 B
2 C
5 Z
4 Q

dataframe 2

col1 col2
1 A
1 ..... More

Print this item

  Game "Fluppy bird"
Posted by: nastia_nadashkevich - Apr-19-2024, 04:12 PM - Forum: Game Development - Replies (1)

The problem is that after the bird loses one life, as well as after restarting the game, the pipes do not disappear, so the bird remains in the same p..... More

Print this item

  How does this code create a class?
Posted by: Pedroski55 - Apr-19-2024, 10:56 AM - Forum: General Coding Help - Replies (6)

I don't understand classes in Python!

Why do I get a class like this, without declaring a class??

[python]Employee = type("Employee", (object,),..... More

Print this item

  yield from
Posted by: akbarza - Apr-19-2024, 07:55 AM - Forum: General Coding Help - Replies (4)

hi
in the below code, what is doing yield from? please explain:

[python]#yield_from.py
# from:https://treyhunner.com/2018/04/keyword-argum..... More

Print this item

  questions about dict.get
Posted by: akbarza - Apr-19-2024, 06:21 AM - Forum: General Coding Help - Replies (2)

hi
in the below code:
[python]
#dict_get.py
print(help(dict.get))
'''
Help on method_descriptor:

get(self, key, default=None, /)
Return..... More

Print this item

  convert to bin problem
Posted by: kucingkembar - Apr-19-2024, 02:50 AM - Forum: General Coding Help - Replies (3)

hi, sorry for my bad english,
i tried to create phash compare using "VideoHash"

[python]
#pip install videohash
from videohash import VideoHash..... More

Print this item

  measure diameter of complex structure
Posted by: alminnawi - Apr-18-2024, 10:20 AM - Forum: General Coding Help - No Replies

Hi all,

I have a few complex geometries but for the sake of simplicity lets assume they are random branches of trees (no trunk or leaves) and the b..... More

Print this item

  Cloud computing advice needed
Posted by: sawtooth500 - Apr-17-2024, 07:31 PM - Forum: Data Science - Replies (3)

I'm doing stock backtesting using Python - and I've pretty much maxed the computational abilities of my local machines. So I'm looking for some cloud ..... More

Print this item

  Help with writing monitored data to mysql upon change of one particular variable
Posted by: donottrackmymetadata - Apr-16-2024, 11:28 PM - Forum: General Coding Help - Replies (3)

I am trying to monitor a set of variables which record a product recipe batch and record the final values (or very close to the final values) and writ..... More

Print this item

  Reduce PDF Size
Posted by: bg3075 - Apr-16-2024, 05:21 PM - Forum: Code sharing - No Replies

This code prompts the user for an input & output path/filename, and compresses the original PDF. This is a huge asset when working with PDF images tha..... More

Print this item

  python packaging/ hosted in IIS server
Posted by: manjureka - Apr-16-2024, 10:43 AM - Forum: Web Scraping & Web Development - No Replies

I have developed a website using python Flask which is hosted on IIS and accessible to my team. My question is for security reasons how to package the..... More

Print this item

  Adding a sub menu to a ttk.OptionMrnue ?
Posted by: Robo - Apr-16-2024, 10:31 AM - Forum: GUI - Replies (5)

Hi all,

Can somebody tell me how to add a sub menu to python's ttk.OptionMenu I've created a drop down menu.
but I am unable to fined how to add a..... More

Print this item

  python calculate float plus float is incorrect?
Posted by: sirocawa - Apr-16-2024, 08:06 AM - Forum: General Coding Help - Replies (6)

hi everybody

maybe , try print(27.56+13.78)

I use 3.10.12 and 3.12, get result is 41.339999999999996.
what happend?

Print this item

  Need to get around SSL: CERTIFICATE_VERIFY_FAILED
Posted by: sawtooth500 - Apr-15-2024, 11:18 PM - Forum: General Coding Help - Replies (4)

I'm trying to connect to the API at polygon.io to download historical stock trades data - the below is sample API code provided from polygon.io so it ..... More

Print this item

  Hide CMD call window
Posted by: tester_V - Apr-15-2024, 07:45 PM - Forum: General Coding Help - Replies (8)

Greetings!
Running my script every hour on a windows machine.
The script has a “arp-a” cmd call and a window pops up that is very annoying **angry..... More

Print this item

  Rich output to PDF
Posted by: HEbO61 - Apr-15-2024, 02:26 PM - Forum: General Coding Help - Replies (1)

Is it possible to create an PDF based on Rich output?

Or is there another solution/package in Python to create a PDF with RTF?

Print this item

  Making the tab key work like a tab key
Posted by: jackg - Apr-15-2024, 01:29 PM - Forum: General Coding Help - Replies (3)

Folks,

Is there a way to make the tab key (on the keyboard) work like a tab key? I like to use it to tab over 8 spaces or so per key-hit to align m..... More

Print this item

  Dynamically plotting graphs with matplotlib
Posted by: CAD79 - Apr-15-2024, 10:46 AM - Forum: Data Science - Replies (11)

I'm trying to create an application that formats data from a data logger that I have coded using an Arduino. I have the code finished and the output d..... More

Print this item

  Cubic spline Graph Interpretation how?
Posted by: GREEN369 - Apr-15-2024, 06:51 AM - Forum: Data Science - Replies (1)

Hi Friends,

i am new to python i want to calculate the r2 value for the cubic spline graph and how the results are intercepted from the graph based..... More


Attached Files

Thumbnail(s)
   
Print this item

  library for C but written in Python
Posted by: Skaperen - Apr-15-2024, 02:47 AM - Forum: News and Discussions - Replies (1)

has anyone here ever created a library for C but written in Python? i assume the hardest part is the arguments and their types. is there any particu..... More

Print this item

  Just beginning
Posted by: dalekeel - Apr-15-2024, 01:22 AM - Forum: General Coding Help - Replies (2)

I have downloaded and installed python wins from Microsoft v 3.12.3 using default installation.

I got these three files: the first gen_metadata.py ..... More

Print this item

  Sending a text from Python
Posted by: sawtooth500 - Apr-14-2024, 03:43 AM - Forum: General Coding Help - Replies (2)

My cell phone is on the U.S. carrier Verizon - and I can send a text to myself by emailing XXXYYYZZZZ@vtext.com, where the letters are the placeholder..... More

Print this item

Question Custom importer and errors
Posted by: Fips - Apr-13-2024, 10:10 PM - Forum: General Coding Help - Replies (6)

Hi folks!

I'd like to split my package tree into several IDE projects and build a custom importer to import
'top.child1.child2'
from the director..... More

Print this item

  Seeking advice on dask distributed
Posted by: sawtooth500 - Apr-13-2024, 09:36 PM - Forum: General Coding Help - Replies (4)

I am using python to do stock backtesting for day trading.

I have a function called process_date(datedf), this is passed a pandas dataframe.

T..... More

Print this item

  integrating plot to box
Posted by: zapad - Apr-13-2024, 01:57 PM - Forum: GUI - Replies (5)

Good morning
I am meeting a problem in integrating a matplotlib graph into a tkinter gui:
The program works ok ,but it only appears in the shell co..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  REACH OUT TO FUNDS RETRIE... Less than 1 minute ago shirleyjacobs112 shirleyjacobs112 Game Developm...
  Select Python comment (#)... 1 hour ago SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 9 hours ago fred1232 deanhystad General Codin...
  New to Python and Pygame Yesterday, 11:25 JMcM JMcM Game Developm...
  Python Installation issue Yesterday, 11:16 RFHill Dev News and Disc...
  New to the field Yesterday, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Yesterday, 02:34 RonR deanhystad GUI
  I'm trying to make a piec... 09-13, 06:11 Alislugacool MilesWeb General Codin...
  Seeking feedback: dynamic... 09-12, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... 09-12, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... 09-12, 08:36 physalis2099 Olivia General Codin...
Most views
  The best Prog... 575586
  Tutorial Requ... 496638
  Web Scraping ... 439657
  Newbie with P... 383281
  New Users Int... 364436
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 7366
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
goodness4u Today
shirleyjacobs112 Today
Fobertsmene Yesterday
jeremyn24503 Yesterday
homataheri Yesterday

User Panel Messages

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