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,983
» Latest member: bimosora
» Forum threads: 38,734
» Forum posts: 175,572

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 41 Guest(s)
Bing, Google, AOL, Facebook

Latest Threads
create ocr to detect lice...
Forum: General Coding Help
Last Post: Pedroski55
2 hours ago
» Replies: 1
» Views: 29
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 10:37 PM
» Replies: 5
» Views: 166
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,033
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 448
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,080
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,144
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 824
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,105
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,546
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,136

 
  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

  Axis is out of bound error
Posted by: Help_me_Please - Dec-14-2019, 04:16 PM - Forum: Game Development - Replies (2)

Dear anyone who can help,

I have had a problem for many weeks with my code, it is suppose to play connect 4 against the computer. I have tried many..... More

Print this item

  [NEURON] Need help to import NEURON module into Python 3
Posted by: Charlidor - Dec-14-2019, 03:22 PM - Forum: Data Science - Replies (2)

Hello,

I need to use the NEURON module (https://neuron.yale.edu/neuron/) for a project research. Therefore, I have installed it (+ XQuartz + comman..... More

Print this item

  How to search full path of specified file
Posted by: SriRajesh - Dec-14-2019, 02:37 PM - Forum: General Coding Help - Replies (3)

Hi,
I am trying to search a full path of the file given a root directory (this can vary), and postfix file name.
I am using the below code but I alw..... More

Print this item

  Dictionary VS Class
Posted by: JKBarnard - Dec-14-2019, 01:46 PM - Forum: General Coding Help - Replies (2)

Hi there.

A newbie here wanna ask a newbie question.
Background info:

I've been working actively on an excel project for the last 2 years. It..... More

Print this item

  python books
Posted by: koby - Dec-14-2019, 01:09 PM - Forum: News and Discussions - Replies (3)

am now learning python and i will like to know the best book fro python beginners. thank you

Print this item

  Continuing code after exception
Posted by: palladium - Dec-14-2019, 01:04 PM - Forum: General Coding Help - Replies (1)

I have a module that takes several inputs from the end user, does some basic checking before getting called by another module to do some calculations...... More

Print this item

  Help with tkinter for a heating control GUI
Posted by: tony359 - Dec-14-2019, 11:05 AM - Forum: GUI - Replies (1)

Hello all,

I am quite new to Python and I am training myself on the internet. So please excuse me if my code is wrong/not very readable. I have als..... More

Print this item

  get a string from a list if it is there
Posted by: Skaperen - Dec-14-2019, 02:45 AM - Forum: General Coding Help - Replies (6)

i have a list that might have a string as the first item or the list might be empty that i am giving to an expression. if there is such a string, i w..... More

Print this item

  finding probability of exceding certain threshold
Posted by: Staph - Dec-14-2019, 02:40 AM - Forum: General Coding Help - Replies (1)

Given a numpy array of length say 300 contain different values from 0-5

How can I find the probability of exceeding certain threshold like 4 in pyt..... More

Print this item

  running py3 scripts as root
Posted by: Skaperen - Dec-14-2019, 12:25 AM - Forum: News and Discussions - Replies (4)

i have a few scripts, all in Python3, that i want to be able to run with root effective uid permissions.

i am still pondering how to go about doing..... More

Print this item

  Terrible Sprite controls, need help.
Posted by: michael1789 - Dec-14-2019, 12:15 AM - Forum: Game Development - Replies (16)

I have this sprite here. The controls are dreadful, and my tinkering is fruitless. I copied it from an Asteroids game, and took out the friction, but..... More

Print this item

  While loop skips multiple dropdown menu options and then works as intended
Posted by: newbie_programmer - Dec-13-2019, 10:25 PM - Forum: Web Scraping & Web Development - Replies (1)

Below is the code I am writing to try and scrape information from a website. There are multiple options to choose from on a drop down menu and each va..... More

Print this item

  Corrupted numpy arrays when save to file.
Posted by: DreamingInsanity - Dec-13-2019, 08:49 PM - Forum: Data Science - Replies (2)

I take a numpy array, and write it to a gzip file like this:
[python]
f = gzip.GzipFile("frames.npy.gz", "a")
np.save(file=f, arr=arr)
f.close()
..... More

Print this item

  HELP: Combine records in a table with missing start or end date
Posted by: Techy_RN - Dec-13-2019, 08:43 PM - Forum: General Coding Help - Replies (1)

Hi guys, I'm a Clinical/Business Data Analyst for a large healthcare organization. I have recently started messing with Python to help me clean up som..... More

Print this item

  def functions in tkinter
Posted by: Fureneshi - Dec-13-2019, 08:41 PM - Forum: GUI - Replies (5)

I need to do something like this:
[python]from tkinter import *
import tkinter as tk
from PIL import ImageTk, Image
import tkinter.filedialog

class S..... More

Print this item

  Help with dataFrame
Posted by: DougFunnyBRA - Dec-13-2019, 07:37 PM - Forum: Data Science - No Replies

Hi everyone,
I need help with dataFrame(df). The df I'm working has a Time-series and a corresponding weight. Because the weights(Kg) are different..... More

Print this item

  Blender 2.49b not showing button when I run script on ubuntu like it does in windows?
Posted by: Vido - Dec-13-2019, 05:56 PM - Forum: General Coding Help - No Replies

I have an add-on for ..... More

Print this item

  Python3/Flask/LDAP-Active Directory
Posted by: tundrwd - Dec-13-2019, 04:37 PM - Forum: General Coding Help - Replies (1)

I need a cross-platform (Linux/Windows) method that allows me to perform LDAP/Active Directory queries in Python3. I need the following criteria:
[l..... More

Print this item

  How to use bfill und groupby under conditions
Posted by: karlito - Dec-13-2019, 03:50 PM - Forum: Data Science - Replies (1)

Hi,

I'm trying to backfill previous rows (which are filled with 0) with the mean of the last value before each serie of last 0.

see picture for ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  create ocr to detect lice... 2 hours ago bimosora Pedroski55 General Codin...
  Parse Markdown / get the ... Yesterday, 22:37 SpongeB0B Pedroski55 General Codin...
  Error: cannot mix str wit... Yesterday, 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...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
Most views
  The best Prog... 577454
  Tutorial Requ... 501156
  Web Scraping ... 441081
  Newbie with P... 385154
  New Users Int... 369776
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
bimosora Today
kyleconor797 Yesterday
miriamwilliam Yesterday
Davidkiplimo Yesterday
Joliekeva Yesterday

User Panel Messages

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