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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,286
» Latest member: xdimbah
» Forum threads: 38,792
» Forum posts: 175,875

Full Statistics

Online Users
There are currently 37 online users.
» 1 Member(s) | 30 Guest(s)
Bing, Apple, Google, Mojeek, AOL, lovedeep

Latest Threads
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 126
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 52
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,483
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 146
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 65
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,074
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,302
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 371
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 208
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 269

 
  non-finite value error when cleaning data
Posted by: yokaso - Dec-17-2019, 07:26 AM - Forum: Web Scraping & Web Development - No Replies

hi,after scraping data i tried to clean it and i got the following error message
[quote]ValueError: Cannot convert non-finite values (NA or inf) to ..... More

Print this item

  The most popular [worst] passwords of 2019
Posted by: buran - Dec-17-2019, 07:08 AM - Forum: Bar - No Replies

https://nordpass.com/blog/top-worst-passwords-2019/

Print this item

  word wrap text output
Posted by: Skaperen - Dec-17-2019, 06:41 AM - Forum: News and Discussions - Replies (2)

my script has huge strings of text to output in a (probably virtual) text-mode environment. i would like to have something that can break up the text..... More

Print this item

  Mysql and data manipulation
Posted by: disloyalzeus - Dec-17-2019, 04:41 AM - Forum: Data Science - Replies (5)

Hi Everyone,

I am fairly fresh to python and mysql and despite my hours of reading on this I cannot work out what I need to do to achieve the belo..... More

Print this item

  Packt $5 sale
Posted by: Larz60+ - Dec-17-2019, 04:35 AM - Forum: News and Discussions - Replies (1)

Packt 5$ sale has started, all ebooks and videos are $5 until sale ends
link: https://www.packtpub.com/all-products

Print this item

  Adding an inventory and a combat system to a text based adventure game
Posted by: detkitten - Dec-17-2019, 03:07 AM - Forum: Game Development - Replies (2)

Hello,

I am relatively new to Python and have started making a text-based adventure game. I have made the basic movement part of the game using a s..... More

Print this item

  Using Python to search through a list of urls
Posted by: jeremy - Dec-17-2019, 03:04 AM - Forum: General Coding Help - Replies (4)

I want to be able to extract data from multiple pages. The pages are in the following format:

[output]
https://www.trademe.co.nz/browse/categoryat..... More

Print this item

  File system representation in a data structure
Posted by: Alfalfa - Dec-17-2019, 01:51 AM - Forum: General Coding Help - Replies (1)

I have a problem related to a Qt app, but I figured it would be ok to post it in this section as is it not Qt specific. Still, I left the code in it's..... More

Print this item

  Python create directories within directories
Posted by: mcesmcsc - Dec-17-2019, 12:23 AM - Forum: General Coding Help - Replies (2)

I need to create a directory, then create 24 more directories within the main directory, then add 3 more numbered directories within the 24. This is w..... More

Print this item

  Theory question on grid neighbors
Posted by: Clunk_Head - Dec-16-2019, 08:25 PM - Forum: General Coding Help - Replies (9)

I am looking for the name of an algorithm if one exists, or something to read as an answer to this question.
I am writing a video game and I need to k..... More

Print this item

  what function should i use to tidy up my code (extreme beginner)
Posted by: scraig0117 - Dec-16-2019, 02:16 PM - Forum: General Coding Help - Replies (4)

[python]class Players:
def __init__(self, full_name, goals, shots, headers, tackles, passes, clean_sheets):
self.nm = full_name
..... More

Print this item

  Auto-copy all displayed "print" results into clipboard?
Posted by: smallabc - Dec-16-2019, 01:56 PM - Forum: General Coding Help - Replies (1)

Are there any ways for python to store all its "print" messages into clipboard, after finishing its execution at the end?
I come across a module "pyp..... More

Print this item

  mixed types
Posted by: MattT - Dec-16-2019, 01:19 PM - Forum: General Coding Help - Replies (2)

I have mixed data types when trying to load in several CSV files into jupyter notebook. How can I fix this? Thanks for any help

Code
[pytho..... More

Print this item

  Problem defining a variable
Posted by: rix - Dec-16-2019, 11:39 AM - Forum: General Coding Help - Replies (6)

[python]def checkUserDesiredMethod():
userDesiredMethod=input("Would you like to register an account or login?\n(reg) /\n(login) /\n(none) /\n")...... More

Print this item

  Pandas merge csv files
Posted by: karlito - Dec-16-2019, 09:15 AM - Forum: Data Science - Replies (2)

Hi,

I was trying to merge two csv files and it worked BUT the first column of the beginning of the merged file starts with a "," (see ..... More

Print this item

  how to convert list to string after append !!
Posted by: evilcode1 - Dec-16-2019, 08:37 AM - Forum: General Coding Help - Replies (3)

hello
my code :
[python]import requests
from bs4 import BeautifulSoup as lo

def openwebsite(url):

qan = requests.get(url)
dev = q..... More

Print this item

  Username Changed. Windows 10
Posted by: senchoi - Dec-16-2019, 08:26 AM - Forum: News and Discussions - Replies (1)

I changed the username recently and tried to uninstall old version, python3.7.4.
And installed new version, python 3.8.0.
I couldn't uninstall old v..... More

Print this item

  Create your own Mnist images (NNW, MNIST)
Posted by: stalfilip - Dec-16-2019, 08:23 AM - Forum: Data Science - Replies (1)

Hi!

So i've been training an number classification program with the Mnist dataset, and i've also tested it with Mnist:s "test set" and got it to wo..... More

Print this item

  Creating virtual environment with venv
Posted by: arilev - Dec-16-2019, 07:31 AM - Forum: General Coding Help - Replies (1)

I'm pulling my hair out trying to install Flask on my Mac. I have Python 3.8.0. I'm trying to create a virtual environment using the [b]python3 -m ven..... More

Print this item

  How to import annoations for python 3.7 and below
Posted by: BrendanSimon - Dec-16-2019, 05:30 AM - Forum: General Coding Help - Replies (3)

I want to have code that uses Python 3.7's

from __future__ import annoations
,
but I also want the code to run on older versions of P..... More

Print this item

  accessing Json dictionary
Posted by: lshankar - Dec-16-2019, 05:27 AM - Forum: General Coding Help - Replies (1)

can you tell what is wring in my following code : want to access certain key values from a json file (in dictionary format) and store it to a variabl..... More

Print this item

  Can't install mysqlclient on mac
Posted by: Gabn123 - Dec-16-2019, 04:04 AM - Forum: General Coding Help - Replies (5)

MySQL client won't install on mac, and whenever I try to use "pip3 install mysqlclient==1.4.2.post1" an error message saying "Command "python setup.py..... More

Print this item

  in-vm files?
Posted by: Skaperen - Dec-16-2019, 02:22 AM - Forum: News and Discussions - No Replies

has anyone seen a module that can intercept all open calls and create a virtual mount point so that all paths being opened or listed for a specific pr..... More

Print this item

  Mp3 To Wav
Posted by: rlvitorino - Dec-16-2019, 02:07 AM - Forum: General Coding Help - Replies (7)

Hello, I am trying convert Mp3 to Wav for my program.

[python]
from pydub import AudioSegment

# files ..... More

Print this item

  writing a csv file
Posted by: vignesh2002 - Dec-16-2019, 01:54 AM - Forum: General Coding Help - Replies (3)

when a write multiple rows in csv file and open it in excel each row is appended leaving 1 row blank between them.
for ex-
when i write 5 rows, it g..... More

Print this item

  Restoring Tkinter widget background to original color
Posted by: pythonprogrammer - Dec-16-2019, 01:46 AM - Forum: GUI - Replies (1)

I am trying to restore the widget background back to it's original color if the button is clicked again for the 5 buttons listed below as btn1,btn2,bt..... More

Print this item

  what would you call the input for the parameter(s) of a function you have defined?
Posted by: rix - Dec-15-2019, 11:45 PM - Forum: General Coding Help - Replies (3)

What would you call what you would put into the parameters section when calling a function which you have defined?
eg:
[python]def example(parameter..... More

Print this item

  Near_ten
Posted by: Dixon - Dec-15-2019, 11:06 PM - Forum: General Coding Help - Replies (3)

Can someone explain the logic of the near_ten solution(s)on the codingbat website? Gregor Ulm has a solution that I really don't get. Then there's a..... More

Print this item

  creating functions which modify numpy array
Posted by: GSGSGKGK - Dec-15-2019, 07:04 PM - Forum: Homework - No Replies

Hello,

I'm a physic student and I am working on a simulation and I have some weird results. I wonder if my errors didn't come from my misunderstand..... More

Print this item

  Opencv Imdecode returns None
Posted by: abcdcadb - Dec-15-2019, 03:52 PM - Forum: Networking - No Replies

my code is written for streaming via UDP with send and rec as below
send.py
[python]import socket
import numpy as np
import cv2 as cv
import sys..... More

Print this item

  Mouse click event not working on multiple tkinter window
Posted by: evrydaywannabe - Dec-15-2019, 06:04 AM - Forum: GUI - Replies (2)

In the below code mpl_connect works for the main window. But when a window using Toplevel() is called. mpl_connect doesn't work. Both codes are same. ..... More

Print this item

  help with exporting functions to excel
Posted by: avanage - Dec-15-2019, 05:25 AM - Forum: Data Science - Replies (1)

Hi,
I am trying to analyze economic freedom index from https://www.heritage.org/index/about
I have written following code and want to export everyth..... More

Print this item

  When piping a FFMPEG stream to PyAudio, I get a "click" on every loop
Posted by: klehman - Dec-15-2019, 04:22 AM - Forum: General Coding Help - No Replies

I am ultimately looking to do analysis on some streaming audio, but for now I am just trying to get it to play audio well as a first step.

I am gen..... More

Print this item

  Python not working on Windows 10
Posted by: rafaeldominiquini - Dec-15-2019, 01:24 AM - Forum: General Coding Help - Replies (3)

I have Python installed on my computer for a while now and everything worked fine. But today, I can't run it anymore:

[quote]
Fatal Python error: ..... More

Print this item

  splitting a string with 2 different delimiters
Posted by: Skaperen - Dec-15-2019, 12:54 AM - Forum: General Coding Help - Replies (4)

i have a big string with 2 different delimiter characters. i want to split this big string into a list of strings for both delimiters. also, i want ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
Most views
  The best Prog... 579267
  Tutorial Requ... 512128
  Web Scraping ... 442190
  Newbie with P... 386297
  New Users Int... 379661
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
xdimbah Today
IsmaelSlalk Today
Stephenchers Today
alexferrina Yesterday
MattCarters 11-22

User Panel Messages

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