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,266
» Latest member: tlandr02
» Forum threads: 38,788
» Forum posts: 175,853

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Facebook Dev, Google

Latest Threads
Access keys and values fr...
Forum: General Coding Help
Last Post: buran
3 hours ago
» Replies: 3
» Views: 68
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:07 PM
» Replies: 2
» Views: 122
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:42 PM
» Replies: 1
» Views: 77
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:54 PM
» Replies: 1
» Views: 76
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 330
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 50
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 86
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 307
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 170
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 269

 
  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

  Thread control
Posted by: dkinsler - Nov-29-2020, 04:50 PM - Forum: General Coding Help - No Replies

Hello. New to threading and appear to be loosing control of the threads and cant seem to figure out how to do this correctly.

I have an app (main)..... More

Print this item

  scan drives in windows from Cygwin
Posted by: RRR - Nov-29-2020, 03:41 PM - Forum: General Coding Help - Replies (1)

Is it possible to get the windows drive names from Cygwin?

I have a requirement to get the windows drive names from Cygwin using a python program a..... More

Print this item

  Python "thinking" help
Posted by: DrManhattan71 - Nov-29-2020, 01:50 PM - Forum: General Coding Help - No Replies

I’m learning python and probably wading in too quickly without really having the basics as second nature (I mean I've done a couple of courses that qu..... More

Print this item

  QuestHandler: pTreshold & StartValSd
Posted by: MaudBeeckmans - Nov-29-2020, 01:17 PM - Forum: General Coding Help - No Replies

Hi,

I am trying to construct my first experiment using the QuestHandler and ran into some problems. A simple description of the experiment is as fo..... More

Print this item

  Please help to me to find my mistake in code
Posted by: leonardin - Nov-29-2020, 12:17 PM - Forum: General Coding Help - Replies (2)

I am just start to learn phyton and need your help, please

[python]
absmin (13, -5, 0.5)* 3/2.8
5% (2*2) //(min(3,0,-50) -10))
abs((71 - (2 * 2)..... More

Print this item

  Reading a text until matched string and print it as a single line
Posted by: cananb - Nov-29-2020, 11:50 AM - Forum: Homework - Replies (1)

Hi everyone, I am trying to write a program as a python beginner.
This function scans the given text. Whenever I come across the symbols “@, &, % or ..... More

Print this item

  I'm new please help
Posted by: Nan0Scho1ar - Nov-29-2020, 11:29 AM - Forum: General Coding Help - Replies (1)

Hello I don't know much about this cool python thing but I did like a thing that I've stolen from the internet somewhere, this is what I've stolen fro..... More

Print this item

  All possible combinations
Posted by: CODEP - Nov-29-2020, 10:02 AM - Forum: General Coding Help - Replies (2)

Hi,
I'm making a program that that takes a bunch of numbers from the user (for example: 2,8,9,21,67,9,2,4) and puts them into a list.
After that, th..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Access keys and values fr... 3 hours ago Winfried buran General Codin...
  How to make ball stay wit... Yesterday, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... Yesterday, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... Yesterday, 13:54 Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... Yesterday, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579035
  Tutorial Requ... 510957
  Web Scraping ... 442039
  Newbie with P... 386079
  New Users Int... 377536
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+ 12108
buran 8196
snippsat 7389
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
tlandr02 Today
Rerus3700 Today
pas88 Today
aanthonymaaleyo3938 Today
chuhlowe Yesterday

User Panel Messages

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