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,979
» Latest member: silversimon2
» Forum threads: 38,732
» Forum posts: 175,563

Full Statistics

Online Users
There are currently 42 online users.
» 1 Member(s) | 38 Guest(s)
Bing, AOL, Google, Pedroski55

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Today, 07:43 AM
» Replies: 2
» Views: 305
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:21 AM
» Replies: 2
» Views: 936
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 987
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 670
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,997
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,426
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,004
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,446
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,345
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,677

 
  Need help with self
Posted by: msp1981 - Apr-21-2019, 07:15 PM - Forum: Homework - Replies (2)

This is the assignment:
The ComplexNumber Class
Define a class ComplexNumber, which has two data fields (both numbers), real and imaginary. In addi..... More

Print this item

  Naming a variable with the str value and another variable
Posted by: SheeppOSU - Apr-21-2019, 06:53 PM - Forum: General Coding Help - Replies (2)

I want to create a bunch of variables with just a for loop like this -
[python]x = 0
for i in range(1, 11):
x += 1
#name a variable "User..... More

Print this item

  `QPushButton` without mouse click animation
Posted by: Atalanttore - Apr-21-2019, 05:49 PM - Forum: GUI - Replies (2)

Hi

I'm looking for a way to disable the left click animation of a QPushButton, but animation and left mouse click seems to be tightly connected w..... More

Print this item

  Hello need some help with some code!
Posted by: GalaxyCoyote - Apr-21-2019, 05:10 PM - Forum: General Coding Help - Replies (4)

Hello, I am new to python (I have just started learning a week ago) and I need some help with this

[python]name_program = input("Please enter you n..... More

Print this item

  how to compare some string with the database columns
Posted by: nick123 - Apr-21-2019, 04:19 PM - Forum: General Coding Help - Replies (1)

Whenever i run the following code the if statement always returns true and it is not comparing the content with the column content so how can i do thi..... More

Print this item

  NeneBot Alfa version
Posted by: francisco_neves2020 - Apr-21-2019, 04:19 PM - Forum: Bar - Replies (5)

If you understand portuguese, go ahead and try my software, i made it for the community, it is alfa, lots of work to be done, just need your feedback ..... More

Print this item

  Tkinter vs Pyside2
Posted by: twallace51 - Apr-21-2019, 03:37 PM - Forum: GUI - Replies (1)

I would like to hear about which GUI platform you all consider to be best?

I started with tkinter, and then found out that I needed to also learn ..... More

Print this item

  Geany Configuration
Posted by: twallace51 - Apr-21-2019, 02:20 PM - Forum: General Coding Help - No Replies

I have used almost all the IDEs for Python, and find most of their screens too cluttered or distracting.
I always come back to Geany, which in defa..... More

Print this item

  I getting Index error after numerous tries
Posted by: priyanshu - Apr-21-2019, 12:55 PM - Forum: General Coding Help - Replies (3)

I have been trying to make a user preference type project, so to make some bare bones I tried this..[See the pic]
I don't know why am I getting index..... More

Print this item

  Error help me please :)
Posted by: Zovix - Apr-21-2019, 12:25 PM - Forum: General Coding Help - Replies (3)

i have this error why ?[Image: 1555849467-capture.png]

Print this item

  Updating Key in JSON File
Posted by: decampo04 - Apr-21-2019, 09:48 AM - Forum: General Coding Help - Replies (4)

Hi all, this is my first post as I am a Python beginner and would greatly appreciate any help. Basically, I need to update a a JSON file used by a ser..... More

Print this item

  How to import FreeCAD in Python
Posted by: gurbhej_singh - Apr-21-2019, 09:24 AM - Forum: General Coding Help - Replies (5)

Greetings for the day,
I am a beginner with Python. I want to import FreeCAD in Python.
I am using:-
[b]

Print this item

  Why do we need setdefault() method for dictionnary?
Posted by: DJ_Qu - Apr-21-2019, 09:22 AM - Forum: General Coding Help - Replies (3)

I rewrote the following exercise:

[python]allGuests = {'Alice': {'apples': 5, 'pretzels': 12},
'Bob': {'ham sandwiches': 3, 'apple..... More

Print this item

  About [from FILE import FUNC]
Posted by: Nwb - Apr-21-2019, 07:51 AM - Forum: General Coding Help - Replies (7)

I've simplified what I observed to the smallest example I could. Here it is:

Here are two .py files a1.py and a2.py,

a1.py:
[python]from..... More

Print this item

  Automate the boring stuff : the tic tac toe game
Posted by: DJ_Qu - Apr-21-2019, 07:48 AM - Forum: General Coding Help - Replies (7)

Hello,
I have a question about "a tic-tac-toe game" using dictionary in automate the boring stuff.
https://automatetheboringstuff.com/chapter5/

I..... More

Print this item

  How to install Telethon?
Posted by: Sharon - Apr-21-2019, 04:31 AM - Forum: General Coding Help - Replies (9)

Hi guys, please be kind because I feel dumb. It's my first day using Python and I'm trying to install Telethon.

This machine is an old WIN7 and I j..... More

Print this item

  S3Zilla... an S3 File Transfer Client developed with Python3/Tkinter
Posted by: rootVIII - Apr-21-2019, 04:27 AM - Forum: Code sharing - No Replies

I tried to make it like Filezilla... came out okay and works without issues.

Here's' the Github repository[url=https://python-forum.io/thread-17704.html]..... More

Print this item

  Automate the boring stuff, inserting commas in list
Posted by: DJ_Qu - Apr-21-2019, 04:17 AM - Forum: General Coding Help - Replies (3)

Hello!
I cannot figure out something about negative indexes in that exercise of automate the boring stuff:

"
Comma Code:

Say you have a list v..... More

Print this item

  Flask and Websockets == True?
Posted by: rxndy - Apr-21-2019, 04:13 AM - Forum: Networking - Replies (2)

Hi!

I was wondering what the best practice was for a Flask web app or API service with web sockets?

Maybe something like the below would be grea..... More

Print this item

  finding which source files import a module
Posted by: Skaperen - Apr-21-2019, 03:28 AM - Forum: News and Discussions - Replies (3)

i would like to know of a script that can be given the name of a particular module to look for and the path names of a bunch of Python source files (s..... More

Print this item

  Deluge (Python 2.7) on Raspbian with YARSS2 - certificate_transparency error
Posted by: Matt872000 - Apr-21-2019, 02:39 AM - Forum: General Coding Help - No Replies

I'm running out of ideas of where to ask for help with this issue. Not sure if it's allowed here...

I'm trying to set up a headless server with Del..... More

Print this item

  Issue closing an Modal Alert (popup)
Posted by: leviathan54 - Apr-21-2019, 01:56 AM - Forum: Web Scraping & Web Development - Replies (8)

Hi All

I'm playing around with the following site (python 37/Selenium).

http://www.demo.guru99.com/V4/index.php

When i type in an incorrect ..... More

Print this item

  Determining Beta distribution parameters (alpha, beta) using CDF
Posted by: fr2019 - Apr-21-2019, 12:23 AM - Forum: General Coding Help - Replies (5)

Hi all,
I am trying to find Beta distribution parameters (alpha, beta) by fitting a CDF curve that goes through two points. Let's say points are (x1,..... More

Print this item

  Converting List to Libray
Posted by: prophet11 - Apr-20-2019, 08:52 PM - Forum: General Coding Help - Replies (6)

Dear Python Developers,
I hope you are having a great saturday. Could you please assert me if I'm coding this correct:
The goal is to convert my lis..... More

Print this item

  function 2 inside function 1 parameters
Posted by: SheeppOSU - Apr-20-2019, 08:08 PM - Forum: General Coding Help - Replies (4)

I know there is an import for this but i forgot it. One of the parameters in my function requires a function. I'll try and say this more simply. Main ..... More

Print this item

  3D Plotting in Matplotlib for Python
Posted by: pabloanm - Apr-20-2019, 07:37 PM - Forum: Code sharing - Replies (1)

Hi everyone, I'm very new with Python. I found this code and I would like to change the color of a specific position in this 3d-matrix.

Thanks in a..... More

Print this item

  Count how many carpets you need to fill room floor without multiplication/division
Posted by: Ech0ke - Apr-20-2019, 07:06 PM - Forum: Homework - Replies (1)

Hey, I've got this task to coplete. I must do it using While:
Room length is A meters and with is B. How many [i]square carpe..... More

Print this item

  Moving with objects simultaneously
Posted by: kom2 - Apr-20-2019, 06:00 PM - Forum: General Coding Help - Replies (1)

Hello,

I'm currently working on my project and stucked at this point:

I want to create a canvas, where different objects will move (a lot of game NP..... More

Print this item

  Matching two variables within a certain toleration
Posted by: Mason - Apr-20-2019, 03:09 PM - Forum: Homework - Replies (5)

Hi all,

I am new to Python and currently working on a thesis project. I have come across an issue regarding some simple calculations. I have the fo..... More

Print this item

  Optimisation the rejection method of generating random variables
Posted by: Hummingbird - Apr-20-2019, 01:42 PM - Forum: Homework - Replies (2)

Hello, I have a problem with optimisation the rejection method of generating continuous random variables. I've got a density: f(x) = 3/2 (1-x^2). Here..... More

Print this item

  Because this is repeated in a loop, what is going on?
Posted by: marcosmqueen - Apr-20-2019, 11:45 AM - Forum: Web Scraping & Web Development - Replies (1)

I have a problem and I want my bot to respond to a specified twitter account, but what happens is that it responds but in a loop, please help me.

A..... More

Print this item

  my coding does not running, please help
Posted by: indora - Apr-20-2019, 10:02 AM - Forum: General Coding Help - Replies (2)

im beginner,
[python]
nama=[]
gaji=[]
emas=[]
zakat=[]
pertahun=[]
perbulan=[]
nisab=[]
print ('+———————————————–+')
print ('| Penghitung Zakat Peng..... More

Print this item

  How to write in txt
Posted by: pari88 - Apr-20-2019, 04:57 AM - Forum: General Coding Help - Replies (1)

Here is a code i wrote to find max value and its location in n number of file
I can print them in screen but dont know hoe to write them in a txt fil..... More

Print this item

  pickle error
Posted by: SheeppOSU - Apr-20-2019, 04:02 AM - Forum: General Coding Help - Replies (4)

I am making a shortcut thing just for fun and I'm using pickle to store the shortcuts. The problem is the error I'm getting. TIA for your help

erro..... More

Print this item

  Not able to validate data from a file
Posted by: Zving - Apr-20-2019, 03:08 AM - Forum: Homework - Replies (7)

Hello! What I am trying to do, is the following:
This program opens a file, where it is supposed to read lines of data (Which right now it does fine,..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... Today, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Today, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577395
  Tutorial Requ... 500819
  Web Scraping ... 441046
  Newbie with P... 385100
  New Users Int... 369632
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+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
silversimon2 Today
alissapena8 Today
hoki1881 Today
stephaniehendrix Today
Schirag Today

User Panel Messages

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