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,988
» Latest member: markwood955
» Forum threads: 38,736
» Forum posts: 175,578

Full Statistics

Online Users
There are currently 45 online users.
» 0 Member(s) | 40 Guest(s)
Applebot, Bing, AOL

Latest Threads
Weird failure in Selenium
Forum: General Coding Help
Last Post: glestwid
6 hours ago
» Replies: 0
» Views: 35
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
8 hours ago
» Replies: 1
» Views: 62
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,526
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 87
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 189
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,045
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 459
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,088
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,163
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 844

 
  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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Weird failure in Selenium 6 hours ago glestwid glestwid General Codin...
  print does not open conso... 8 hours ago Tycho_2025 Axel_Erfurt General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577470
  Tutorial Requ... 501283
  Web Scraping ... 441093
  Newbie with P... 385161
  New Users Int... 369874
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
markwood955 Yesterday
DerekGeel Yesterday
Tycho_2025 Yesterday
chikkamagalur Yesterday
Costa Yesterday

User Panel Messages

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