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,984
» Latest member: Robertbop
» Forum threads: 38,734
» Forum posts: 175,572

Full Statistics

Online Users
There are currently 42 online users.
» 1 Member(s) | 38 Guest(s)
Bing, Google, AOL, snippsat

Latest Threads
create ocr to detect lice...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 1
» Views: 43
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 10:37 PM
» Replies: 5
» Views: 168
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,035
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 448
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,081
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,148
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 826
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

 
  Python for web development
Posted by: sayyedkamran - Dec-13-2019, 03:40 PM - Forum: News and Discussions - Replies (3)

If Python is such a great language for any task (including web development), why is Python user Forum developed in PHP instead of python?

Print this item

  AttributeError: 'NoneType' object has no attribute 'label' : What's wrong ?
Posted by: Etienne17 - Dec-13-2019, 02:47 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

I'm not able to solve my pb by myself, so let me explain what it is.

I'd like to automate the calculation with Abaqus. So I begi..... More

Print this item

  Why my program works from script but not from GUI?
Posted by: Matgaret - Dec-13-2019, 01:51 PM - Forum: General Coding Help - No Replies

I have a RUN script that runs all programs from the project. The script is run after pressing the OK button in the interface (QtDesigner) and is run b..... More

Print this item

  MYSQL quiz results
Posted by: naveen73 - Dec-13-2019, 01:33 PM - Forum: General Coding Help - Replies (1)

Hi,

We are working on a website and collecting quiz results. We are using Wordpress and ISpring Quizmaker. The results of the quiz are being pushed..... More

Print this item

  Basic Trigonometry Function
Posted by: m8jorp8yne - Dec-13-2019, 10:07 AM - Forum: Homework - Replies (9)

I know I just recently posted a thread, but these are the only two programs i'm having trouble with trying to get them to run properly. I will include..... More

Print this item

  Triangle function program
Posted by: m8jorp8yne - Dec-13-2019, 09:57 AM - Forum: Homework - Replies (2)

I'm pretty much having problems getting this program to run and i'm not sure whats wrong with my code in order to make sure everything is inputted cor..... More

Print this item

  indentations in python code inserts
Posted by: Skaperen - Dec-13-2019, 06:14 AM - Forum: Board - Replies (4)

it seems that python code insert are unindenting all the code lines in a code insert. at least it's the same amount for all lines in the same block, ..... More

Print this item

  abusing comprehensions for one line loops
Posted by: Skaperen - Dec-13-2019, 05:55 AM - Forum: News and Discussions - Replies (6)

how acceptable is it to do this:

    [print(x)for x in foo]
instead of this:
[python]
for x in foo:
print(x)
..... More

Print this item

  ImportError
Posted by: fullstop - Dec-13-2019, 05:22 AM - Forum: General Coding Help - Replies (2)

I have a directory structure as below:
WD/
main.py
pkg1/
__init__.py
file1.py
file2.py

Now I wou..... More

Print this item

  can i raise an exception in a try clause?
Posted by: Skaperen - Dec-13-2019, 04:48 AM - Forum: General Coding Help - Replies (14)

i'm trying to handle reading a cache file using try/except. if the reading fails for any reason, the except clause goes out to the internet and tries..... More

Print this item

  Sprite image.get_rect() moves sprite to 0, 0
Posted by: michael1789 - Dec-13-2019, 04:38 AM - Forum: Game Development - Replies (2)

In the update section I have down below, I have this:
[python]
self.image = pygame.transform.rotate(self.ship_img, self.dir)
print("before get_rect..... More

Print this item

  How to Loop my calculator input
Posted by: Michael1 - Dec-13-2019, 03:30 AM - Forum: General Coding Help - Replies (2)

Hello guys, I created a addition and subtraction calculator and I am wondering how to get the calculator to keep looping where it keeps asking for an ..... More

Print this item

  'invalid syntax' error
Posted by: rix - Dec-12-2019, 11:08 PM - Forum: General Coding Help - Replies (3)

[python]
def accCredDatabasesMethod(method):
if method=="open":
accUsernameDatabase=open("accUsernameDatabase.txt","w+")
accPa..... More

Print this item

  AttributeError: 'Register' object has no attribute 'bit_7'
Posted by: colt - Dec-12-2019, 09:31 PM - Forum: General Coding Help - Replies (1)

Hello. I have this simple class [code]class Register (object):
def init (self):
self.bit_0 = False
self.bit_1 = False
self.bit_2 = True
..... More

Print this item

  Pydoc documentation doesnt work
Posted by: Cosmosso - Dec-12-2019, 09:06 PM - Forum: General Coding Help - Replies (5)

I keep trying to make a html documentation file with pydoc .

I run my code in Python IDLE Shell and then use this:

[python]import <your module name>..... More

Print this item

  Data Cleanup Help Needed
Posted by: Sonali - Dec-12-2019, 08:05 PM - Forum: Data Science - Replies (1)

Hello,

I am pulling CRM entity in our datalake using APIs. Most columns from this particular entity are bringing in the correct information but the c..... More

Print this item

  Create sensor data for a IoT project
Posted by: georgelza - Dec-12-2019, 07:31 PM - Forum: General Coding Help - Replies (9)

Hi all,

Trying to do a little personal IoT project, well 2...

One simulating a Factory with multiple sensors of various types and 2nd a race car..... More

Print this item

  Help with a script (Python)
Posted by: Kometrix - Dec-12-2019, 06:56 PM - Forum: General Coding Help - Replies (3)

Hello dear forum,

we have a web radio and the following rules apply:
- There are two folders from which the script (playlist.py) pulls the songs. ..... More

Print this item

  Paying $5000, DemonBot
Posted by: DemonBot - Dec-12-2019, 06:37 PM - Forum: Jobs - Replies (1)

Demon Bot

A “Sneaker Bot” that can Successfully add and checkout item(s) from specified site(s).


Company Mission:
To be most successful Sneak..... More

Print this item

  I want to log specific data to csv file
Posted by: akshay3210 - Dec-12-2019, 06:24 PM - Forum: General Coding Help - No Replies

Hi,
I'm very new to python. Kindly Help me with this problem.
I have the script which logs for GetAllVars to csv file . But I need to log the data f..... More

Print this item

  yet another code that works on 2 but not in 3
Posted by: rick666 - Dec-12-2019, 05:04 PM - Forum: General Coding Help - Replies (1)

Hi all
sorry for bothering with a similar problem but this time the trick Gribouillis gave me does not
work. The code below sends the input to a p..... More

Print this item

  Handling multiple keyboard entries in Pygame
Posted by: mrcrease - Dec-12-2019, 04:17 PM - Forum: Game Development - Replies (2)

I have some python code that uses a pygame window to establish which key is being pressed. When a key is pressed, the code heads off and does things b..... More

Print this item

  Error in importing package in pycharm
Posted by: fullstop - Dec-12-2019, 04:03 PM - Forum: General Coding Help - No Replies

I have a directory structure as below.
Pro_test_main/Pro_test
I would like to run Pro_test as a module. In my Pro_test folder I have two things, one ..... More

Print this item

  Projectile crashing
Posted by: BlueClaw - Dec-12-2019, 03:40 PM - Forum: Game Development - Replies (2)

After testing in an external loop, everything worked. However, in my level function, it does not work. Can someone please help me?
[python]import os..... More

Print this item

  Keeps looping even after correct answer
Posted by: mcesmcsc - Dec-12-2019, 02:52 PM - Forum: General Coding Help - Replies (2)

I cant get this to stop looping even after correct answer. Any help would be greatly appreciated.
[python]# Administrator accounts list
adminList = ..... More

Print this item

  Web Text Scraper with GUI-V.2
Posted by: pBr_oska - Dec-12-2019, 12:53 PM - Forum: Code sharing - No Replies

[b]

[Image: img.png]
[size=medium][align=center]Link to main project re..... More

Print this item

  clear screen with pycharm
Posted by: boris602 - Dec-12-2019, 12:28 PM - Forum: General Coding Help - No Replies

Hi ,I have found in the internet a code to clear a screen:

def clear_screen():
    os.system('cls' if os.name == 'nt' else 'clear')
..... More

Print this item

  Please help: problem installing/importing langdetect module in Jupyter Notebook
Posted by: ledgreve - Dec-12-2019, 11:51 AM - Forum: General Coding Help - Replies (3)

Hello, I would like to start by letting you know that I am a layperson. I only started working with Python a few weeks ago, so I am new to this. I wou..... More

Print this item

  Coding Work Flow
Posted by: Davy_Jones_XIV - Dec-12-2019, 09:08 AM - Forum: News and Discussions - Replies (4)

Ahoy mates!

Curiosity question.

What is a good resource or method to design a coding project from scratch?

I have been a part of a few exerc..... More

Print this item

  POS receipt print cannot make paper cut using python
Posted by: AP_Development - Dec-12-2019, 08:16 AM - Forum: General Coding Help - Replies (1)

Problem

We are working on a bigger project where we need to make a POS receipt print. We are able to make a print through the browser but the probl..... More

Print this item

  Cannot get selenium to scrap past the first two pages
Posted by: newbie_programmer - Dec-12-2019, 06:17 AM - Forum: Web Scraping & Web Development - No Replies

I am trying to develop a web scrapper that scrapes leader board information and the code below is what I have so far. Everything works and no error me..... More

Print this item

  I couldn't understand the output of the below code
Posted by: ravich129 - Dec-12-2019, 06:14 AM - Forum: General Coding Help - Replies (1)

user = 'Admin'
logedin = 'False'

if logedin:
    print('welcome')
else:
    print('pl login')
the output is welcome

I de..... More

Print this item

  I need to get only string datatype and report in excel file.
Posted by: akshay3210 - Dec-12-2019, 05:51 AM - Forum: General Coding Help - Replies (3)

Hello,
I have a python script which uses a source text file as an input.

The text file contains the data of string, numeric, boolean and action da..... More

Print this item

  d = [0] + [-1e9] * 4000
Posted by: SakshiSingh - Dec-12-2019, 04:21 AM - Forum: General Coding Help - Replies (3)

Problem: Cut Ribbon
Polycarpus has a ribbon, its length is n. He wants to cut the ribbon in a way that fulfils the following two conditions:

After th..... More

Print this item

  How to predict with date as input for DecisionTreeRegressor
Posted by: sandeep_ganga - Dec-12-2019, 03:29 AM - Forum: Data Science - No Replies

Hi Forum,

How to predict with date as input for DecisionTreeRegressor model?

source: student_mark_result_dec_hist.csv

name day subject perce..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  create ocr to detect lice... 4 hours ago bimosora Pedroski55 General Codin...
  Parse Markdown / get the ... Yesterday, 22:37 SpongeB0B Pedroski55 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... 501166
  Web Scraping ... 441081
  Newbie with P... 385156
  New Users Int... 369778
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
Robertbop Today
bimosora Today
kyleconor797 Yesterday
miriamwilliam Yesterday
Davidkiplimo Yesterday

User Panel Messages

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