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,397
» Latest member: atlerpitto4955
» Forum threads: 38,824
» Forum posts: 176,028

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 43 Guest(s)
Bing, Internet Archive, Google, AOL

Latest Threads
Merge video with subtitle...
Forum: General Coding Help
Last Post: Biks
40 minutes ago
» Replies: 27
» Views: 15,499
Shield Of Sparrows Epub D...
Forum: General Coding Help
Last Post: atlerpitto4955
44 minutes ago
» Replies: 0
» Views: 11
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 122
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,602
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 199
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,615
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 170
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 324
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,126
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,984

 
  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: 456)
.docx   Problem 1-3 HELP.docx (Size: 15.83 KB / Downloads: 436)
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: 415)
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: 465)
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

  Learn Python via Zoom Meetings?
Posted by: davidorlow - Jun-16-2021, 12:28 AM - Forum: News and Discussions - Replies (1)

So, the last few weeks, I've been using the app Meetup to find meetings about different topics. It's super cool because there are people out there th..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Merge video with subtitle... 40 minutes ago Pavel_47 Biks General Codin...
  Shield Of Sparrows Epub D... 44 minutes ago atlerpitto4955 atlerpitto4955 General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
Most views
  The best Prog... 580443
  Tutorial Requ... 519759
  Web Scraping ... 442789
  Newbie with P... 386996
  New Users Int... 386655
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
atlerpitto4955 Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday
zcharlesoogleto9533 Yesterday

User Panel Messages

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