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,403
» Latest member: asonpitt1039
» Forum threads: 38,827
» Forum posts: 176,040

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 28 Guest(s)
Bing, Google

Latest Threads
German Relative Clauses P...
Forum: General Coding Help
Last Post: asonpitt1039
2 hours ago
» Replies: 0
» Views: 18
LhanePulse
Forum: General Coding Help
Last Post: Stephenchers
5 hours ago
» Replies: 0
» Views: 25
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Yesterday, 12:38 PM
» Replies: 2
» Views: 190
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 12:32 PM
» Replies: 29
» Views: 15,755
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
Yesterday, 12:31 PM
» Replies: 8
» Views: 3,669
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 183
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:47 AM
» Replies: 2
» Views: 150
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,197
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 229
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,640

 
  Spatial Optimization with a lot of variables
Posted by: Gerkamspiano - Dec-01-2020, 12:58 PM - Forum: General Coding Help - No Replies

Hello, I need to carry on a land-use spatial optimization where in each cell I need to assign only one type of land use. I optimize with respect two o..... More

Print this item

  Coding Mechanics
Posted by: 321brian - Dec-01-2020, 12:58 PM - Forum: Data Science - Replies (7)

I have the following code snippet below:
[python]
import pandas as pd
import statsmodels.formula.api as sms

fat = pd.read_csv('https://s3-us-wes..... More

Print this item

  URL check
Posted by: erdravi - Dec-01-2020, 10:08 AM - Forum: General Coding Help - Replies (4)

Hi

I want to find programmatically, whether a given URL is accessible via internet/intranet.

Thanks.

Print this item

  General linear model with repeated measures
Posted by: Ziv1279 - Dec-01-2020, 09:19 AM - Forum: Data Science - Replies (1)

Hi everyone,
I am trying to perform a general linear model with repeated measures.
I know how to do it on 'STATISTICA' but I am now starting to use Py..... More

Print this item

  Failing to Zip files
Posted by: tester_V - Dec-01-2020, 02:46 AM - Forum: General Coding Help - Replies (4)

Hi, I'm trying to find files that have digits in a file name.
then I'd like to zip files to another directory.
My code finds the files I want and mo..... More

Print this item

  Bar Chart axis
Posted by: Blyzz - Dec-01-2020, 02:36 AM - Forum: Data Science - No Replies

I am trying to create a bar chart for statistical parity difference where the value is 0.22222. I am using matplotlib and want to change the x axis to..... More

Print this item

  Generating a student's transcript [OOP concept]
Posted by: aongkeko - Dec-01-2020, 12:42 AM - Forum: Homework - Replies (2)

Hi,

This is part of my homework. We're trying to learn/apply some concepts of OOP in this exercise.

This is what I've got so far.
[python]
d..... More

Print this item

  JSON response from REST service get nested value
Posted by: nl2ttl - Nov-30-2020, 09:18 PM - Forum: General Coding Help - Replies (2)

When I try to do a priceticker on the Bitvavo API ik get a JSON list response. How do I get one or two values from this list.

[python]


from py..... More

Print this item

  no module named finbert found
Posted by: ErnestTBass - Nov-30-2020, 07:33 PM - Forum: General Coding Help - Replies (4)

The following code generates a error:

[/code]
from pathlib import Path
import sys
sys.path.append('..')
import argparse
import shutil
import ..... More

Print this item

  how to scrape a website from a keyword list
Posted by: greenpine - Nov-30-2020, 07:06 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello;
I am new to Python,
I am trying to scrape a website using search keywords from a list (text file), loop through each line of keywords until eac..... More

Print this item

  I there a more efficient way of printing ?
Posted by: Capitaine_Flam - Nov-30-2020, 06:10 PM - Forum: General Coding Help - Replies (7)

Hi, I need that my values be printed in a standard way for a data logger and I'm trying to be printed like this :
(1, 2, 3)
It's sounded like a ver..... More

Print this item

  Why Pass Functions as arguments?
Posted by: muzikman - Nov-30-2020, 04:48 PM - Forum: General Coding Help - Replies (14)

Greetings,

I am starting to learn Python coming from other OOP languages and I am experiencing a little confusion on the topic of passing functions..... More

Print this item

  How to extract and label audio using timestamp annotation
Posted by: Mergorine - Nov-30-2020, 04:44 PM - Forum: General Coding Help - No Replies

I would like to extract and label certain segments of an audio file (audio.wav). The start and end times of the segments are given by the DateTimeStam..... More

Print this item

  Find _ in a list
Posted by: 1234 - Nov-30-2020, 04:31 PM - Forum: General Coding Help - Replies (15)

Hi,
I was wondering is there a way that you can find the largest number in a list that is equal or smaller than my chosen number, without going throu..... More

Print this item

  how do i play an mp3 from a list
Posted by: gr3yali3n - Nov-30-2020, 04:29 PM - Forum: General Coding Help - Replies (3)

i get how to play a mp3 with python vlc no problem what i am trying to figure out is the best way to store a album and be able to call any song from t..... More

Print this item

  Using a .bat file to execute simple anaconda commands in Windows 10
Posted by: gacg1 - Nov-30-2020, 03:24 PM - Forum: General Coding Help - No Replies

Hello everyone!

I'm trying to create a shortcut in Windows 10 to enter anaconda and execute a simple command in a virtual env.

I'm trying with this ..... More

Print this item

  Python 3.7, Windows 10, pyinstaller, winsound, no sound in executable
Posted by: kmarien - Nov-30-2020, 03:16 PM - Forum: General Coding Help - Replies (3)

I'm trying to make a christmas card in python. If a run the program with python it runs fine.

but after:

[code]pyinstaller cc.py -w -y --clean -..... More

Print this item

  Flask migrate sqlalchemy not found
Posted by: TomasAm - Nov-30-2020, 02:51 PM - Forum: Web Scraping & Web Development - Replies (2)

Good day,

I am trying to make migration via Flask/Migrate/SQLAlchemy and getting the following error:
[python] 'The sqlalchemy extension was no..... More

Print this item

  Function with array input
Posted by: Gerkamspiano - Nov-30-2020, 02:03 PM - Forum: General Coding Help - Replies (5)

Hello, I have one (I think easy) question about including arrays as inputs in a function. I need to do a maximization problem of an objective function..... More

Print this item

  Shceduling jobs
Posted by: GrahamL - Nov-30-2020, 12:23 PM - Forum: General Coding Help - Replies (2)

Hi

I need to run some tasks for different periods and to be able to detect when the job has finished.
I have seen a few libraries but wondered whi..... More

Print this item

  pyAudio playing variable
Posted by: Talking2442 - Nov-30-2020, 12:16 PM - Forum: General Coding Help - Replies (3)

Hello Guys,

I want play a variable with pyAudio like with:

[python]
import pyaudio
import math
import struct
import wave
import time
import os

Thre..... More

Print this item

  Tkinter Shell Terminal Or Shell Output
Posted by: sweetthdevil - Nov-30-2020, 09:31 AM - Forum: GUI - Replies (5)

Hello all,

New at using Python here, I have a bash script that I used to automate tasks on my home NAS/Server running Archlinux and I have decided ..... More

Print this item

  making an audiobook using pygame
Posted by: Parshaw - Nov-30-2020, 08:35 AM - Forum: General Coding Help - No Replies

Hello all,
I am trying to make a audiobook project where I am using different libraries. In here I am trying to do:

pdf -> images -> text -> gTTS..... More

Print this item

  Trying to make a bot to connect on discord with Selenium Python
Posted by: johnsmith43 - Nov-30-2020, 07:58 AM - Forum: General Coding Help - Replies (2)

Trying to make a bot to connect on discord with Selenium Python: I've..... More

Print this item

  Find the maximum multiplication
Posted by: ercv - Nov-30-2020, 07:51 AM - Forum: Homework - Replies (3)

So you are given with the list of number, you should choose the three of them which multiplication is the greatest. The problem lies in the fact that ..... More

Print this item

Star NameError – function doesn't recognize imported modules
Posted by: Sir - Nov-30-2020, 06:42 AM - Forum: General Coding Help - Replies (4)

I was trying out using keywords encoded in a string by using exec() and eval() functions.
I got an error.

For this tim..... More

Print this item

  Forum Logo
Posted by: JellyCreeper6 - Nov-30-2020, 04:46 AM - Forum: Board - Replies (4)

The new forum layout and style is pretty well made but the logo seems a bit off. Any plans to perhaps change it?

Print this item

  changing stdout and stderr
Posted by: Skaperen - Nov-30-2020, 03:19 AM - Forum: General Coding Help - Replies (4)

inside a module i want to change where stdout and stderr go to. i had several ideas but nothing worked. i can't find anything about how to do this i..... More

Print this item

  Template Waveform Function does not produce anything after being run
Posted by: amy5678 - Nov-29-2020, 10:38 PM - Forum: Homework - Replies (3)

I have been provided a python code as part of an assignment in which I've to create a waveform template by inputting my own values for the given varia..... More

Print this item

  Auto re-pair / re-sync Controller via Script?
Posted by: User3000 - Nov-29-2020, 09:27 PM - Forum: General Coding Help - Replies (2)

Hi guys, first of all, I have no code to show - I'm sorry.

I want to use the same (PlayStation) Controller on Windows 10 and on the Nvidia Shield 2..... More

Print this item

  Whats wrong with the elif?
Posted by: inunanimous93 - Nov-29-2020, 08:45 PM - Forum: General Coding Help - Replies (3)

>>> x = int(input("Please enter an integer: "))
Please enter an integer: 42
>>> if x < 0:
x = 0
print('Negative changed to zero')


>>> eli..... More

Print this item

  beginner math
Posted by: MarioM - Nov-29-2020, 08:14 PM - Forum: Homework - Replies (13)

I have a problem to solve and my understanding is poor. The answer to my problem is 12 and I answered 9. Can someone explain to me, please
how the ma..... More

Print this item

  Exclude hidden file, filedialog.askopenfile
Posted by: red380sl - Nov-29-2020, 06:47 PM - Forum: GUI - Replies (1)

I started learning Python very recently. It seems to well thought out.

In tkinter I have setup the filedialog to open the home directory on my Linu..... More

Print this item

  Case sensitive checks
Posted by: kam_uk - Nov-29-2020, 05:55 PM - Forum: General Coding Help - Replies (2)

I have a list of current users in list.
I have a list of new users in a list.

I want to loop through the new users and make sure the username has ..... More

Print this item

  If / loops help
Posted by: kam_uk - Nov-29-2020, 05:49 PM - Forum: Homework - Replies (4)

Hi

I am going through the Python Crash Course book, and answering the questions in each chapter.

I'm stuck at one.

The question is:

1. Cre..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  German Relative Clauses P... 2 hours ago asonpitt1039 asonpitt1039 General Codin...
  LhanePulse 5 hours ago Stephenchers Stephenchers General Codin...
  a function to watch files Yesterday, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... Yesterday, 12:32 Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... Yesterday, 12:31 Calab JassicaElla60 Data Science
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
Most views
  The best Prog... 580502
  Tutorial Requ... 520343
  Web Scraping ... 442811
  Newbie with P... 387033
  New Users Int... 386917
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
asonpitt1039 Today
Stephenchers Yesterday
JassicaElla60 Yesterday
bryanptrovz7447 Yesterday
oliviajuior7959 01-01

User Panel Messages

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