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,389
» Latest member: atalieyandext4063
» Forum threads: 38,821
» Forum posts: 176,018

Full Statistics

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

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 06:21 PM
» Replies: 1
» Views: 54
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Yesterday, 04:06 PM
» Replies: 9
» Views: 229
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,066
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,892
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 137
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 82
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 146
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,295
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 107
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 756

 
  automate new PDF creation with Bookmarks Based up Regex
Posted by: standenman - Jan-16-2023, 03:19 PM - Forum: General Coding Help - No Replies

I am seeking to create some functionality to recasting a PDF file of medical records. The date of treatment or visit is very important and I will lik..... More

Print this item

  Set string in custom format
Posted by: korenron - Jan-16-2023, 12:26 PM - Forum: General Coding Help - Replies (4)

Hello,
wanted to know how can I do the following :

I have a function the return 8 digits(as string)

12345678
I want to return..... More

Print this item

  Question on dir() function
Posted by: Soorya25 - Jan-16-2023, 11:55 AM - Forum: General Coding Help - Replies (1)

I have the following code which uses dir() function.

Want to know why dir() function is used here.
[img]https://appdividend.com/wp-content/uploads..... More


Attached Files

Thumbnail(s)
   
Print this item

  Very simple question about filenames and backslashes!
Posted by: garynewport - Jan-16-2023, 11:38 AM - Forum: General Coding Help - Replies (4)

I have a string of a filename, that contains the entire path.

I want to remove the file extension and capture only the filename.

I have reversed..... More

Print this item

  Retrieve website content using Python?
Posted by: Vadanane - Jan-16-2023, 09:13 AM - Forum: Web Scraping & Web Development - Replies (1)

If it helps, I'm using Python version 3.1.

This site has good users, and I'm sure you can help me. Anyway, I am trying to access the content..... More

Print this item

  Extracting tables and text above the table from a PDF to CSV
Posted by: DivAsh - Jan-16-2023, 08:03 AM - Forum: Data Science - Replies (3)

Hi

I have a PDF file from where i need to extract all the tables and also the text above the tables and output the results to a csv file.By using t..... More


Attached Files

.pdf   Input.pdf (Size: 52.29 KB / Downloads: 7)
Print this item

  wxPython install error
Posted by: carlomscalisi - Jan-16-2023, 12:49 AM - Forum: General Coding Help - Replies (3)

Complete Rookie, seriously.

I am attempting to install wxPython via pip on my Mac, running Mojave 10.14.6, but it's not working. Any help would be..... More


Attached Files

.pdf   Terminal Output.pdf (Size: 67.79 KB / Downloads: 456)
Print this item

  How to convert .trc/.txt file into excel using python
Posted by: ebola - Jan-15-2023, 09:46 PM - Forum: Homework - Replies (3)

I want to convert .trc file (image 1) into excel(image 2). Once it is converted to excel I want a command prompt to open up asking 'Select the model t..... More


Attached Files

Thumbnail(s)
           
Print this item

  Pygame Snake Game Help Please
Posted by: Beginnerprogrammer6 - Jan-15-2023, 09:45 PM - Forum: Homework - No Replies

My computer science assignment is creating a snake game using pygame and I have to use images for my sprites. I don't know how to move the images of t..... More

Print this item

  how do I fix an index error?
Posted by: MehHz2526 - Jan-15-2023, 08:01 PM - Forum: Homework - Replies (1)

I know what an index error is, but all my variables are numbered correctly from 0 to 5 but I still have an index error. I think that the main problem ..... More

Print this item

  Syntax error? I don't see it
Posted by: KenHorse - Jan-15-2023, 06:35 PM - Forum: General Coding Help - Replies (4)

Python 3.9.2

I keep getting a syntax error and for the life of me, I don't see it:

[quote]root@piZERO:~/bin# ./npwAgent.py
File "/root/bin/np..... More

Print this item

  Is there a way to determine if a radio button has been selected?
Posted by: TWB - Jan-15-2023, 04:11 PM - Forum: GUI - Replies (5)

Hello, as Im now to Python any help is appreciated
My goal is to determine if a radio button has been selected, to help troubleshoot I have created a..... More

Print this item

  Weird behaviour using if statement in python 3.10.8
Posted by: mikepy - Jan-15-2023, 02:57 PM - Forum: General Coding Help - Replies (23)

Hello, can someone explain me this wired behavior? At the if statement which you can see in the screenshot, despite if 1==2 (for test only) is false, ..... More

Print this item

  try catch not working?
Posted by: korenron - Jan-15-2023, 01:29 PM - Forum: General Coding Help - Replies (2)

Hello,
I have this code for checking modem connection

[python]import os
import sys
import time
import datetime
import requests
import thread..... More

Print this item

  compare and find the nearest element ?
Posted by: mr_gentle_sausage - Jan-14-2023, 09:32 PM - Forum: General Coding Help - Replies (4)

hello,
I need a little help, I have a list (element has 2 elements(X and Y)), and I need to find, in this list, which element is the nearest of my mo..... More

Print this item

  Where's my .py file?
Posted by: hansemso - Jan-13-2023, 10:40 PM - Forum: General Coding Help - Replies (1)

Hi. Newbie here. I installed pycharm, got the sympy extension. I made a file called "Newton's_Method_2" and put it in a pythonProject1 folder I mad..... More

Print this item

  Question about Creating an Automated Process in Python
Posted by: Supratik1234 - Jan-13-2023, 08:29 PM - Forum: General Coding Help - No Replies

Hi everyone, I am very new to Python so I don't know a lot about coding whatsoever but I am a part of a research group involved in ab initio md. For t..... More


Attached Files

.py   OHNWCHEM.py (Size: 1.49 KB / Downloads: 239)
Print this item

  self.pos().x() and self.pos().x() always return -3,-30 on PyQT5
Posted by: DrakeSoft - Jan-13-2023, 02:31 PM - Forum: GUI - Replies (3)

Hi,

I am using the code below to experiment with window size and psoition.
I notice that irrespective of where I move the window self.pos().x() an..... More

Print this item

  excel lookups
Posted by: Deephect - Jan-13-2023, 12:46 PM - Forum: General Coding Help - No Replies

I have two excel sheets in the same book, each row contains a lookup value from sheet2.
Sheet2 contains lookups and all lookup values, Sheet1 contai..... More

Print this item

  Python SSL web page scraping
Posted by: Vadanane - Jan-13-2023, 09:34 AM - Forum: General Coding Help - Replies (1)

I'm using Python 2.7 with BeautifulSoup to scrape web pages, but I keep running across protocol errors that don't make much sense to me. This only occ..... More

Print this item

  launching executables
Posted by: DPaul - Jan-13-2023, 07:31 AM - Forum: General Coding Help - Replies (6)

Hi,
I have an executable. Users click on it (or an icon) and do research.
One user however starts inadvertently many instances of the exe,
and one ..... More

Print this item

  super lightweight (only 35 lines) dependency injection (ioc) support for Python
Posted by: kenttong - Jan-13-2023, 04:30 AM - Forum: Code sharing - Replies (5)

Hi,

A super simple and risk-free way to do dependency injection (ioc) in Python. The entire code base is only 35 lines (empty lines included). No n..... More

Print this item

  Newbie here. Create an array from file data?
Posted by: Rayj00 - Jan-13-2023, 12:37 AM - Forum: Homework - Replies (2)

I'm brand new with python. I have a file with integers like this:

2 5 8 12 20
3 12 15 18 29
etc,
etc,
etc,
.
.
etc.

I need to get them ..... More

Print this item

  "Name is not defined" when running a class
Posted by: lil_e - Jan-12-2023, 11:10 PM - Forum: General Coding Help - Replies (6)

Hi. I'm a beginner trying to figure out why my code won't work. I'm pretty sure it's a minor detail, but I tried several time, but cannot find out why..... More

Print this item

  Positive integral solutions for Linear Diophantine Equation
Posted by: august - Jan-12-2023, 10:09 PM - Forum: General Coding Help - Replies (4)

Hello All,

Say I want to find all POSITIVE INTEGRAL solutions for a,b for this linear equation:
a + 2b = 5 and the solutions ..... More

Print this item

  [split] Explain the python code in this definition
Posted by: Led_Zeppelin - Jan-12-2023, 09:07 PM - Forum: General Coding Help - Replies (1)

I have a vector of real numbers. They are the feature importance in a machine learning experiment. One importance for each sensor.

Obviously, they ..... More

Print this item

  [split] Explain the python code in this definition
Posted by: Led_Zeppelin - Jan-12-2023, 08:54 PM - Forum: Board - Replies (2)

I am sorry to bother anyone for this, but I am stuck. I have to make a new post. I do not remember how to do it.

I have not used the forum since la..... More

Print this item

  Sprites just randomly appear and dissapear in my pygame.sprite.GoupeSingle
Posted by: trueShadoWrr - Jan-12-2023, 08:28 PM - Forum: Game Development - Replies (2)

I am programming my first "real" game in pygame and now I ran into a Problem.

So I am trying to program the mainmenu of a game and it is already wo..... More

Print this item

  Python VS Code: using print command twice but not getting output from terminal
Posted by: kdx264 - Jan-12-2023, 07:33 PM - Forum: General Coding Help - Replies (4)

Hi, I have autism and am brand new to Python. I am trying to output these two print statements I wrote in my code to see the sum of a, b, and c as wel..... More


Attached Files

Thumbnail(s)
   
Print this item

  C Extension module
Posted by: lamer - Jan-12-2023, 02:41 PM - Forum: General Coding Help - Replies (1)

Hello I wrote simple c extension module and assembled it with visual studio everything works
When i try to assemble it with mingw i am getting issue ..... More

Print this item

  How to work with list
Posted by: kafka_trial - Jan-12-2023, 11:24 AM - Forum: General Coding Help - Replies (8)

Hi all,
I am new to Python. I am doing an application. the application takes 20 names of individuals then prompts user to input out of 20 individual..... More

Print this item

  cannot update PIP
Posted by: tester_V - Jan-12-2023, 04:03 AM - Forum: General Coding Help - Replies (1)

Good evening!
I tried to search the forum for 'failing to upgrade PIP', but found nothing, probably searching in the wrong place...
Got a new work c..... More

Print this item

  How to use the re library to remove irrelevant words?
Posted by: noahe - Jan-11-2023, 10:38 PM - Forum: Homework - Replies (3)

Hi, I'm currently making a python code which includes the creation of a wordcloud. The problem is that there are some words that are irrelevant with t..... More

Print this item

  How to get back a subdirectory in URL with Django
Posted by: jao - Jan-11-2023, 10:28 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello, I'm currently learning Django and i've come up with a difficulty. I have a login app, where the user logs in and registers, their url is localh..... More


Attached Files

Thumbnail(s)
   
Print this item

  First Day using Python. NEED Simple Math CODE HELP!
Posted by: Jesseluke - Jan-11-2023, 08:23 PM - Forum: Homework - Replies (4)

can someone help me with a simple *for yous* lines of code..

I need to input a number of no more then 10 or 11 digits. say 01234567890

then n..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... Yesterday, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... Yesterday, 16:06 eedjsa eedjsa General Codin...
  IP address for users Yesterday, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Yesterday, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 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
Most views
  The best Prog... 580363
  Tutorial Requ... 519086
  Web Scraping ... 442771
  Newbie with P... 386954
  New Users Int... 386268
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
atalieyandext4063 Yesterday
finallen321 Yesterday
DTECHSYSTEM Yesterday
zashleyfracesz3221 Yesterday
itx_sumeet Yesterday

User Panel Messages

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