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,289
» Latest member: J2M
» Forum threads: 38,793
» Forum posts: 175,881

Full Statistics

Online Users
There are currently 274 online users.
» 1 Member(s) | 267 Guest(s)
Bing, Apple, AOL, Google, Mojeek, lovedeep

Latest Threads
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
2 hours ago
» Replies: 5
» Views: 41
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 148
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 58
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,490
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 151
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 68
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,084
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,303
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 395
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 225

 
  What was my mistake in this Python code (easy)?
Posted by: voltman - Nov-19-2019, 07:21 PM - Forum: General Coding Help - Replies (4)

Hi everyone,

Just learning python for the first time but I am having some difficulties.

I'm having some trouble with the code below:
[python]
..... More

Print this item

  why my function doesn't work
Posted by: cimerio - Nov-19-2019, 06:51 PM - Forum: General Coding Help - Replies (4)

Hi, I am a beginner.

I need help. Why the code below doesn't return nothing?

[python]def tax(year, value):
if year > 2004:
tax = v..... More

Print this item

  Removing duplicate list items
Posted by: eglaud - Nov-19-2019, 06:37 PM - Forum: General Coding Help - Replies (4)

Hello, I am creating a code that allows the user to paste copied excel cells into a function that will return all the entries with commas, properly ca..... More

Print this item

  Timer for Python that doesn't interrupt the program
Posted by: codewraith - Nov-19-2019, 06:25 PM - Forum: Homework - Replies (1)

I have to implement the AIMD protocol where I will send the quantity of packets of my sliding window to other server, and while I don't lose any packe..... More

Print this item

  Help with Unit Tests
Posted by: pdub787 - Nov-19-2019, 04:35 PM - Forum: Homework - Replies (3)

Hi There! When unittest'ing a simple program that prompts for a first and last name, I'm getting a "repl process died unexpectedly" return.

[pyth..... More

Print this item

  Using function *args to multiply multiple arguments
Posted by: allusernametaken - Nov-19-2019, 04:07 PM - Forum: General Coding Help - Replies (8)

I'm a beginner in Python and have a question.
I now understand the basics of a function and what an asterisk does when it's used in a parameter.

H..... More

Print this item

  First Byte of a string is missing while receiving data over TCP Socket
Posted by: shahrukh1987 - Nov-19-2019, 03:45 PM - Forum: General Coding Help - Replies (3)

Dear All Friends.
I am trying to communicate with an IEC-60870-5-104 server through TCP sockets. The IEC server is located over the local host 127.0...... More

Print this item

  beginner help
Posted by: ksoni - Nov-19-2019, 02:41 PM - Forum: General Coding Help - Replies (2)

I just started python with THONNY IDE.

I have a sample code for remove 'n' th character.

Tested it works fine, then i edit the code for remove '..... More

Print this item

  Regex Help for clubbing similar sentence segments
Posted by: regstuff - Nov-19-2019, 12:10 PM - Forum: General Coding Help - Replies (3)

Hi,
I have a corpus which contains sentences in a certain pattern, which I would like to change by applying Regex.

The pattern is [a certain set o..... More

Print this item

  Python Based Data QA Automation tool suggestion
Posted by: Sonia567 - Nov-19-2019, 11:48 AM - Forum: General Coding Help - Replies (1)

My Source system is DB2 and Target System is Hive. i have used Apache Spark to perform ETL data cleansing and standardization.

I am trying to creat..... More

Print this item

  modify script.
Posted by: MuhammadTalha - Nov-19-2019, 11:43 AM - Forum: General Coding Help - Replies (15)

Hi i want to modify python script, so it can not look for a specific file.
In my case i want it to not look for .dvscf1.

Regards
Muhamma..... More

Print this item

  wordsearch
Posted by: rontoto - Nov-19-2019, 11:23 AM - Forum: General Coding Help - Replies (2)

Hi, I have got a problem in my searchword. Everything runs properly. Output writes word, coordinates and direction, but i need, that output have same ..... More

Print this item

  Parquet format conversion problem
Posted by: Bilhardas - Nov-19-2019, 11:03 AM - Forum: General Coding Help - Replies (1)

Hello guys

I need help with parquet conversion:

Given the attached CSV file named "parquet-test.csv", i need to convert it into parquet format...... More

Print this item

  Writting to file from if/else statement
Posted by: mcmxl22 - Nov-19-2019, 10:24 AM - Forum: General Coding Help - Replies (2)

The original code is here.

The goal of this code is to h..... More

Print this item

  What the difference between python2 and python3 when they running my code.
Posted by: lpangfeic - Nov-19-2019, 09:09 AM - Forum: Web Scraping & Web Development - Replies (1)

I am writing proof of content for CVE-2019-11043 with python2, I can only run my code properly on python3, but not python2. I was wondering what's the..... More

Print this item

  Classification of Request
Posted by: PythonLearner703 - Nov-19-2019, 04:14 AM - Forum: Data Science - Replies (8)

Python: How to categorize the request in different categories for example in 3 categories based on any 3 ex. aa, bb, cc (any):, using KMeans or any ot..... More

Print this item

  Class Problem
Posted by: scratchmyhead - Nov-19-2019, 02:40 AM - Forum: General Coding Help - Replies (3)

I am writing a python program exactly the way my course instructor has and when I try to run on my end, I get the following error: AttributeError: 'T..... More

Print this item

  Trying to print an uneven list to a even table
Posted by: Mike2607 - Nov-19-2019, 01:44 AM - Forum: General Coding Help - Replies (6)

[python]def main():
mycities = ['Cape Girardeau, MO 63780','Columbia, MO 65201',
'Kansas City, MO 64108','Rolla,MO 65402',
..... More

Print this item

  Need advice how to scrape a Chinese webpage
Posted by: omar - Nov-19-2019, 01:11 AM - Forum: Web Scraping & Web Development - Replies (2)

I need to scrape a Chinese webpage on a website that needs logging in + verification by mobile.

I have a username and password. I can login and ver..... More

Print this item

  Can someone explain what ".after" means?
Posted by: p_hobbs - Nov-19-2019, 12:00 AM - Forum: GUI - Replies (2)

So, I'm writing a tkinter GUI, and it's all going pretty well. I'm new to python, and most of my coding knowledge comes from Excel VBA.

So, I've go..... More

Print this item

  Invalid syntax defining a dictionary?
Posted by: ep595 - Nov-18-2019, 11:02 PM - Forum: Homework - Replies (6)

Hi everyone! I'm currently working on an assignment for a Python course. The full task:
[i]A county planning body has requested an interactive tool t..... More

Print this item

  how to list/count the number of dictionaries
Posted by: paul18fr - Nov-18-2019, 09:10 PM - Forum: Data Science - Replies (2)

Hi all

I'm using dictionaries to record physical quantities (tensors, vectors, scalars) from a (huge) Ascii file.
After reading, I've several dic..... More

Print this item

  strange output
Posted by: KaliLinux - Nov-18-2019, 08:28 PM - Forum: General Coding Help - Replies (2)

Why does

print([0][0])
output 0 ?

Print this item

  Puzzle Tower of Hanoi
Posted by: anickone - Nov-18-2019, 08:24 PM - Forum: Game Development - Replies (1)

Hello
Puzzle Tower of Hanoi
[python]
""" Puzzle Tower of Hanoi """

class Disk:
def __init__(self, number, color):
self.number = nu..... More

Print this item

  Pressing button by code after gui is loaded
Posted by: KaiBehncke - Nov-18-2019, 06:53 PM - Forum: GUI - Replies (1)

Dear users,

I use an application where a gui is started:

[python]class alkisImportDlg(QDialog, alkisImportDlgBase):

def __init__(self):
..... More

Print this item

  Update variable between class/frame
Posted by: edwin6938 - Nov-18-2019, 04:41 PM - Forum: GUI - Replies (6)

Hello,

I have a problem with Tkinter to exchange and update variable. I tried inheritance, doing an other interface...)

Below an example
[pyth..... More

Print this item

  Exercise Work
Posted by: scratchmyhead - Nov-18-2019, 03:46 PM - Forum: General Coding Help - Replies (3)

[b]I am new to Python and I'm taking some online python courses. Does anyone have any ideas as far as practice programs to do? The courses are teachin..... More

Print this item

  variable as byte
Posted by: jesshove - Nov-18-2019, 02:57 PM - Forum: Game Development - No Replies

I have been learning Python from 'Python for Everybody' by Charles Severance and found it very good
However, I have used his suggested code for downl..... More

Print this item

  Python Development Server in Azure
Posted by: phpMick - Nov-18-2019, 02:38 PM - Forum: General Coding Help - Replies (1)

Hi,

Does anyone use a development server which is hosted in Azure?

Just wondering the best way to do it (or does it not work well)? With Docker ..... More

Print this item

  instaloaders problem: search certain hashtag - posts without hashtag extracted
Posted by: ledgreve - Nov-18-2019, 01:22 PM - Forum: General Coding Help - No Replies

Hello!

I am extracting instagram posts with diverse hashtags (f.e. "bachmannpreis") via the command line of my computer, using Instaloader (https:/..... More

Print this item

  Installing a new package using pip in conda environment
Posted by: firebolt7 - Nov-18-2019, 12:03 PM - Forum: General Coding Help - Replies (1)

Does a package also gets installed in conda environment if I use pip to install packages not included in Anaconda?

I am c..... More

Print this item

  Press a botton to continue the code
Posted by: doug2019 - Nov-18-2019, 09:27 AM - Forum: General Coding Help - Replies (1)

Hi! Is there any command or function in Python to run the code in steps, ie set breakpoints that continue to press a button or mouse click? I need to..... More

Print this item

  How to find which frame/iframe my element belongs to?
Posted by: smaria - Nov-18-2019, 07:17 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I'm using the Selenium package with Python to navigate to a job console on my workspace and read the statuses of jobs being processed.

I've ..... More

Print this item

  are numeric types passed by value or reference?
Posted by: rudihammad - Nov-18-2019, 04:42 AM - Forum: General Coding Help - Replies (4)

Hello,
I would like to know if python passed certain data types by value, and other data types by reference.
Here is an example:

[python]def mult..... More

Print this item

  help with changing values in an excel sheet and saving to a new file
Posted by: Moneyman212 - Nov-18-2019, 04:11 AM - Forum: General Coding Help - Replies (2)

Hi guys,

It is my first post here and I am following a tutorial on youtube on how to learn python, I'm 4 hours in and I have had some issues in the ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt5 - Get a parameter f... 2 hours ago Ninja2112 deanhystad GUI
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579294
  Tutorial Requ... 512154
  Web Scraping ... 442198
  Newbie with P... 386307
  New Users Int... 379788
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+ 12109
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
J2M Today
jackhunter Today
EmilyCarter Today
xdimbah Today
IsmaelSlalk Today

User Panel Messages

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