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,276
» Latest member: eastnoob
» Forum threads: 38,789
» Forum posts: 175,862

Full Statistics

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

Latest Threads
[BeautifulSoup] A few que...
Forum: Web Scraping & Web Development
Last Post: Winfried
2 hours ago
» Replies: 0
» Views: 25
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
7 hours ago
» Replies: 3
» Views: 248
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:03 AM
» Replies: 1
» Views: 116
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 189
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,102
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 224
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 159
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 219
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 381
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 93

 
  Data is deleting
Posted by: korotkovap - Aug-16-2020, 06:42 AM - Forum: General Coding Help - Replies (1)

I'm only starting Python3 and I found a problem. When I want to print something from a file :
print(old_file.read())
I can only do it once, because..... More

Print this item

  Store Screenshot Selenium + MongoDB
Posted by: Nuwan16 - Aug-15-2020, 09:44 PM - Forum: Web Scraping & Web Development - Replies (9)

[b]I just need to take screenshot of a webpage and store / retrieve that image in mongodb. Below code I'm using to take screenshot of webpage and How ..... More

Print this item

  Win Links
Posted by: millpond - Aug-15-2020, 08:49 PM - Forum: News and Discussions - Replies (1)

File System Links.

In Win7 my C: Drive is starting to get a little crowded, and is due for a replacement sometime in the near future. So I have bee..... More

Print this item

  Remove of reset delegate
Posted by: GMCobraz - Aug-15-2020, 07:59 PM - Forum: GUI - Replies (6)

Dear all,

May I know is there anyway to reset to remove Qstyleditemdelegate?

For example, I switched from radio button A to B.
The delegate set..... More

Print this item

  data from multiple Entry widgets
Posted by: beevee - Aug-15-2020, 07:27 PM - Forum: General Coding Help - Replies (13)

Hi, New python user here.

I have an array of 160 Entry widgets. I created them inside nested for loops, rather than 160 explicit lines. Now, I don..... More

Print this item

  Having hard time understanding the function self-returning itself twice
Posted by: jagasrik - Aug-15-2020, 06:28 PM - Forum: General Coding Help - Replies (2)

I am trying to understand the program written here for Find all possible unique subsets from a set of distinct integers

https://www.w3resource.com/..... More

Print this item

  Stuck on python quiz challenge
Posted by: baesian - Aug-15-2020, 06:08 PM - Forum: General Coding Help - Replies (2)

Hi Y'all.

I have recently purchased a book so I can teach my-self python. I'm just stick on one of the quizzes and need some guidance if possible. ..... More

Print this item

  No Output In Pandas DataFrame Query
Posted by: eddywinch82 - Aug-15-2020, 05:47 PM - Forum: Data Science - Replies (1)

Hi there,

I have the following Python Code, which I run in Jupyter Notebook :-

[python]import pandas as pd
import requests
from bs4 import Bea..... More

Print this item

  No collision detection
Posted by: onizuka - Aug-15-2020, 05:38 PM - Forum: Game Development - Replies (6)

I have a problem with my code. Collisions is not working. I learn from the guide. Variable tiles has data. But something is not working. What am I doi..... More

Print this item

  Algorithm to generate a combination
Posted by: guvinicius2 - Aug-15-2020, 05:00 PM - Forum: Homework - Replies (5)

How to generate a combination of a password:

The vault password is a combination of 3 letters followed by 3 digits in the LLLDDD format. In additio..... More

Print this item

  Help - random number/letter guessing game
Posted by: juin22 - Aug-15-2020, 04:33 PM - Forum: Homework - Replies (1)

I cannot seem to map a random letter to a random number for the question below:

A single-player guessing game uses alphabets in place of digits to..... More

Print this item

  What is the meaning of k in this function?
Posted by: giladal - Aug-15-2020, 11:52 AM - Forum: General Coding Help - Replies (3)

Dear all,

I am in the process of learning python and going through the mod operator.
I am having a hard time understanding what is the meaning of ..... More

Print this item

  Adding data to a table in SQLite3
Posted by: djwilson0495 - Aug-15-2020, 10:01 AM - Forum: General Coding Help - Replies (2)

I'm trying to add data to a table in SQLite3 using the following code:

[python]
import sqlite3 # imports the SQLite library
from tkinter import *..... More

Print this item

  Use function from other class (Tkinter)
Posted by: zarize - Aug-15-2020, 09:49 AM - Forum: GUI - Replies (8)

Hi guys,

I would like to use function defined in main class, in another file/class - Rents.py/class Rents_tab(Frame)

[b][color=#E74C3C]MAIN.PY[/..... More

Print this item

  Syntax error in 2.7.18
Posted by: newtotheprogram - Aug-15-2020, 03:04 AM - Forum: General Coding Help - Replies (4)

I followed a tutorial in setting up a script to where users in a chat could choose the outcome of playing a game. Think Twitchplayspokemon. Now I foll..... More

Print this item

  Using python within an html form
Posted by: t4keheart - Aug-14-2020, 07:57 PM - Forum: Web Scraping & Web Development - Replies (5)

Hi everyone,
I'm wondering if what I'm trying to do is possible. Something that would normally be done with jquery, but I'm wondering if I can simpl..... More

Print this item

  Cannot bring up anaconda in Docker image
Posted by: ErnestTBass - Aug-14-2020, 04:56 PM - Forum: General Coding Help - Replies (1)

I decided to use Spyder as my full screen debugger. It seemed the most user friendly.

I ave used Anaconda many times before on Windows 10, but no..... More

Print this item

  SQLite Unique constraint failed error
Posted by: djwilson0495 - Aug-14-2020, 03:56 PM - Forum: General Coding Help - Replies (3)

I'm trying to make a table in a SQLite3 database using the following code:

[python]
import sqlite3 # imports the SQLite library

with sqlite3.co..... More

Print this item

  This is Very Hard!
Posted by: Harshil - Aug-14-2020, 03:53 PM - Forum: Homework - Replies (13)

Here is the problem

Given an array of integers, return a new array such that each element at index i of the new array is the product of all the num..... More

Print this item

  Please support regex for version number (digits and dots) from a string
Posted by: Tecuma - Aug-14-2020, 03:47 PM - Forum: General Coding Help - Replies (4)

Hello Community,

I have the following string

[python]"SYS"."M_SYSTEM_OVERVIEW" ('System', 'Version', '', '2.00.050.00.1592305219 (fa/hana2sp05)..... More

Print this item

  Help with implementation of the logic to convert roman numeral to integer
Posted by: jagasrik - Aug-14-2020, 03:21 PM - Forum: General Coding Help - Replies (2)

I am trying to convert the given roman numerals to just numerals, with the following logic :
Here,
M - 1000, C-100, X-10, V-5, I-1

example :
R_..... More

Print this item

  KeyError: 1 on a simple loop?
Posted by: preliator - Aug-14-2020, 02:11 PM - Forum: Data Science - No Replies

Hello,

I have a dataframe, which represents the names of combinations, the people who characterize those combinations, and an average score per com..... More

Print this item

  A Question about Expression
Posted by: IA22 - Aug-14-2020, 02:11 PM - Forum: General Coding Help - Replies (2)

If I have the following code:
import re
x = 'From stephen.marquard@uct.ac.za Sat Jan 5 09:14:16 2008'
y = re.findall('\S+?@\S+?', x)
print(y)

..... More

Print this item

  If statement help
Posted by: rachelscott - Aug-14-2020, 02:10 PM - Forum: General Coding Help - Replies (2)

Hello! I am very new to Python. I am trying to create a program that takes user input for the number of exercises and types of exercises and returns a..... More

Print this item

  How to create and define in one line a 2D list of class objects in Python
Posted by: T2ioTD - Aug-14-2020, 12:25 PM - Forum: General Coding Help - Replies (1)

I am attempting to create a hex based strategy game, and I am using Pygame for the first time. Also, while I have many years of experience in coding, ..... More

Print this item

  Help with a handout issue
Posted by: phlzin - Aug-14-2020, 12:23 PM - Forum: General Coding Help - No Replies

Can anyone help me with a study question? I'm learning python and in the handout in question there is an exercise that I can't even begin to do.


..... More

Print this item

  programmation of sr1
Posted by: trazom - Aug-14-2020, 10:41 AM - Forum: General Coding Help - Replies (2)

hi,

i'm learning Python for a few days and i don't understand this command , specially the usage of "/"

here is my code

p = sr1(IP(dst="www...... More

Print this item

  Assign 1 player to the computer
Posted by: ironic100 - Aug-14-2020, 10:22 AM - Forum: General Coding Help - Replies (2)

Hi all,

Nice to be here :) I'm brand new to python so please be nice!

I have this 'last one loses' game to do. I cannot, for the life of ..... More

Print this item

  dilemma with list comprehension
Posted by: spalisetty06 - Aug-14-2020, 09:07 AM - Forum: General Coding Help - Replies (1)

the output of list comprehension is always list That was my perception.
Now I encountered something like below and I am confused. It is not yielding ..... More

Print this item

  How to calculate tax with a variable input and if else
Posted by: afefDXCTN - Aug-14-2020, 06:27 AM - Forum: Homework - Replies (12)

The following is a lab taken from the course on python, which is what I am having difficulty with:

[b]Estimated time 10-15 minutes Level of ..... More

Print this item

  Can argparse support undocumented options?
Posted by: pjfarley3 - Aug-14-2020, 04:03 AM - Forum: General Coding Help - Replies (3)

Suppose I want to have options that I do not normally want to tell the user about in the help message, but which are parsed and processed by argparse ..... More

Print this item

  Assignment to make a multiple choice game
Posted by: blacklight - Aug-14-2020, 02:17 AM - Forum: Homework - Replies (1)

Hi, so for school I had to make a multiple choice game. I was wondering if this program that ive created would be get a good mark. It is graded on the..... More

Print this item

  matplotlib for better waveform display
Posted by: jefflawr - Aug-14-2020, 01:39 AM - Forum: General Coding Help - No Replies

Hi,
I'm trying to use matplotlib for audio waveforms to duplicate some of the features of Audacity. The two things I like are:
1. a moving line over..... More

Print this item

  How can i create a server for already existing client using Python?
Posted by: Chapanson - Aug-13-2020, 09:43 PM - Forum: Networking - Replies (21)

I am really researching for 2 days now but i can't find any clear thing about that . Can Someone explain which modules i have to learn and which progr..... More

Print this item

  Can I include text using artist?
Posted by: tetrisbot - Aug-13-2020, 08:13 PM - Forum: General Coding Help - No Replies

I am trying to update a plot as fast as possible. The quickest way I found so far is in..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [BeautifulSoup] A few que... 2 hours ago Winfried Winfried Web Scraping ...
  Graph Interpolate Difficu... 7 hours ago Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... Yesterday, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
Most views
  The best Prog... 579155
  Tutorial Requ... 511670
  Web Scraping ... 442119
  Newbie with P... 386193
  New Users Int... 378872
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+ 12108
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
eastnoob Yesterday
cruisesfares Yesterday
SavingSquirrel199835 11-18
Astrobert 11-18
DataScientist071 11-18

User Panel Messages

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