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,969
» Latest member: samuelshlzeo7159
» Forum threads: 38,731
» Forum posts: 175,555

Full Statistics

Online Users
There are currently 50 online users.
» 0 Member(s) | 44 Guest(s)
Applebot, Bing, Google, AOL, Google Image

Latest Threads
Cannot update or install ...
Forum: General Coding Help
Last Post: Jacobjoift
13 minutes ago
» Replies: 7
» Views: 237,102
Посты о цветах
Forum: Data Science
Last Post: Jacobjoift
14 minutes ago
» Replies: 0
» Views: 5
Webscrapping sport bettin...
Forum: Web Scraping & Web Development
Last Post: Jacobjoift
1 hour ago
» Replies: 5
» Views: 13,766
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
1 hour ago
» Replies: 8
» Views: 404
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,802
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 667
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,201
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,768
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 658
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,160

 
  coding a function
Posted by: helpless_coder - Apr-29-2020, 03:08 PM - Forum: Homework - Replies (7)

Hello everyone

I have an assignment for university which I am having some problems with. We have to define a function which will return the utility..... More

Print this item

  Recommend a GUI library (targetting Raspberry PI with small screen)
Posted by: dcjams - Apr-29-2020, 02:59 PM - Forum: General Coding Help - Replies (1)

Hello

I'm an experienced developer across many languages and have finally got round to having a look at Python which is really interesting so far. ..... More

Print this item

  Help extracting text from element
Posted by: jpdallas - Apr-29-2020, 02:39 PM - Forum: Web Scraping & Web Development - Replies (7)

I've tried many different ways but can't seem to extract the product title and price from the following element:

<h1 itemprop="name" overrideelemen..... More

Print this item

  How to make each thread send multiple requests in python3?
Posted by: Contra_Boy - Apr-29-2020, 02:38 PM - Forum: General Coding Help - No Replies

I have written this script below and wanted to see how I can edit the script so that each thread sends multiple requests? Any suggestions how I can ac..... More

Print this item

  floating point not increasing properly
Posted by: rakeshpe43 - Apr-29-2020, 02:31 PM - Forum: General Coding Help - Replies (4)

Hi,

whenever i run the below loop as part of a code

x=0.
while(x<=2):
x+=.1
print(x)


i am getting the followi..... More

Print this item

  cv2/numpy
Posted by: d8a988 - Apr-29-2020, 02:18 PM - Forum: Data Science - Replies (4)

I am trying to obtain x,y coordinates by clicking on a graph in png format.
The following code works properly but it looks like that
x and y have ..... More

Print this item

  Python Image Library Help Raspian Raspberry Pi
Posted by: JamesGunn - Apr-29-2020, 02:09 PM - Forum: GUI - Replies (4)

Hello, I'm sorry this is a basic question, I've combed the internet following multiple tutorial/forum posts regarding this issue and I'm no further fo..... More

Print this item

  combobox and button
Posted by: Agusben - Apr-29-2020, 12:29 PM - Forum: GUI - Replies (1)

Is there a way to make a button appear after a specific value is selected from a Combobox?
I want to make a program that creats differents amounts of..... More

Print this item

  Bayesian network, DAG
Posted by: villamroland - Apr-29-2020, 11:58 AM - Forum: Data Science - Replies (1)

Hi!

I have a big medical database(.csv) with apr. 15 variable. All variables can be non-measured, normal, or abnormal. A row shows a patient's meas..... More

Print this item

  Best extension for Andriod developing ?
Posted by: samuelbachorik - Apr-29-2020, 11:55 AM - Forum: General Coding Help - Replies (1)

Hello i am using PyQt for windows GUI applications for long time but now i want to learn how to make android apps. Please can you give me some tips fo..... More

Print this item

  Mysql-Python Connectivity Error
Posted by: aryamanurs - Apr-29-2020, 11:38 AM - Forum: General Coding Help - Replies (2)

Installed the mysql-connector through pip. Got the following error while establishing the connection. All the connection details are proper.
[b]This ..... More

Print this item

  PM
Posted by: pyzyx3qwerty - Apr-29-2020, 10:46 AM - Forum: Board - Replies (1)

So, when I look in my my PMs folder I see that 53% of my PM space has already been used. Is there any way to delete these Private messages?

Print this item

  I need some advice on My python Journey
Posted by: bhawish_kumar9 - Apr-29-2020, 10:37 AM - Forum: News and Discussions - Replies (2)

Hello guys,
basically I have been learning python from a course called "python for everybody" . I have managed to get on the end of 3rd course. Ho..... More

Print this item

  Free e-books from Springer
Posted by: perfringo - Apr-29-2020, 10:26 AM - Forum: News and Discussions - Replies (1)

There are free titles available from Springer about wide range of topics (read more: ..... More

Print this item

  class arguements
Posted by: astral_travel - Apr-29-2020, 10:03 AM - Forum: General Coding Help - Replies (7)

I've noticed - sometimes there is code like this:

[python]class Person:
def __init__(self, name, age):
self.name = name
self.age = age..... More

Print this item

  Learning to have Class and doing stuff with it...
Posted by: bako - Apr-29-2020, 08:18 AM - Forum: General Coding Help - Replies (2)

PSA: Python noob trying to learn the whole module import, Class usage, and function creation stuff.

[error]Traceback (most recent call last):
Fi..... More

Print this item

  Python uppercase conversion conditions
Posted by: Jaypeng - Apr-29-2020, 06:53 AM - Forum: General Coding Help - Replies (7)

I'm currently trying to do a program related to Python uppercase conversion conditions.
1. If the length of a word is less than 7, it is not converte..... More

Print this item

  Type error: '>' not supported between instances of 'NoneType' and 'int'
Posted by: spalisetty06 - Apr-29-2020, 06:33 AM - Forum: General Coding Help - Replies (1)

Hi All,
I am fairly a beginner to python, kindly help.

[python]

import random
randomnum = random.randint(1, 50)
print("The random number is "..... More

Print this item

  traverses directory recursively and displays files
Posted by: Prani05 - Apr-29-2020, 05:05 AM - Forum: Homework - Replies (7)

Write a program which traverses the current working directory recursively and displays those files ending with .py.
Hint : Use walk method of os pack..... More

Print this item

  Reverse a number
Posted by: kLgG40 - Apr-29-2020, 02:54 AM - Forum: Homework - Replies (4)

Hi! So for my homework assignment, we have to reverse a four digit number.

[code]# Python Class 2402
# Lesson 2 Problem 6
# Author: KitKatKarate..... More

Print this item

  Icon in tkinter
Posted by: menator01 - Apr-29-2020, 02:17 AM - Forum: GUI - Replies (8)

I have been researching a little on putting icons in the top level window on my script.
I can get it to work but, it's not in the window where the ro..... More

Print this item

  Does "import xlrd" work in Thonny?
Posted by: cnutakor - Apr-29-2020, 01:31 AM - Forum: General Coding Help - Replies (3)

I installed Python 3.8 on my computer and I also installed Thonny. Since I am new to programming, I prefer the Thonny interface where you can see all ..... More

Print this item

  AttributeError: 'Connection' object has no attribute 'send_line'
Posted by: searching1 - Apr-29-2020, 12:09 AM - Forum: Networking - Replies (1)

Hi, I'm currently working on this ssh tunnel script but having issue related to AttributeError: 'Connection' object has no attribute 'send_line'.

-..... More

Print this item

  Error when import Keras
Posted by: Azadfalah - Apr-28-2020, 10:08 PM - Forum: Data Science - Replies (1)

hello friends

i using pychram on windows 10 and install tensorflow , keras

but in line
from keras.models import Sequential

i have this Err..... More

Print this item

  How to write a response if a user inputs a string
Posted by: horuscope42 - Apr-28-2020, 09:58 PM - Forum: General Coding Help - Replies (3)

[python]def main():
"""
Create a program that randomly generates simple addition problems for the user,
reads in the answer from the us..... More

Print this item

  finding dupes (with a twist)
Posted by: Lyle - Apr-28-2020, 09:51 PM - Forum: General Coding Help - Replies (20)

OK, new to coding and python. I figure if I have a real live application I will learn quicker. So here is the problem I'm trying to solve. Let me know..... More

Print this item

  Iris-recognition System OpenCV | Help to get start
Posted by: Hassibayub - Apr-28-2020, 09:19 PM - Forum: General Coding Help - No Replies

I've been searching for iris recognition implementations. I just see Matlab implementations only. why python doesn't have while python has more extens..... More

Print this item

  How to Connect Login Page
Posted by: oguzcan - Apr-28-2020, 09:16 PM - Forum: Homework - Replies (1)

Close.

Print this item

  Issue with creating an array of pixel data for PNG files in Google Colab
Posted by: The_Sarco - Apr-28-2020, 09:01 PM - Forum: General Coding Help - Replies (1)

Trying to create an array of pixel data corresponding to a dataset of 40 PNG files contained within my Google Drive, using Google Colab.

Managed to..... More

Print this item

  [split] Python Class Problem
Posted by: astral_travel - Apr-28-2020, 08:36 PM - Forum: General Coding Help - Replies (12)

if classes are objects - why are they called classes ?

also, objects have attributes (size, shape, color) and functions (hammer is for nails, a car..... More

Print this item

  Help in finding ExceptionError
Posted by: menator01 - Apr-28-2020, 08:11 PM - Forum: GUI - Replies (9)

The script is working as expected but, I keep getting the error in the console. I've not been able to silence or correct it.
Any help would be great...... More

Print this item

  [Turtle] numinput and textinput do not work
Posted by: fgarciamoran - Apr-28-2020, 07:28 PM - Forum: GUI - Replies (1)

import random
import time
import sys
from turtle import *
from turtle import textinput
setup()
t1= Turtle()
t1.left(180)
t1.penup()
t1.forwar..... More

Print this item

  How to make a variable contain multiple values
Posted by: stevenjwilliams83 - Apr-28-2020, 07:22 PM - Forum: Homework - Replies (10)

Lets say I want to create a little program that asks for a user input of 1 through 10.
If that input is 1,3,5,7,9 the user wins
if the that input is..... More

Print this item

  program design
Posted by: astral_travel - Apr-28-2020, 07:14 PM - Forum: General Coding Help - Replies (2)

one of the things i haven't got my head around - is programming structures and having the bits and pieces of code in context...

is there a way or s..... More

Print this item

  Extracting html data using attributes
Posted by: WiPi - Apr-28-2020, 05:44 PM - Forum: Web Scraping & Web Development - Replies (14)

Hi guys,

I am trying to extract specific data from a block of html using Beautiful and attributes and can only get so far.
THe first 3 lines of th..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Cannot update or install ... 13 minutes ago nickystixx45 Jacobjoift General Codin...
  Посты о цветах 14 minutes ago Jacobjoift Jacobjoift Data Science
  Webscrapping sport bettin... 1 hour ago KoinKoin Jacobjoift Web Scraping ...
  Comparing 2 100GB Drives/... 1 hour ago tester_V snippsat General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
Most views
  The best Prog... 577294
  Tutorial Requ... 500469
  Web Scraping ... 440968
  Newbie with P... 384997
  New Users Int... 369413
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+ 12089
buran 8176
snippsat 7370
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
samuelshlzeo7159 Today
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday
zalexstolzeoz5360 Yesterday

User Panel Messages

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