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,985
» Latest member: chikkamagalur
» Forum threads: 38,734
» Forum posts: 175,574

Full Statistics

Online Users
There are currently 51 online users.
» 1 Member(s) | 45 Guest(s)
Bing, AOL, Google, Apple, DeaD_EyE

Latest Threads
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
55 minutes ago
» Replies: 2
» Views: 52
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
58 minutes ago
» Replies: 6
» Views: 174
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,039
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 452
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,083
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,152
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 833
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,107
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,548
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,138

 
  Kivy pip installation problem (windows 10)
Posted by: sebastian - Dec-10-2019, 03:09 PM - Forum: General Coding Help - Replies (1)

I've been learning Python for about a month now, I've managed to successfully install a pip module before. I'd like to practice a bit of Kivy, but the..... More

Print this item

  Reverse the string word
Posted by: sneha - Dec-10-2019, 03:00 PM - Forum: General Coding Help - Replies (2)

Hello friends,
I am trying to reverse the words present in the string(for eg. I am a student output:student a am I) . I have reference code but i did..... More

Print this item

  Label, align imported text from pandas
Posted by: kundrius - Dec-10-2019, 02:01 PM - Forum: GUI - Replies (2)

Hello,

this is my first Python code ever and I'm stuck with imported text alignment. The idea is to load material list from excel sheet into "label..... More

Print this item

  Can't seem to figure out how to delete several lines from a text file
Posted by: Cosmosso - Dec-10-2019, 02:00 PM - Forum: General Coding Help - Replies (9)

I want to delete a block of text from a text file that looks like this:

[quote]1
Date stored: 2019-02-01;
Author name: l;
Book..... More

Print this item

  Randomly assign values in List 1 to a value in List 2
Posted by: Seneca260 - Dec-10-2019, 11:53 AM - Forum: General Coding Help - Replies (7)

Hi all,

I am learning Python and also teaching a class and I want to build a program that random assigns students a day to do their presentation.

[p..... More

Print this item

  how to open program file .exe from list
Posted by: SayHiii - Dec-10-2019, 08:24 AM - Forum: General Coding Help - Replies (2)

here is my code
[python] if mybuffer == "b'Open'":
print("Program is Opening")
your_Po = (r'C:\Qt\5.13.1\mingw73_32\bin\designe..... More

Print this item

  i can't load model
Posted by: davitneparidze - Dec-10-2019, 07:29 AM - Forum: Data Science - No Replies

i trained model on google-colab, then i saved it with pickle, then downloaded.at last i loaded model with pickle, but it is not working, i mean i shou..... More

Print this item

  Help with Maths (inverse squares)
Posted by: michael1789 - Dec-10-2019, 04:38 AM - Forum: Data Science - Replies (5)

Hello, hope this is the right forum for this question.

I'm generating star systems for a game and I could use some suggestions on the math.

I'..... More

Print this item

  Tkinter Tic Tac Toe With Enhanced Features - Completed
Posted by: adt - Dec-10-2019, 03:18 AM - Forum: Code sharing - Replies (2)

My first python project, an advanced version of Tic Tac Toe on Tkinter, incorporating enhanced features, can be downloaded at the following link:
[ur..... More

Print this item

  HttpRequest vs HttpResponse in Django
Posted by: ift38375 - Dec-10-2019, 01:24 AM - Forum: Web Scraping & Web Development - Replies (2)

Httprequest.method attribute exists in Django but i do not know about HttpResponse.method attribute is exists or not ?

Print this item

  write an integer to file using a function
Posted by: xvkxvo - Dec-10-2019, 12:21 AM - Forum: General Coding Help - Replies (4)

Hello All - Python newbie here. I develop using pycharm aided by w3schools. I am playing with writing functions atm. Question is, i can't seem to writ..... More

Print this item

  Installing cx_Oracle 64-bit on AIX
Posted by: Nash - Dec-10-2019, 12:20 AM - Forum: General Coding Help - No Replies

We are getting the below error while installing cx_Oracle using Python pip.

Note: Python, cx_Oracle, Oracle client and AIX ($OBJECT_MODE) are all 6..... More

Print this item

  Preferred way to slice a list
Posted by: SvetlanaofVodianova - Dec-09-2019, 10:01 PM - Forum: General Coding Help - Replies (3)

In the Zen of Python, it states:

[quote]There should be one-- and preferably only one --obvious ..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  create ocr to detect lice... 55 minutes ago bimosora noisefloor General Codin...
  Parse Markdown / get the ... 58 minutes ago SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... Yesterday, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
Most views
  The best Prog... 577459
  Tutorial Requ... 501178
  Web Scraping ... 441083
  Newbie with P... 385157
  New Users Int... 369787
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
chikkamagalur Today
Costa Today
bimosora Today
kyleconor797 Yesterday
miriamwilliam Yesterday

User Panel Messages

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