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 260 online users.
» 1 Member(s) | 253 Guest(s)
Bing, Google, Mojeek, AOL, Apple, 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

 
  Using Python IDLE3 with Python 3.8
Posted by: escape_freedom13 - Nov-18-2019, 03:39 AM - Forum: News and Discussions - Replies (2)

I'm using Linux Mint 19.1
I've alt-installed python 3.7.4 and 3.8.0
"idle3 is already the newest version (3.6.7-1~18.04)"

Whenever I launch IDLE ..... More

Print this item

  For loop in my __init__ doesn't work as expected
Posted by: Jessy - Nov-18-2019, 02:07 AM - Forum: General Coding Help - Replies (2)

[python] class DictionnaireOrdonne:
"""Classe permettant de créer un dictionnaire ordonné comme une liste, avec des indices"""

def..... More

Print this item

  Where to suggest python syntax change ?
Posted by: tonycstech - Nov-18-2019, 12:51 AM - Forum: News and Discussions - Replies (9)

I have 3 things i'd like to post as a suggestion to python development team but have no idea where to find them or how to contact them.

Use + stric..... More

Print this item

  line number of first and second occurance of string in a file
Posted by: mdalireza - Nov-18-2019, 12:38 AM - Forum: General Coding Help - Replies (1)

Hello,

Here is the logic I am trying to code.

* I have a line number of a certain string in a file. I want to get the line number of second occu..... More

Print this item

  Trading Code
Posted by: RotmanIT - Nov-17-2019, 11:28 PM - Forum: Homework - Replies (4)

I need a code that interacts with a program called Rotman Interactive trader (server: flserver.rotman.utoronto.ca Port: 16600). The code has to fetch ..... More

Print this item

  Running function from parent module which has a loop in it.
Posted by: ta2909i - Nov-17-2019, 10:55 PM - Forum: General Coding Help - Replies (1)

Hi all,

I have a parent module that imports various other modules and runs a “While True” loop within it.

I’m essentially building a spotify rad..... More

Print this item

  List into list
Posted by: Reldaing - Nov-17-2019, 10:16 PM - Forum: General Coding Help - Replies (4)

Hi, I'm trying to get familiar with lists. Right now, I have a little Issue. I'm trying to convert this code (kind of sodoku) into a function, who tak..... More

Print this item

  C API: Writing Executed Code to a File
Posted by: myanrueller - Nov-17-2019, 09:33 PM - Forum: General Coding Help - No Replies

I am working on a game that teaches programming through Python. To do this, I am embedding the Python interpreter in a C/C++ game. I am struggling cap..... More

Print this item

  Get closest value array for array of arrays.
Posted by: DreamingInsanity - Nov-17-2019, 09:31 PM - Forum: General Coding Help - Replies (2)

Title is quite confusing let me explain:
If I have an 2D array of values 'y': [[10,20,10],[30,20,10],[10,10,10],[45,37,34]]
and a sin..... More

Print this item

  Output in for LOOP iterated
Posted by: Renym - Nov-17-2019, 07:51 PM - Forum: General Coding Help - Replies (1)

Hi guys,
I am a beginner in Python and I am using PyScripter. Can someone help me why in this simple for loop example my output result is iterated. I ..... More

Print this item

  python sql help
Posted by: keuninkske - Nov-17-2019, 07:48 PM - Forum: General Coding Help - Replies (8)

hello, i am a rather beginner for programming, certainly to python.
i wrote a piece of code in python, helped myself by the numerous tutorials online..... More

Print this item

  Confusing logic
Posted by: Blob - Nov-17-2019, 07:41 PM - Forum: General Coding Help - Replies (4)

OK, so this is from my tutorial and it works fine, but I'm confused by why, so I'm missing something...

[python]command = ""
started = Fals..... More

Print this item

  array of zeros
Posted by: auting82 - Nov-17-2019, 06:06 PM - Forum: Homework - Replies (1)

Hi, I am just trying to test some code snippets that I got from a teacher in a course I am taking.
This code should work but I am getting errors:
..... More

Print this item

  Finding MINIMUM number in a random list is not working
Posted by: Mona - Nov-17-2019, 05:37 PM - Forum: General Coding Help - Replies (5)

Hello,
I am trying to display the minimum number in a randomly created list but I am getting noting printed for the min function. I have my codes an..... More

Print this item

  Unable to do the proper split using re.sub incase of missing data.
Posted by: Karz - Nov-17-2019, 04:54 PM - Forum: General Coding Help - Replies (1)

This is my code. I used re to convert more than one spaces into a single space.
Then i split the lines and convert into list format.
When all the fie..... More

Print this item

  AttributeError
Posted by: Makada - Nov-17-2019, 03:16 PM - Forum: General Coding Help - Replies (35)

Hi,

I am Mark and i have just registered to this forum and installed Python 3.8.
Im not experienced yet with Python so i like to ask for a possibl..... More

Print this item

  Reading blob data from database by python and store it in .zip format
Posted by: Adityasi - Nov-17-2019, 02:26 PM - Forum: General Coding Help - Replies (2)

Hi,
I am trying to store blob data from my oracle database using python and trying to store it in a local folder in .zip format. So i have two codes ..... More

Print this item

  Graph with GUi
Posted by: teodorisss - Nov-17-2019, 01:53 PM - Forum: GUI - Replies (2)

I want to implement a GUI in which the user will give vertexes and their neighbors and step by step a graph (G) will be created!! After that i would l..... More

Print this item

  view function parameter passed to function but not populateing form
Posted by: pascale - Nov-17-2019, 01:28 PM - Forum: Networking - No Replies

Hi, I am trying to display the rows of a database model on a web page as forms that are populated with data that I can then edit. There will be sever..... More


Attached Files

Thumbnail(s)
   
Print this item

  Character Encodings
Posted by: Evil_Patrick - Nov-17-2019, 12:56 PM - Forum: General Coding Help - Replies (1)

I'm trying to learn Python 3 using this Book Learn Python 3 The Hard Way by Zed A. Shaw

[Image: book.png]

But Ex..... More

Print this item

  Assignment help
Posted by: yazansh1 - Nov-17-2019, 12:33 PM - Forum: Homework - Replies (1)

Implement a function called count_longest_repetition(s, c) which receives a string called s and another string called c containing only one character...... More

Print this item

  error opening port from local to internet
Posted by: looney99 - Nov-17-2019, 12:24 PM - Forum: Networking - Replies (3)

In order for the virtual host to communicate with the real world, I had to open a local to internet port. I try this via localhost run but when I go t..... More

Print this item

  HMAC/ Hashlib Tutorial Request
Posted by: dn237 - Nov-17-2019, 12:06 PM - Forum: Web Scraping & Web Development - Replies (4)

I'm requesting a tutorial/ help on how to create a new HMAC using SHA512 to send a get request to Bittrex.com's API to place a buy/sell/etc order/requ..... More

Print this item

  threading for method outside class
Posted by: anna - Nov-17-2019, 07:05 AM - Forum: General Coding Help - No Replies

Hi All,

I have modified original script to work with ZyXEL DSLAM devices, need to guidance to implement threading for method of class but outside o..... More

Print this item

  Scrapy Javascript Pagination (next_page)
Posted by: nazmulfinance - Nov-17-2019, 02:16 AM - Forum: Web Scraping & Web Development - Replies (2)

Dear Members,

I am trying to scrap the first table in all pages from the following website: https://www.secform4.com/insider-trading/320193.htm. Th..... More

Print this item

  Frustrated with Assignment. S.O.S! HELP!
Posted by: Than999 - Nov-17-2019, 12:36 AM - Forum: Homework - Replies (7)

Hi, I have this assignment that I am about to be on the verge of giving up. So this assignment calls for creating a function call "def verify(number)..... More

Print this item

  [split] Windows can't find installed packages
Posted by: deep_logic - Nov-16-2019, 11:56 PM - Forum: General Coding Help - Replies (11)

Hi all,
I seem to have a similar situation trying to import beautifulsoup4. I've installed beautifulsoup4 using pip in a command prompt. All good. Ho..... More

Print this item

  Substitution with regular expression returns hidden character SOH
Posted by: bajacri - Nov-16-2019, 11:45 PM - Forum: General Coding Help - Replies (2)

Hello community, hope everyone is having a good time.

I'm doing a pretty easy script, look for a certain format of values in a file then repeat the..... More

Print this item

  Simple code works in Jupyter but not VS Code
Posted by: Matt_O - Nov-16-2019, 11:35 PM - Forum: General Coding Help - Replies (2)

Hi Python Experts,

I am extremely new to Python and am trying to work out a small problem.

I am using the latest version of Anaconda Navigator ..... More

Print this item

  How can I improve this piece of code?
Posted by: aquerci - Nov-16-2019, 09:51 PM - Forum: General Coding Help - Replies (3)

Hi all,

In these days I wrote a script. It works very well but a piece of his code is very slow because of a custom function. you can see it below:..... More

Print this item

  Can I get some help doing this Data Validation?
Posted by: p_hobbs - Nov-16-2019, 09:03 PM - Forum: GUI - Replies (5)

I'm trying to get this data validation to work. It seems to work ok when checking, but it just does some funny things, that I don't understand. First,..... More

Print this item

  adding parts of a list
Posted by: Eric7Giants - Nov-16-2019, 08:40 PM - Forum: Homework - Replies (4)

Hello. I'm working on a problem where there is a file that contains the name and 5 test scores for 5 students. I have to use python 2.7 even though I ..... More

Print this item

  How do I delete symbols in a list of strings?
Posted by: Than999 - Nov-16-2019, 07:51 PM - Forum: General Coding Help - Replies (1)

I need help with my Python code? I need to test a string of values in the form of '####-####-####', for example; '5000-0000-0000'. I need to test this..... More

Print this item

  Is 2 a prime number? for loop & range fuction in python docs says yes, mine says no.
Posted by: allusernametaken - Nov-16-2019, 06:48 PM - Forum: General Coding Help - Replies (4)

I'm a beginner in computer science field, and Python is my first programming language I'm studying. I started reading Python documentation and would l..... More

Print this item

  List Comprehension - Creating a list of the length of an item help
Posted by: paul41 - Nov-16-2019, 05:37 PM - Forum: General Coding Help - Replies (2)

I am working within a file which is within a for loop. Within this for loop i am wanting to create a new list. I can do what i want using normal lis..... 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... 579293
  Tutorial Requ... 512154
  Web Scraping ... 442198
  Newbie with P... 386307
  New Users Int... 379786
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
metulburr 6
python 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