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 36 online users.
» 1 Member(s) | 26 Guest(s)
Bing, Google, Applebot, Facebook, AOL, lovedeep

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

 
  Getting First 3 characters in a listbox
Posted by: scratchmyhead - Nov-10-2019, 11:45 PM - Forum: GUI - Replies (1)

I'm new to Python so bare with me. I have googled this but can't seem to find the answer. How do I get the first three characters in a Tkinter listbox..... More

Print this item

  python script fails with a lot of data
Posted by: bluethundr - Nov-10-2019, 11:37 PM - Forum: General Coding Help - Replies (2)

I wrote a python script that seemed to work pretty well. It lists EC2 instances in AWS and then writes them to our Confluence wiki.

If it processes..... More

Print this item

  Dictionnary brackets issue
Posted by: Reldaing - Nov-10-2019, 10:38 PM - Forum: General Coding Help - Replies (1)

Hi, little issue. Could u please tell me how to remove the {} between each number and "0" in the output of the
console ? Thanks!
[python]def foncti..... More

Print this item

  Dictionnary Issue
Posted by: Adem - Nov-10-2019, 10:27 PM - Forum: Game Development - Replies (2)

Hi, little issue. Could u please tell me how to remove the {} between each number and "0" in the output of the console ? Thanks!
[python]def fonction..... More

Print this item

  AttributeError: 'str' object has no attribute 'xpath'
Posted by: nazmulfinance - Nov-10-2019, 09:13 PM - Forum: Web Scraping & Web Development - No Replies

Dear Members,

I am sorry for the repeated post. I posted on the wrong sub-forum and then realized that this sub-forum is the right one for me. I am s..... More

Print this item

  Python ModuleNotFoundError: No module named 'sender_model' when running an Alembic mi
Posted by: fcardinaliuk - Nov-10-2019, 09:09 PM - Forum: General Coding Help - Replies (1)

Import modules and packages causing a bit of issues - can anyone identify the main reason for my alembic migration would not run ?

  1. P..... More

Print this item

  I wrote an emulator!
Posted by: keames - Nov-10-2019, 09:07 PM - Forum: Code sharing - Replies (8)

I have been inspired by YouTubers like Ben Eater and James Sharman and decided to start dabbling in electronics with my hobby eventually culminating i..... More


Attached Files

.pdf   Documentation.pdf (Size: 56.96 KB / Downloads: 5)
Print this item

  AttributeError: 'str' object has no attribute 'xpath'
Posted by: nazmulfinance - Nov-10-2019, 09:02 PM - Forum: Web Scraping & Web Development - Replies (4)

Dear Members,

I am very new to python. I am using the following code to extract the details of each product.

I am collecting product names from ..... More

Print this item

  is something missing?
Posted by: Skaperen - Nov-10-2019, 08:25 PM - Forum: News and Discussions - Replies (6)

[output] File "/usr/lib/python3.6/tempfile.py", line 184, in <module>
from random import Random as _Random
ImportError: cannot import name 'Ran..... More

Print this item

  removing items from a list or group within a for loop.
Posted by: allusernametaken - Nov-10-2019, 08:07 PM - Forum: General Coding Help - Replies (9)

Hello, hello.
I'm learning Python with a book(Python Crash Course), and at the part to code a game called 'Alien invasion'. To be more specific, curr..... More

Print this item

  {} from dict suppressing
Posted by: Adem - Nov-10-2019, 07:46 PM - Forum: General Coding Help - Replies (2)

Hi, little issue. Could u please tell me how to remove the {} between each number and "0" in the output of the console ? Thanks!

[python]def foncti..... More

Print this item

  how can I changing a base class method
Posted by: voidptr - Nov-10-2019, 07:27 PM - Forum: General Coding Help - Replies (2)

Is there some ways to change methods from a base class ?

here an example, I want to change the behavior of extendleft
form deque.

yes I can c..... More

Print this item

  What is wrong with my code?
Posted by: Than999 - Nov-10-2019, 07:27 PM - Forum: Homework - Replies (1)

Hi, why am I getting an invalid syntax error for "student = True"? This code was already initialize for me in the assignment, and when I went to go us..... More

Print this item

  Read Method
Posted by: JohnnyCoffee - Nov-10-2019, 04:24 PM - Forum: Web Scraping & Web Development - Replies (11)

How do I read a class file in order to discover the existence of a certain method ?

Print this item

  Need help returning min() value of list?
Posted by: edwdas - Nov-10-2019, 04:10 PM - Forum: General Coding Help - Replies (3)

Howdy,

I have a feeling that my issue lies within my second function. The Max function works for returning the single highest digit however the min..... More

Print this item

  How to Stop Sentinel Value from Entering Final Output
Posted by: ZQ12 - Nov-10-2019, 04:07 PM - Forum: General Coding Help - Replies (3)

I am writing a program using while loop to determine the highest and lowest of a user's inputted numbers, allowing the user to enter as many numbers a..... More

Print this item

  importbacktrader
Posted by: mpellegrini - Nov-10-2019, 03:24 PM - Forum: General Coding Help - No Replies

Good morning. I installed backtrader on windows via cmd prompt like this: pip3 install backtrader

but from Spyder Anaconda when I write import back..... More

Print this item

  Problem with installing PyPDF2
Posted by: Pavel_47 - Nov-10-2019, 01:52 PM - Forum: General Coding Help - Replies (2)

Hello,
Here is what happens when I'm trying to install PyPDF2:
[output]sudo pip3 install PyPDF2
Traceback (most recent call last):
File "/usr/bi..... More

Print this item

  Critique first project
Posted by: MikeJones619 - Nov-10-2019, 01:52 PM - Forum: Homework - Replies (2)

Can I get some feedback on the below code. I've just started very recently and would like to learn python.
How could I go about making the below code..... More

Print this item

  error when inserting list statement from python to MySQL
Posted by: ADBYITMS - Nov-10-2019, 10:44 AM - Forum: Web Scraping & Web Development - No Replies

HI all i am trying to insert data from a python script i have and i am getting an error, i thank you for your help in advance and feel free to let me ..... More

Print this item

  transfering files between server locations using ftplib
Posted by: katesfb - Nov-10-2019, 08:35 AM - Forum: General Coding Help - Replies (1)

Hi
I have a logging application that uploads hourly files to an ftp server (remotely using an Arduino). I then use a python script (once per day) tha..... More

Print this item

  How to place walls in random dungeon ?
Posted by: michael1789 - Nov-10-2019, 05:25 AM - Forum: Game Development - Replies (5)

I have a program that will fill the window with tiles and another sprite that does a random walk, placing "floor tiles" and killing wall tiles as it g..... More

Print this item

  i want to make my own context manager
Posted by: Skaperen - Nov-10-2019, 05:21 AM - Forum: News and Discussions - No Replies

i want to make my own context manager. maybe more than one. i'm reading docs for module contextmanager but it seems to not be very thorough. the fi..... More

Print this item

  What do I put in the "module" argument in a uwsgi.ini file?
Posted by: david503 - Nov-10-2019, 04:00 AM - Forum: Networking - No Replies

Ok I think this should be a simple question since I've boiled it down after hours to this:

I can run this and it works fine:

[code]
bog@bog-Len..... More

Print this item

  How to Display Multiple Time Tables With While Loop
Posted by: ZQ12 - Nov-10-2019, 03:27 AM - Forum: General Coding Help - Replies (2)

I'm trying to write a code which prompts the user to enter a number, then prints its ten-times tables, before moving onto another number (with sentine..... More

Print this item

  User input to calculate Area or Radius of Circle
Posted by: DustinKlent - Nov-10-2019, 03:07 AM - Forum: General Coding Help - Replies (3)

I'm writing a practice script to prompt the user to input "Area" or "Radius", then input the area or radius of a circle to calculate the other.

I ..... More

Print this item

  Alarm Clock GUI
Posted by: tickandatock_ - Nov-10-2019, 02:15 AM - Forum: GUI - Replies (1)

Hello,

I am working on creating an alarm clock GUI using Tkinter as a project. I am planning to run it on a Raspberry Pi 3 B+, using Mu as it had cam..... More

Print this item

  Caeser Cypher Help
Posted by: Ararisvalerian - Nov-10-2019, 12:54 AM - Forum: General Coding Help - Replies (5)

Back story: I was asked to teach some technology classes this year. Little did I know I would be asked to teach python. Now I am learning python wit..... More

Print this item

  Pygame sprite not moving
Posted by: michael1789 - Nov-09-2019, 11:34 PM - Forum: Game Development - Replies (1)

I started on a dungeon generator. So far I have it fill the map with square sprites, spawn another sprite to act as a "digger". I just have the digge..... More

Print this item

  Socket Issue due to AF_UNIX
Posted by: spacemaker18 - Nov-09-2019, 10:52 PM - Forum: Networking - Replies (1)

Hello, I am on Windows and trying to run this Python Discord Bot [url=https://python-forum.io/thread-22356.html]..... More

Print this item

  Flask Streaming not working on IIS Windows
Posted by: Revencu - Nov-09-2019, 10:31 PM - Forum: Web Scraping & Web Development - No Replies

Need a help please:
I created an app to testing stream on Windows.
In development mode the streaming response working (get response in each second)...... More

Print this item

  tkinter progress bar for decending number
Posted by: justaloser - Nov-09-2019, 09:59 PM - Forum: GUI - Replies (1)

Hello everyone, I'm starting an app to track weight loss and other goals. I was wondering if there is a way for the tkinter progress bar to go up when..... More

Print this item

  Cryptocurrency Blockchain Error
Posted by: johnnypy76 - Nov-09-2019, 09:42 PM - Forum: General Coding Help - Replies (2)

Can anybody help? Why am I getting a AttributeError: Blockchain has no attribute "latest block. Error message Angry
[python] ..... More

Print this item

  Python Finally Overtakes Java on Github
Posted by: Skaperen - Nov-09-2019, 09:36 PM - Forum: News and Discussions - No Replies

Python Finally Overtakes Java on Github arti..... More

Print this item

  feasibility of a web forum in Python
Posted by: Skaperen - Nov-09-2019, 08:53 PM - Forum: News and Discussions - Replies (14)

what is your opinion on the feasibility of a web forum written in Python? i notice that the vast majority are written in PHP. even Perl has a limite..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt5 - Get a parameter f... 8 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... 579305
  Tutorial Requ... 512172
  Web Scraping ... 442202
  Newbie with P... 386310
  New Users Int... 379858
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