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,456
» Latest member: FaithMartinez
» Forum threads: 37,266
» Forum posts: 169,394

Full Statistics

Online Users
There are currently 387 online users.
» 0 Member(s) | 381 Guest(s)
Bing, Google, Yandex, Applebot, Google Image

Latest Threads
m3u8 using build-in brows...
Forum: Web Scraping & Web Development
Last Post: kucingkembar
5 hours ago
» Replies: 3
» Views: 112
write code that resides i...
Forum: General Coding Help
Last Post: franklin97355
7 hours ago
» Replies: 0
» Views: 41
Elegant way to apply each...
Forum: General Coding Help
Last Post: deanhystad
9 hours ago
» Replies: 5
» Views: 194
I don't know what is wron...
Forum: General Coding Help
Last Post: menator01
Yesterday, 06:46 PM
» Replies: 2
» Views: 153
encrypt data in json file...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 05:16 PM
» Replies: 1
» Views: 65
Sorting Steps
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:47 PM
» Replies: 11
» Views: 350
A Programmer Named Tim
Forum: Board
Last Post: Gribouillis
Yesterday, 04:38 PM
» Replies: 3
» Views: 161
Numeric Enigma Machine
Forum: General Coding Help
Last Post: idev
Yesterday, 02:17 PM
» Replies: 8
» Views: 243
Variable not defined even...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 02:13 PM
» Replies: 3
» Views: 111
Error (Errno 2), File upl...
Forum: General Coding Help
Last Post: Username_Python1
Yesterday, 01:46 PM
» Replies: 0
» Views: 130

 
  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

  Assignment
Posted by: amit79 - Dec-14-2019, 11:14 PM - Forum: Homework - Replies (3)

Hello All,

I am new to python and just taken the course from Udemy.

Can someone post simple assignments, that will be really help enhancing what..... More

Print this item

  Django URL dispatcher help
Posted by: giga - Dec-14-2019, 09:11 PM - Forum: Web Scraping & Web Development - No Replies

Need help with URLconf

The parameter can be a directory or a file name. For example:

gallery/Some/Directory/
gallery/SomeDirectory/
gallery/So..... More

Print this item

  Deleting duplicates in tuples
Posted by: Den - Dec-14-2019, 07:16 PM - Forum: General Coding Help - Replies (2)

I have a list of tuples, and I am trying to delete some tuples of the list based on their first element: if the first element is the same first elemen..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  m3u8 using build-in brows... 5 hours ago kucingkembar kucingkembar Web Scraping ...
  write code that resides i... 7 hours ago franklin97355 franklin97355 General Codin...
  Elegant way to apply each... 9 hours ago sawtooth500 deanhystad General Codin...
  I don't know what is wron... Yesterday, 18:46 shereen menator01 General Codin...
  encrypt data in json file... Yesterday, 17:16 jacksfrustration deanhystad General Codin...
  Sorting Steps Yesterday, 16:47 MoreMoney deanhystad General Codin...
  A Programmer Named Tim Yesterday, 16:38 Angelical Gribouillis Board
  Numeric Enigma Machine Yesterday, 14:17 idev idev General Codin...
  Variable not defined even... Yesterday, 14:13 CoderMerv Larz60+ General Codin...
  Error (Errno 2), File upl... Yesterday, 13:46 Username_Python1 Username_Python1 General Codin...
  web scraping football res... Yesterday, 10:21 terrasamba77 22206290 Web Scraping ...
Most views
  The best Prog... 357116
  Web Scraping ... 256856
  Tutorial Requ... 256081
  New Users Int... 225346
  Newbie with P... 219160
Most reputation
buran 582
snippsat 499
Larz60+ 450
Gribouillis 329
deanhystad 311
Most replies
  New Users Int... 430
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11859
buran 8085
snippsat 7068
deanhystad 6120
metulburr 5150
Top referrers
Googlepro 20
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
FaithMartinez Today
franklin97355 Yesterday
RobertCOOPS Yesterday
Ronaldweera Yesterday
Sanjayk Yesterday

User Panel Messages

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