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,937
» Latest member: atylerfraces2254
» Forum threads: 38,721
» Forum posts: 175,507

Full Statistics

Online Users
There are currently 68 online users.
» 1 Member(s) | 63 Guest(s)
Bing, Google, AOL, AOL, Gribouillis

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,147
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 620
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,538
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 961
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,461
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,302
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,506
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,464
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,613
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,178

 
  Attribute Error received not understood (Please Help)
Posted by: crocolicious - Jun-18-2021, 09:13 PM - Forum: General Coding Help - Replies (5)

Hello Community,

I’m having trouble understanding why the following query fails. I’ve run this in the editor a few times but it’s still not clicki..... More

Print this item

  Bachelor Thesis
Posted by: iamaghost - Jun-18-2021, 09:00 PM - Forum: News and Discussions - Replies (2)

hey community,

I am finishing my bachelors this year. I am studying Maths to become a teacher.
Recently I started programming with python and my..... More

Print this item

  'import Path' do not understand how to use it
Posted by: tester_V - Jun-18-2021, 08:53 PM - Forum: General Coding Help - Replies (2)

Greetings!
You guys pointed me to this module - 'import Path' and I'm trying to understand how to use it.
Seached Google, found now simple examples,..... More

Print this item

  Pandas dictionary dataframe help
Posted by: michaelserra - Jun-18-2021, 08:00 PM - Forum: General Coding Help - Replies (4)

I am developing a little program that stores user credentials in a dictionary and transfer them in a Pandas dataframe. Since the credentials are store..... More

Print this item

  Change item value from 5 to good
Posted by: Clives - Jun-18-2021, 03:18 PM - Forum: Web Scraping & Web Development - Replies (2)

Greetings,
I have spent ages searching javascript in Google, but couldn't find any pointers or examples.

I have a range of values returned in a Ta..... More

Print this item

  Why doesnt chunk generation work?
Posted by: LotosProgramer - Jun-18-2021, 01:13 PM - Forum: General Coding Help - Replies (1)

So basically I have been trying to get a terrain generator but the values are always the same on the top left corner. Any ideas why? Wall **wall*..... More


Attached Files

Thumbnail(s)
   
Print this item

  Need Help splitting a column into many columns
Posted by: cokicoki - Jun-18-2021, 12:30 PM - Forum: General Coding Help - No Replies

/////

Print this item

  Drawing in PySide
Posted by: Leo_Red - Jun-18-2021, 11:52 AM - Forum: GUI - Replies (3)

Hi, I am looking for an widget that can be used to draw on. I looked into the PySide documentation for hours, still didn't find anything. I checked ou..... More

Print this item

  [Solved] Trying to read specific lines from a file
Posted by: Laplace12 - Jun-18-2021, 11:51 AM - Forum: General Coding Help - Replies (7)

Hey,

I'm struggling with a simple code. I want to extract certain lines from data files. The data files have up to a 100 times datasets after each..... More

Print this item

  Web Scraping in Python
Posted by: cokicoki - Jun-17-2021, 11:26 PM - Forum: Web Scraping & Web Development - Replies (5)

Need some assistance on web scraping, the url is (https://m.imdb.com/name/nm1475594/filmotype/actor)

how can I parse the page to create a Pandas da..... More

Print this item

  Non Grade/School Help - PLEASE
Posted by: gbyrne12 - Jun-17-2021, 09:29 PM - Forum: Homework - Replies (8)

Hello, stuck on a few issues for 3 problems for a online do it yourself course. Code and Comments from instructor attached. Any help greatly appreciat..... More


Attached Files

.pdf   Problem 1-3 HELP.pdf (Size: 129.2 KB / Downloads: 442)
.docx   Problem 1-3 HELP.docx (Size: 15.83 KB / Downloads: 421)
Print this item

  random from python dictionary
Posted by: rwahdan - Jun-17-2021, 07:45 PM - Forum: General Coding Help - Replies (2)

I have a dictionary and I need to select 3 items randomly (the key and value).

[python]

items = {

'HP Laptop Charger':125,
'Wireless..... More

Print this item

  HTTP 404 error with Session Pool
Posted by: Clives - Jun-17-2021, 06:45 PM - Forum: Web Scraping & Web Development - No Replies

Greetings,

The connection works with just a single user connection, but I get a HTTP 404 error, when creating a Session Pool connection??

I used..... More

Print this item

  Where is the memory leak in this Flask Code?
Posted by: Morkus - Jun-17-2021, 05:16 PM - Forum: General Coding Help - Replies (1)

I'm having an issue where every time I run a method in a Flask service, the memory grows. Not sure why.

This looks to be the problem method:

[py..... More

Print this item

  Windows 3.7.10 Installer
Posted by: bean2099 - Jun-17-2021, 04:21 PM - Forum: General Coding Help - Replies (3)

Help!

I need to upgrade 3.7.6 to the latest build of 3.7.10 (security fixes). I can't seem to figure out how to compile a new installer. Any help..... More

Print this item

  I don't undestand why my code isn't working.
Posted by: RuyCab - Jun-17-2021, 02:56 PM - Forum: General Coding Help - Replies (2)

[python]treinamentos = [
{'treinamento':'Scrum','moedas':30},
{'treinamento':'Data Science','moedas':40},
{'treinamento':'Gestão de Projetos','moed..... More

Print this item

  Averaging sensor results
Posted by: igorv1234 - Jun-17-2021, 02:44 PM - Forum: General Coding Help - Replies (1)

I have written the following code in python to monitor three sensor values per minute
My goal is to measure every second and take the average per min..... More

Print this item

  Key Error: os.environ["HOME"]
Posted by: Anldra12 - Jun-17-2021, 02:32 PM - Forum: General Coding Help - Replies (12)

I run the python script in python3.8 and this return an key error

Error:
raise KeyError(key) from None E KeyError: 'HOME'
[b]Line No: 20 co..... More

Print this item

  Reading and storing a line of output from pexpect child
Posted by: eagerissac - Jun-17-2021, 12:22 PM - Forum: General Coding Help - Replies (1)

I'm new to learning pexpect and regex and I'm having some trouble figuring out how to get the output of a command I send and store it in a variable, b..... More

Print this item

  [Solved] Please, help me find a simple mistake
Posted by: AlekseyPython - Jun-17-2021, 10:24 AM - Forum: General Coding Help - Replies (2)

Fedora 34, Python 3.9.5

[python]from PyQt5 import QtWidgets
from PyQt5.QtWidgets import QWidget

class M_A(type(QWidget), type):pass
class A(QW..... More

Print this item

  Dynamically changing Xpath
Posted by: AgileAVS - Jun-17-2021, 10:03 AM - Forum: Web Scraping & Web Development - Replies (3)

Hey I have been trying to extract data from table from this website:
https://www.macrotrends.net/stocks/chart...ial-ratios
..... More


Attached Files

.py   Key Ratios.py (Size: 7.62 KB / Downloads: 404)
Print this item

  Print Report Invoice
Posted by: nio74maz - Jun-17-2021, 08:25 AM - Forum: General Coding Help - No Replies

Good day, I'm would like make a management software, I'm searching a library for to do reports invoices and then print them (similar Crystal report i..... More

Print this item

  How to automatically close mathplotlib output window?
Posted by: Pedroski55 - Jun-17-2021, 05:12 AM - Forum: General Coding Help - Replies (2)

I was hoping I could display the output window for a few seconds then close it automatically, but that's not happening.

What am I doing wrong?

[..... More

Print this item

  Find factor to match test curve to golden curve
Posted by: SriRajesh - Jun-17-2021, 04:39 AM - Forum: General Coding Help - No Replies

Hi,
I have a golden curve and test curve, I want to find a factor to multiply each value in test data such as to match (close to) golden curve slope ..... More


Attached Files

.csv   test.csv (Size: 137 bytes / Downloads: 455)
Print this item

  find 'yesterdays files'
Posted by: tester_V - Jun-16-2021, 09:50 PM - Forum: General Coding Help - Replies (8)

Greetings!
I guess the question is not new, but I cannot find a clan small snippet.
I found one here, on this forum - it has a function and 25 lines..... More

Print this item

  This is an Object - Code interpretation
Posted by: JoeDainton123 - Jun-16-2021, 06:50 PM - Forum: General Coding Help - Replies (2)

Hello all

I am trying to gain a better understanding of object orientation programming.

I cam across the following code:-

[python]

import ..... More

Print this item

  Mastermind game in python
Posted by: veronwltan - Jun-16-2021, 04:46 PM - Forum: General Coding Help - Replies (5)

First year student here trying to code a Mastermind game in python (3.9.4) and the ending code doesnt seems to print the winning messages (As in after..... More

Print this item

  Coding a formula
Posted by: citizen - Jun-16-2021, 03:23 PM - Forum: General Coding Help - Replies (2)

Hello

I'm learning python, and have an exercise to do in order to practice bracketing operators. The exercise is to code the following formula:

..... More

Print this item

  AttributeError: 'DataFrame' object has no attribute 'Articles'
Posted by: Anldra12 - Jun-16-2021, 02:43 PM - Forum: General Coding Help - Replies (5)

Purposes I want to plot feathers importance for data prediction and training and testing

[b]Running Time Err..... More

Print this item

  [Solved] TypeError when calling function
Posted by: Laplace12 - Jun-16-2021, 12:56 PM - Forum: General Coding Help - Replies (2)

Hey,

I'm trying to plot a multi-gaussian function to some data, but the code runs a TypeError:

[python]import numpy as np
import matplotlib.pyp..... More

Print this item

  Missing Schema-Python Question
Posted by: Andwconteh - Jun-16-2021, 12:52 PM - Forum: General Coding Help - Replies (1)

Good morning all,

My web scraping program gives me a missing schema invalid URL error, and I do not know how to fix it. I am surely appreciate if s..... More

Print this item

  easy name problem
Posted by: Steinsack - Jun-16-2021, 12:34 PM - Forum: General Coding Help - Replies (1)

Hello,

I am a beginner in Phyton. It is a very basic question I guess, but pls help me anyway :)

[python]listA=[]
a=input()
globals()[a]=[] ..... More

Print this item

  [Solved] Using readlines to read data file and sum columns
Posted by: Laplace12 - Jun-16-2021, 08:24 AM - Forum: General Coding Help - Replies (4)

Hey! I'm working with a data file with 5 columns. My aim is to read from a data file the first and last 20 lines and calculate the sums of first and l..... More

Print this item

  idle and characters with decimal value>127
Posted by: hakelm - Jun-16-2021, 07:34 AM - Forum: General Coding Help - Replies (14)

If I running python 3.8 in the terminal do
print(chr(65)+chr(128))
I get the expected result
A�
but if I execute the same command in idle 2.7.12 ..... More

Print this item

  What WERE They Thinking : Python 3.9x
Posted by: millpond - Jun-16-2021, 12:50 AM - Forum: News and Discussions - Replies (8)

On my Debian Install I loaded v3.9 in /opt and all worked out fne. It doesnt mess with system Python. All is well.

Then comes Win.
I have Win7.1..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576426
  Tutorial Requ... 498249
  Web Scraping ... 440335
  Newbie with P... 384212
  New Users Int... 367257
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+ 12087
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday
Baran12332 09-19
Hershien 09-19

User Panel Messages

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