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,294
» Latest member: alexcarteraus
» Forum threads: 38,795
» Forum posts: 175,884

Full Statistics

Online Users
There are currently 51 online users.
» 0 Member(s) | 43 Guest(s)
Bing, Google, Applebot, Facebook Dev

Latest Threads
How to Score Better Grade...
Forum: General Coding Help
Last Post: alexcarteraus
50 minutes ago
» Replies: 0
» Views: 9
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
1 hour ago
» Replies: 0
» Views: 5
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
7 hours ago
» Replies: 6
» Views: 197
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:18 PM
» Replies: 5
» Views: 89
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 70
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,507
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 166
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 77
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,110
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,313

 
  QGraphicsObject at Mouse Position
Posted by: _meshman_ - Oct-27-2019, 10:10 AM - Forum: GUI - Replies (2)

Hi, can anyone help with a MouseMoveEvent position to QGraphicsView mapping problem? I want to implement a Paint Brush, thus want to draw a circle aro..... More

Print this item

  Get sum of base DLL address and its offsets?
Posted by: freezydi - Oct-27-2019, 08:43 AM - Forum: Homework - No Replies

Hi! Sorry if I missed the section)
I don't know much about С++ and ctypes, please don't kick me right away)
If this question was already asked - sorry..... More

Print this item

  autofill entries from a saved .txt file
Posted by: scottm33 - Oct-27-2019, 05:25 AM - Forum: GUI - Replies (1)

I just started learning python today, let alone any programming language. I have been watching videos and reading forums online for the last 15 hours...... More

Print this item

  Breaking While Loop
Posted by: JustWonderful - Oct-27-2019, 12:26 AM - Forum: General Coding Help - Replies (4)

Hello,

I have potentially eight sequential ifs I need to test for, so instead of nesting eight if statements I thought to use a while loop.
My goa..... More

Print this item

  Problem with readlines() assignment
Posted by: Sunioj - Oct-26-2019, 11:17 PM - Forum: General Coding Help - Replies (5)

Hello there,
I have an assignment which I need to make a loop that reads each line in a text file and then run a condition against the line of text. ..... More

Print this item

  Trying to understand classes
Posted by: menator01 - Oct-26-2019, 08:25 PM - Forum: General Coding Help - Replies (7)

I'm trying to get my head wraped around classes any help would be great.
Example code
[python]
class Game():
def __init__(self):
# code th..... More

Print this item

  keyboad scanner routine(linux and windows)
Posted by: 1885 - Oct-26-2019, 03:34 PM - Forum: General Coding Help - No Replies

I am a beginning python programmer and I also teach introductory python.
I (we) are looking for a keyboard scan routine to capture keyboard input wit..... More

Print this item

  Help - Functions With While Loops
Posted by: pdub787 - Oct-26-2019, 02:41 PM - Forum: Homework - Replies (5)

Cheers! I'm a self-learning beginner using a crash course book. One of the "Try It Yourself" at the end of the chapter has me create a function with a..... More

Print this item

  Python 3.8 -- mysql-connector error
Posted by: adt - Oct-26-2019, 01:55 PM - Forum: News and Discussions - Replies (4)

In my earlier post, it was reported that pip install of some packages fails in case of python 3.8, while there is no such problem for python 3.7.4

..... More

Print this item

  Scrape multiple urls LXML
Posted by: santdoyle - Oct-26-2019, 01:46 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi i want scrape multiple urls using LXML. The code im using allow me scrape one url a a time, but i want to do it in bulk. I tried to doit with a for..... More

Print this item

  print all method and property of list object
Posted by: engmoh - Oct-26-2019, 01:31 PM - Forum: General Coding Help - Replies (4)

lst=[1,2,5]
d=dir(lst)#content all methon and properties

for i in d:
    print(lst.i)
if i run i have
[b]AttributeError: 'l..... More

Print this item

  How I can speed up my Cython module?
Posted by: AlekseyPython - Oct-26-2019, 01:20 PM - Forum: General Coding Help - No Replies

Python 3.7.5rc1, Cython 0.29.13

Hello, I created an ndarray in which, when reading a file line by line, I accumulate the first and last transaction p..... More

Print this item

  How does while-If-elif-else-If loop conditions check run
Posted by: mrhopeedu - Oct-26-2019, 12:35 PM - Forum: General Coding Help - Replies (2)

Hi,

This is a working hangman code, I am struggling to understand how it work,
hope someone here can help me to clarify the 3 questions I have bel..... More

Print this item

  My objective is to get the shape parameters of the particles in attached image
Posted by: chad221 - Oct-26-2019, 10:25 AM - Forum: General Coding Help - No Replies

while using cv2.drawContours to display the counters, the contours are not displayed. While using cv.2 drawContours, I am getting no errors. As I am n..... More

Print this item

  question on syntax
Posted by: ebolisa - Oct-25-2019, 11:38 PM - Forum: General Coding Help - Replies (1)

Hi,

the code below should return UP but it returns DOWN and I cannot understand why.
any help is appreciated.
TIA

[python]from __future__ impo..... More

Print this item

  how can disable menu [About] when Toplevel is active
Posted by: balenaucigasa - Oct-25-2019, 09:49 PM - Forum: GUI - No Replies

Hi. I want to disable the About menu when Toplevel is active.
When the Toplevel window is closed, I want the About menu to be active again.

[pyth..... More

Print this item

  [pyglet] Why is screen blank when displaying a gif when setting fullscreen = True ?
Posted by: Huudzz - Oct-25-2019, 06:13 PM - Forum: GUI - No Replies

(Sorry about my bad english, i'm brazillian)
I created one ui who open one animated gif, when in low screen it works perfectly, but when i add fullsc..... More

Print this item

  drop rows that doesnt matched
Posted by: karlito - Oct-25-2019, 05:57 PM - Forum: Data Science - Replies (6)

Hi,
I'm working on data cleaning for a while (already posted some questions about this Wink ) and this one is really bit "complicated" for me(b..... More

Print this item

  Unable to read decimal datatype using pandasql
Posted by: geethchi - Oct-25-2019, 05:49 PM - Forum: General Coding Help - No Replies

I have a parquet file with 4 columns. It looks something like below.


TYPE | ID | SRNO | AMT

D | 123456 | 1 | 100.00
D ..... More

Print this item

  Module
Posted by: fcktheworld587 - Oct-25-2019, 05:29 PM - Forum: General Coding Help - Replies (5)

Hi, im trying to make a module:
[python]
from distutils.core import setup

setup(
name = "nester"
version = '1.0.0'
..... More

Print this item

  auto supply values to a python script(function) from text file
Posted by: metro17 - Oct-25-2019, 02:55 PM - Forum: General Coding Help - Replies (4)

I need to provide values to my python script which is asking for the following prompts.
TotalPeople = int(input("Please enter num..... More

Print this item

  tkInter and Pillow don't display any images in GUIs - program gives errors instead
Posted by: SomeRandomGuy - Oct-25-2019, 01:15 PM - Forum: GUI - Replies (9)

I'm searching the internet for like 2 hours now and can't find any solutions. I tried multiple images, converted them to .png, .gif and others, but no..... More

Print this item

  Running simple flask - getting 404
Posted by: beginner1 - Oct-25-2019, 12:42 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

Have a file called hello.py saved to D: drive as below.

[python]
from flask import Flask

app = Flask(__name__)

@app.route("/")
def h..... More

Print this item

  Capitalize first letter of names in nested loops
Posted by: student_of_python - Oct-25-2019, 09:52 AM - Forum: Homework - Replies (9)

Hi guys,

I got this:

names=[['peter','jack','bo'],'eva',['christian','joanne',7],'5']
#Make all names in nested loop above with capital first l..... More

Print this item

  Extracting elements in a list to form a message using for loop
Posted by: Tony04 - Oct-25-2019, 08:56 AM - Forum: Homework - Replies (2)

Hello, I'm trying to make a function that will extract letters from a text document to reveal a secret message. I'm stuck at the at the for loop. It s..... More

Print this item

  Help with Plotting Histogram
Posted by: Shimmy - Oct-25-2019, 06:46 AM - Forum: General Coding Help - Replies (1)

I was wondering whether some Python experts which can help me out with generating the histograms. I'm relatively new to Python and all help is welcome..... More

Print this item

  getting the value being tested
Posted by: Skaperen - Oct-25-2019, 06:24 AM - Forum: News and Discussions - Replies (1)

is there any possible way to combine an assignment and an elif test of a value obtained from a function call that is not to be repeat..... More

Print this item

  Finetuning GPT-2 twice for particular style of writing on a particular topic
Posted by: regstuff - Oct-25-2019, 04:39 AM - Forum: News and Discussions - No Replies

Sorry if this is a stupid question. I'm just starting out in NLP and am working with gpt-2 for text generation.

My situation is that I have to gene..... More

Print this item

  Best framework for WebAPI
Posted by: jesssajan - Oct-25-2019, 12:57 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi all,

we are planning to build Web API project using python. any suggestion for web framework?

Print this item

  quick function to get indentation level
Posted by: Skaperen - Oct-25-2019, 12:48 AM - Forum: News and Discussions - Replies (1)

i'm reading in a series of lines. it might be better to think of this as iterating over an iterator of lines. the lines may be indented just like r..... More

Print this item

  Find Average of User Input Defined number of Scores
Posted by: DustinKlent - Oct-24-2019, 11:53 PM - Forum: General Coding Help - Replies (1)

I am attempting to write a short practice script that finds the average of a user defined number of scores.

Here is the code I have:

[python]
..... More

Print this item

  is Path.samefile() always commutative?
Posted by: Skaperen - Oct-24-2019, 11:42 PM - Forum: News and Discussions - Replies (1)

is Path.samefile() always commutative? the documentation does not say. if both are symlinks, each pointing somewhere else, i'd think it would have t..... More

Print this item

  Inaccurate result when a vector is divided by a matrix
Posted by: FromTheColdNorth - Oct-24-2019, 10:24 PM - Forum: General Coding Help - Replies (3)

I'm relatively new in Python, I did a lots of programs in Octave but now try to transfer them in PyThon.
One of my program divide a vector by a matri..... More

Print this item

  Windows Vista
Posted by: fpefpe - Oct-24-2019, 09:34 PM - Forum: News and Discussions - No Replies

What version of python 3 can I install on vista? 3.8.0 crashed during the install -- I did not see any info in the
download page about system requ..... More

Print this item

  Sending data post to wsgiref
Posted by: JohnnyCoffee - Oct-24-2019, 09:04 PM - Forum: Web Scraping & Web Development - No Replies

Hi,

I am using the Wsgiref module to handle data entry through the GET method how can I handle getting data from a form via the POST method ?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Score Better Grade... 50 minutes ago alexcarteraus alexcarteraus General Codin...
  silent deployment Python ... 1 hour ago Bummibaer Bummibaer News and Disc...
  data fetching for indian ... 7 hours ago drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... Yesterday, 14:18 Ninja2112 deanhystad GUI
  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...
Most views
  The best Prog... 579316
  Tutorial Requ... 512225
  Web Scraping ... 442207
  Newbie with P... 386312
  New Users Int... 379940
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
alexcarteraus Today
Bummibaer Today
Elevyn Today
kienvtm Today
irukson Today

User Panel Messages

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