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,287
» Latest member: OLanePulse
» Forum threads: 38,792
» Forum posts: 175,875

Full Statistics

Online Users
There are currently 37 online users.
» 1 Member(s) | 30 Guest(s)
Bing, Google, DuckDuckGo, Mojeek, Apple, lovedeep

Latest Threads
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 128
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 52
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,485
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 149
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 66
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,075
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,302
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 379
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 217
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 269

 
  Where can I find the ledpixels module?
Posted by: epl - Dec-09-2019, 07:45 PM - Forum: Homework - Replies (1)

Hello

In an online course from school my Python programms start with:

from ledpixels import *
from time import sleep
Wh..... More

Print this item

  Is there any way to compact this code?
Posted by: Vantage - Dec-09-2019, 06:36 PM - Forum: General Coding Help - Replies (2)

I have created a super basic text based snakes and ladders game. I felt presetting the positions of the snakes and ladders was the best way to go abou..... More

Print this item

  CSV file escaping characters
Posted by: lokhtar - Dec-09-2019, 05:59 PM - Forum: General Coding Help - Replies (2)

Hello,

I am trying to do something relatively simple - load a csv file and create a list (or a dataframe). The separator for my file is "|", but the..... More

Print this item

  Early data import question
Posted by: VorpalPirate - Dec-09-2019, 05:22 PM - Forum: General Coding Help - Replies (2)

Just started with Python with a view to building a GUI based programme to replace something I currently have in Excel. Right now Excel uses a data lin..... More

Print this item

  Installing PIP packages issue
Posted by: Renym - Dec-09-2019, 04:26 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

I am using Python 3.8 version and PyScripter and I could not install PIP openpyxl package following their website instructions. I am b..... More

Print this item

  update txt file but keep a specific line
Posted by: 3Pinter - Dec-09-2019, 02:43 PM - Forum: General Coding Help - Replies (2)

Hi,

I'd like run "an update a file from a template file" routine.

Setup:
target file (target.txt)
template file (template.txt)

Info:
targe..... More

Print this item

  Conditionally lazy load modules
Posted by: amb85 - Dec-09-2019, 12:59 PM - Forum: General Coding Help - Replies (1)

I want to use a decorator to append a function to a list of commands to be run. I'd like to be able to use the decorator in arbitrary modules and not ..... More

Print this item

  Stuck on Music Quiz
Posted by: Kartana_Cam - Dec-09-2019, 12:38 PM - Forum: Homework - Replies (3)

Stuck on Music Quiz Game

Hello, I am doing an assignment which is a Music Quiz Game, I have completed The Login, Menu, Rules and now ..... More

Print this item

  3D graph
Posted by: erealvic - Dec-09-2019, 11:08 AM - Forum: Homework - Replies (1)

Hello everyone ,
Well I'm new in Python , I have to submit an homework at university ,I'm in finance field ,it's about creating a volatility surface..... More

Print this item

  Banking system - transferring money
Posted by: 3DEN - Dec-09-2019, 10:35 AM - Forum: Homework - Replies (2)

hello, Im having trouble trying to transfer money from sender to sender so I would appreciate some help thanks! from the line 94

[python]
from cu..... More

Print this item

  Attribute error in code
Posted by: 3DEN - Dec-09-2019, 09:46 AM - Forum: Homework - Replies (1)

I need help with this code, it says Attribute Error "CustomerAccount' object has no attribute 'get_cu



[python]from customer_account import Cust..... More

Print this item

  How to clean session mqtt
Posted by: SayHiii - Dec-09-2019, 07:56 AM - Forum: General Coding Help - No Replies

[python]import paho.mqtt.client as mqtt
import subprocess
import os
import time

def on_connect(client, userdata, flags, rc):
print ("Connec..... More

Print this item

  Random.randint not working please help
Posted by: SupaNub - Dec-09-2019, 07:45 AM - Forum: Game Development - Replies (4)

Hello im trying to build my first game SPACEINVADERS but when i try to make the enemy pop-up in different/random locations i get the following :

[e..... More

Print this item

  weird number output
Posted by: karlito - Dec-09-2019, 07:12 AM - Forum: Data Science - Replies (12)

Hi,
I have already converted the column x (see picture) into float64 but the output is really "weird" specially on excel but with Pandas it still sav..... More

Print this item

  Highlight and remove specific string of text
Posted by: itsalmade - Dec-09-2019, 05:04 AM - Forum: General Coding Help - Replies (5)

Ok sorry for my newb question, but I figured this was the best place to start. (no real python Knowledge)

Basically I am using a program Called Eve..... More

Print this item

  Looking to learn more
Posted by: Cheesinoncake - Dec-09-2019, 01:44 AM - Forum: General Coding Help - Replies (1)

I'm sorry if this is in bad taste, I'm new to the forum and to Programming as a whole. I've been learning Python for about four days now. I've mostly ..... More

Print this item

  Why use HTML in Django Template
Posted by: ift38375 - Dec-09-2019, 01:25 AM - Forum: Web Scraping & Web Development - Replies (2)

I am confuse in usage of HTML(.html) in Django templates,
why we can not use .py (python) in Django templates ?

Print this item

  Variables shared between game states, how to?
Posted by: michael1789 - Dec-09-2019, 12:33 AM - Forum: Game Development - Replies (5)

I've followed metulburr's tutorial: https://python-forum.io/Thread-PyGame-Cr...te-machine

Thanks for this BTW.

I'm able to code new s..... More

Print this item

  index error in text script
Posted by: Bartry - Dec-08-2019, 11:50 PM - Forum: General Coding Help - Replies (2)

Hi,
I'm getting an error in the script.
IndexError: list index out of range

Can anyone help?
[python]
class SMSMessage(object):

"""
..... More

Print this item

  List Help
Posted by: slackerman73 - Dec-08-2019, 09:51 PM - Forum: Homework - Replies (3)

Below is a snippet of my program.

I need to be able to match the user's input to a website and then print the password associated with that website..... More

Print this item

  Tk Assistant
Posted by: steve_shambles - Dec-08-2019, 09:38 PM - Forum: GUI - Replies (1)

Tk Assistant V2.0w

[Image: python-tkinter-assistant-gui-help-ss1.png]

This may be of interest to ..... More

Print this item

  Why is my train and test accuracy so low?
Posted by: python420 - Dec-08-2019, 08:51 PM - Forum: Data Science - No Replies

So I am studying this dataset: https://archive.ics.uci.edu/ml/datasets/...ng+Dataset

My code and dataset can be found here: https://www.4sha..... More

Print this item

  Sort y axis by descening values matplotlib
Posted by: mrsenorchuck - Dec-08-2019, 08:13 PM - Forum: General Coding Help - No Replies

See below code, the problem with this logic is that I want the y axis to be in a descending format where a league position of 1 is higher that 5.

H..... More

Print this item

  Python, youtube scraping.
Posted by: Jardz04 - Dec-08-2019, 04:32 PM - Forum: Web Scraping & Web Development - Replies (2)

Hey there.
New to web scraping and wanted to try making a Tubesift like application(web-based) and only for personal use for now. I also want to mak..... More

Print this item

  Scraping next page of LinkedIn jobs
Posted by: RiteshMahto - Dec-08-2019, 02:31 PM - Forum: Web Scraping & Web Development - Replies (6)

Hi All,

I scraping LinkedIn to get all the job postings.

Using BeautifulSoup i am able to get the first 25 jobs from 1st page.

Any help on ho..... More

Print this item

  IndentationError: unexpected indent in views.py
Posted by: ift38375 - Dec-08-2019, 12:45 PM - Forum: Web Scraping & Web Development - Replies (1)

Sir,
I am trying to create project in Django using GET and POST request mechanism
but Views.py file giving some error in line 25 so please help me o..... More

Print this item

  Why Python replaces Excel in banking
Posted by: wavic - Dec-08-2019, 10:18 AM - Forum: News and Discussions - Replies (7)

Here is why: https://news.efinancialcareers.com/us-en...el-banking

Print this item

  advice needed to construct queries in flask-sqlalchemy from mysql select
Posted by: pascale - Dec-08-2019, 07:03 AM - Forum: Data Science - No Replies

Hi,
I have a libre office database for my accounts and I am trying to create a flask app on a local net to reproduce the database making it easier to..... More


Attached Files

.py   models.py (Size: 6.71 KB / Downloads: 2)
Print this item

  Need help with my program
Posted by: zeclipse21 - Dec-08-2019, 06:26 AM - Forum: General Coding Help - Replies (1)

This is supposed to be the outcome of my code
[output]Enter your choice: 3
Enter the value of the base followed by the exponent: 5 3
The pow..... More

Print this item

  Local Multi-Device Multiplayer, with Pygame+async
Posted by: nilamo - Dec-08-2019, 02:57 AM - Forum: Game Development - No Replies

What we have here is the outcome of the wonderful question "I wonder if that would work". By running pygame via async, and bolting aiohttp on top of ..... More

Print this item

  Internet Security Question
Posted by: ichabod801 - Dec-08-2019, 02:40 AM - Forum: Bar - Replies (6)

I have gotten into reading Greg Hurwitz's books. One of these series is the Orphan X series. In it they have this security protocol. Two people have a..... More

Print this item

  Download video
Posted by: arthur_cti - Dec-07-2019, 09:42 PM - Forum: General Coding Help - Replies (8)

Can you tell why you can't download vimeo and youtube videos with this code? Would they have a solution?

[python]import requests

url = "https://..... More

Print this item

  Partitioning when splitting data into train and test-dataset
Posted by: Den0st - Dec-07-2019, 08:31 PM - Forum: Data Science - No Replies

[Image: mDDYhdn]
In this image you can see a simplified example from how my dataset looks like.

My goal is to create a text-clas..... More

Print this item

  python dictionnary
Posted by: Omar_Yatim - Dec-07-2019, 07:50 PM - Forum: General Coding Help - Replies (3)

i just started learning python and following an online course
in the course there is this dictionary :
pairs = {1: "apple", "orange": [2, 3, 4], Tr..... More

Print this item

  How to set which sides are axes in 3d plot?
Posted by: pyhouton - Dec-07-2019, 07:10 PM - Forum: General Coding Help - No Replies

Hi, how to please set the opposite sides as axes (back)? Thank you

[python]import matplotlib as mpl

from mpl_toolkits.mplot3d import Axes3D

i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  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
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
Most views
  The best Prog... 579273
  Tutorial Requ... 512135
  Web Scraping ... 442191
  Newbie with P... 386302
  New Users Int... 379688
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 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
OLanePulse Today
xdimbah Today
IsmaelSlalk Today
Stephenchers Today
alexferrina Yesterday

User Panel Messages

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