Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,698
» Latest member: FreeCricketId
» Forum threads: 37,418
» Forum posts: 170,039

Full Statistics

Online Users
There are currently 445 online users.
» 1 Member(s) | 437 Guest(s)
Bing, Google, Applebot, Baidu, Yandex, lemonred

Latest Threads
Button to +1 in text box ...
Forum: Code Review
Last Post: lillydalson
2 hours ago
» Replies: 2
» Views: 117
Excel isnt working proper...
Forum: General Coding Help
Last Post: lillydalson
2 hours ago
» Replies: 3
» Views: 160
Filer and sort files by m...
Forum: General Coding Help
Last Post: lillydalson
2 hours ago
» Replies: 5
» Views: 113
looking for a Coding Part...
Forum: Bar
Last Post: lillydalson
2 hours ago
» Replies: 1
» Views: 116
Strange behavior list of ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 07:16 AM
» Replies: 2
» Views: 153
How can I print from wit...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 05:35 AM
» Replies: 2
» Views: 139
two functions working in...
Forum: General Coding Help
Last Post: deanhystad
Apr-30-2024, 10:23 PM
» Replies: 1
» Views: 118
PayrollSystem with file h...
Forum: Homework
Last Post: deanhystad
Apr-30-2024, 03:18 PM
» Replies: 1
» Views: 155
Equivalent Python code fr...
Forum: General Coding Help
Last Post: SamCoffee
Apr-30-2024, 08:01 AM
» Replies: 3
» Views: 860
Python editor that will S...
Forum: General Coding Help
Last Post: Gribouillis
Apr-30-2024, 05:13 AM
» Replies: 1
» Views: 163

 
  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
  Button to +1 in text box ... 2 hours ago martyloo lillydalson Code Review
  Excel isnt working proper... 2 hours ago IchNar lillydalson General Codin...
  Filer and sort files by m... 2 hours ago tester_V lillydalson General Codin...
  looking for a Coding Part... 2 hours ago sahorier lillydalson Bar
  Strange behavior list of ... Yesterday, 07:16 mmhmjanssen Gribouillis General Codin...
  How can I print from wit... Yesterday, 05:35 Pedroski55 Pedroski55 General Codin...
  two functions working in... 04-30, 22:23 zapad deanhystad General Codin...
  PayrollSystem with file h... 04-30, 15:18 nikadry1 deanhystad Homework
  Equivalent Python code fr... 04-30, 08:01 Mishal0488 SamCoffee General Codin...
  Python editor that will S... 04-30, 05:13 sawtooth500 Gribouillis General Codin...
  Convert UTC now() to loca... 04-29, 19:24 Calab deanhystad General Codin...
Most views
  The best Prog... 425119
  Web Scraping ... 313981
  Tutorial Requ... 302873
  Newbie with P... 258085
  Thread remain... 241714
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11875
buran 8090
snippsat 7094
deanhystad 6232
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
FreeCricketId Today
AlexKjaj Today
lillydalson Today
Stephenchers Today
Gsouza Yesterday

User Panel Messages

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