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,990
» Latest member: Safariscampoea
» Forum threads: 38,736
» Forum posts: 175,580

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 45 Guest(s)
Google, Bing, AOL, Mojeek

Latest Threads
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
18 minutes ago
» Replies: 1
» Views: 49
print does not open conso...
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 2
» Views: 90
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,532
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 96
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 212
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,047
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 462
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,093
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,166
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 849

 
  Tkinter don't get ver from file via pickle
Posted by: storzo - Jul-31-2019, 01:52 PM - Forum: General Coding Help - Replies (2)

Hi!

This i s my first post, i got a problem with code what i make. Problem is that pickle dont get ver. when is changed in tkinter. I use many step..... More

Print this item

  Find active PyQT5 textline and add result to dictionary
Posted by: mart79 - Jul-31-2019, 11:21 AM - Forum: GUI - Replies (3)

Hi all,

I am starting with PyQT5 to set-up a GUI.
However, I am new to PyQT5 so therefore the question if there is an instruction to get the name ..... More

Print this item

  Installed Python3.7 from package, trying to run pip3.7 does not work
Posted by: JBristow1729 - Jul-31-2019, 10:27 AM - Forum: General Coding Help - Replies (4)

Hi all.

I am working on an ubuntu 16.04 VM and have installed python3.7 from a package. I now have the following outputs when checking versions:
..... More

Print this item

  Post comments to Wordpress Blog
Posted by: SergeyLV - Jul-31-2019, 10:26 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi! How can I post a comment on my blog using python? I know that I can do it with xmlrpc maybe, but can you give me a code example?

Print this item

  scrap macrotrends
Posted by: mr_byte31 - Jul-31-2019, 09:17 AM - Forum: Web Scraping & Web Development - Replies (7)

I was trying to collect some information about stocks I like.
example for stock : https://www.macrotrends.net/stocks/chart...ncome-stat..... More

Print this item

  last index
Posted by: paul18fr - Jul-31-2019, 08:35 AM - Forum: Data Science - Replies (4)

Hi

In Python, starting indexes from 0 (it has been the choice of Guido Van Rossum from what I read some time ago, but it's confusing compare to Mat..... More

Print this item

  PyQt5 -ALONG the pygame libraries to get username or user to use on scoreboard... ???
Posted by: lsepolis123 - Jul-31-2019, 07:00 AM - Forum: Game Development - Replies (1)

I HAVE A pygame game "SHAKE"
to get the User username
can i use or is it easy to use
import sys
from PyQt5.QtWidgets import QDialog, QApplicatio..... More

Print this item

  Scrap arbitrage odds -help
Posted by: Gochix2020 - Jul-31-2019, 04:36 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi there. I have this code which friend of mine gave me as he trying to figure out why this code not working. Basically it should scrap the best arbit..... More

Print this item

  inconsitencies in my first code
Posted by: wildbill - Jul-31-2019, 02:56 AM - Forum: General Coding Help - Replies (1)

i am trying to make a pong game i have started from scratch twice now and i am noticing that the "ball" only bounces if i hover my mouse near the poin..... More

Print this item

  Trouble install pygames
Posted by: kevindadmun - Jul-31-2019, 12:39 AM - Forum: Game Development - Replies (4)

I am trying to install pygames. But i am have trouble finding a decent tutorial. They talk about using something called a pip? i dont no what that is...... More

Print this item

  How do you add the results together each time a function is called?
Posted by: Exsul - Jul-31-2019, 12:36 AM - Forum: General Coding Help - Replies (10)

I made a program that randomly adds numbers between 1 and 10 to a list 1,000 times and then counts the number of times each number occurs in that list..... More

Print this item

  Song Modifying Program Starting Point
Posted by: BadenJaden - Jul-30-2019, 11:28 PM - Forum: General Coding Help - Replies (1)

Hi, I'm trying to make a program that amplifies certain aspects of a song's audio, bass, treble, etc. and don't know anything about it. Could anybody ..... More

Print this item

  Using IDLE, bug when clicking code
Posted by: StarBasket - Jul-30-2019, 10:39 PM - Forum: General Coding Help - Replies (4)

Hi,

When using IDLE, I click on my code and it selects the row of code above, for example (look below) if I click on the end of the "print('Hello')..... More

Print this item

  Design Pattern for accessing subclass attributes
Posted by: UGuntupalli - Jul-30-2019, 10:27 PM - Forum: General Coding Help - Replies (2)

All,
I am looking for guidance on what would be good design pattern to use / implement given a particular problem.

Problem Statement[..... More

Print this item

  a coding challenge
Posted by: Skaperen - Jul-30-2019, 08:48 PM - Forum: News and Discussions - Replies (7)

this is my coding challenge for July 2019. it qualifies to work if it runs correctly on at least one of the following versions of Python: 2.6.x, 2.7...... More

Print this item

  Formatting Output after Web Scrape
Posted by: yoitspython - Jul-30-2019, 07:26 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

I have web scraped an HTML table using BeautifulSoup and requests, and now trying to create a DataFrame from the results. [b]My current output ..... More

Print this item

  Need advice for developing cross platform desktop app
Posted by: omar - Jul-30-2019, 06:10 PM - Forum: News and Discussions - No Replies

I want to develop an app in Python.
In Python because I assumed would be best for cross platform - will work PC, Mac and Linux.

The app is a graph..... More

Print this item

  TypeError: int() argument must be a string or a number, not 'NoneType'
Posted by: Hadad - Jul-30-2019, 05:58 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm getting this error when I run the following code. Any help to solve it would be highly appreciated.

app.py code:

[python]from flask i..... More

Print this item

  unsupervised learning for distribution of outliers
Posted by: dervast - Jul-30-2019, 05:36 PM - Forum: Data Science - Replies (3)

Hi all,
I have two questions related to unsupervised learning.

1. How I can try a few unsupervised learning algorithms and get a measure on the pu..... More

Print this item

  Help with Classes and dictionaries
Posted by: Tridium - Jul-30-2019, 05:09 PM - Forum: Game Development - Replies (3)

Hello, I'm am trying to convert my old game engine into a newer version that uses classes instead of just dictionaries.

My goal is to add similar k..... More

Print this item

  [split] max and min
Posted by: Tbakks - Jul-30-2019, 05:02 PM - Forum: Homework - Replies (2)

[python]
largest = None
smallest = None
while True:

nums = input("Enter a number: ")
if nums == "done":
break
..... More

Print this item

  how retrieve database save multiple data in web Django 2.1
Posted by: taomihiranga - Jul-30-2019, 04:58 PM - Forum: Web Scraping & Web Development - No Replies

i'm making a web site for post data from database.in my database have many data fields. i can retrieve one data from database.but [b]when trying to ge..... More

Print this item

  Error :unable to detect undefined names created in spyder ide error at line 2
Posted by: milind_eac - Jul-30-2019, 04:31 PM - Forum: General Coding Help - Replies (2)

[python]import pymysql
from tkinter import *
from tkinter import messagebox
def search():
try:
con=pymysql.connect(user='root',passwo..... More

Print this item

  Hollow triangle-drawing characters param error.
Posted by: phob0s - Jul-30-2019, 03:35 PM - Forum: General Coding Help - Replies (4)

Hello,

I thought my algorithm was perfect, but I was wrong.

Here's my code :

[python]
r = int(input())
i = 0

print("@", end="\n")
while..... More

Print this item

  if statement
Posted by: d3fi - Jul-30-2019, 03:19 PM - Forum: General Coding Help - Replies (2)

Hello. hope you can help me.
first. here is my code

[python]medicin = input("hvilken medicin skal du give? ").lower() #What medicine are you givin..... More

Print this item

  How to Caputre Data After Selenium Scroll
Posted by: ahmedwaqas92 - Jul-30-2019, 02:32 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello

I made a small python script that loads a website and then scrolls to the bottom of the page. I now would like to count all the instances in ..... More

Print this item

  Creating A List of DataFrames & Manipulating Columns in Each DataFrame
Posted by: firebird - Jul-30-2019, 02:30 PM - Forum: Data Science - Replies (1)

Hello Everyone!
Would you help solving the following problem. I want to create a list made up of several dataframes, access each dataframe through a..... More

Print this item

  '<' not supported in web Element and webElement
Posted by: law - Jul-30-2019, 01:46 PM - Forum: General Coding Help - Replies (2)

Hello Friends,
I'm scrapping data(numbers) from an online site, saving it in variable A&B and using comparison operator < to
check if A<B but am rec..... More

Print this item

  Better Coding
Posted by: aankrose - Jul-30-2019, 01:43 PM - Forum: General Coding Help - Replies (3)

[python]
import sys
rows=colcnt=11
dotcnt=center=(rows-1)
for cnt in range(1,(rows+1)):
print("".ljust(dotcnt,'.'),end='')
for c in range(do..... More

Print this item

  If Statement Help
Posted by: VictorVictus - Jul-30-2019, 12:56 PM - Forum: General Coding Help - Replies (6)

Hello, users of Python!

My name is Victor Puche, I'm a total noob at programming in Python. I'm trying to create a test program which, using variab..... More

Print this item

  Uploaded new module prasticus on pypi
Posted by: Gribouillis - Jul-30-2019, 12:36 PM - Forum: Code sharing - No Replies

I uploaded a new module on pypi today, named prasticus. I'd be glad if some of you want to download it!..... More

Print this item

  Loop through List
Posted by: jeran042 - Jul-30-2019, 12:17 PM - Forum: General Coding Help - Replies (5)

Good morning, I can really use some helpm

I need to iterate over a list and if the criteria is met, add item to list. Then print list with the valu..... More

Print this item

  How to fetch file from a list which match file extension
Posted by: suddhasilsarkar - Jul-30-2019, 10:07 AM - Forum: General Coding Help - Replies (1)

Hi Team,

I am lerning python and trying some basic execution. I came across a situation where I want to restore data from AWS glacier with a specif..... More

Print this item

  pandas: can we look for the index of a string
Posted by: paul18fr - Jul-30-2019, 09:49 AM - Forum: Data Science - Replies (2)

Dear All

For the first time I'm trying to use Pandas to load and read csv files that inlude values and strings; DataFrames object is quite n..... More

Print this item

  Object of type Scoreboard is not JSON serializable
Posted by: lsepolis123 - Jul-30-2019, 09:01 AM - Forum: General Coding Help - Replies (9)

Object of type Scoreboard is not JSON serializable

IS ANY OTHER WAY TO serialize this OBJECT ... ? trying a scoreboard for a game...

>>> %Run sn..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Weird failure in Selenium 18 minutes ago glestwid Larz60+ General Codin...
  print does not open conso... 5 hours ago Tycho_2025 Pedroski55 General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 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...
Most views
  The best Prog... 577475
  Tutorial Requ... 501309
  Web Scraping ... 441103
  Newbie with P... 385163
  New Users Int... 369888
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Safariscampoea Today
DataAnalytics021 Today
markwood955 Yesterday
DerekGeel Yesterday
Tycho_2025 Yesterday

User Panel Messages

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