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: JassicaElla60
» Forum threads: 38,825
» Forum posts: 176,039

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Google, Applebot, DuckDuckGo

Latest Threads
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
47 minutes ago
» Replies: 2
» Views: 172
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
53 minutes ago
» Replies: 29
» Views: 15,687
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
54 minutes ago
» Replies: 8
» Views: 3,660
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 2
» Views: 177
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:47 AM
» Replies: 2
» Views: 139
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,191
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 217
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,636
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 298
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 266

 
  Newbie help with lxml scrapping
Posted by: chelsealoa - Jan-08-2021, 06:40 AM - Forum: Web Scraping & Web Development - Replies (1)

I am interested in using lxml Python 3 and just chose what I thought would be an easy to follow tutorial... I am simply trying to see if a button exis..... More

Print this item

  Problem with pandas
Posted by: palladium - Jan-08-2021, 12:54 AM - Forum: General Coding Help - No Replies

Sample data:
[output]
business_name
john chin elementary school
sutter pub and restaurant
sri thai cuisine
washington bakery & restaurant
broth..... More

Print this item

  Retrieve oracle view containing clob to dataframe
Posted by: jash - Jan-08-2021, 12:31 AM - Forum: Data Science - Replies (3)

Hello Everyone,
I am trying to retrieve the data from oracle and write it into excel file using python dataframe. However my challenge is that I can'..... More

Print this item

  cannot insert variables {r1}, {r2}, {r3}
Posted by: Kakha - Jan-07-2021, 08:48 PM - Forum: General Coding Help - Replies (8)

Please, help
[python]
import random
r1 =(random.randrange(0, 3))
r2 =(random.randrange(0, 3))
r3 =(random.randrange(0, 3))
num1=111
num2=222
num3=333
..... More

Print this item

  Microphone stream manipulation
Posted by: Talking2442 - Jan-07-2021, 07:36 PM - Forum: General Coding Help - No Replies

Hello and happy new year!

I working with Vosk speech-to-text engine that already works but i want to improve the microphine input.

My thoughts a..... More

Print this item

  Function won't apply dynamically in timeseries
Posted by: illmattic - Jan-07-2021, 07:13 PM - Forum: General Coding Help - Replies (1)

Hello,

I have the following function: [python]def custom_hurst(timeseries):
series = timeseries.iloc[-360:,0]
max_window = len(series)
..... More

Print this item

  How do I get the in3.Client() to create a variable with attributes? (in3 pypi pckge)
Posted by: Johno - Jan-07-2021, 07:02 PM - Forum: General Coding Help - Replies (2)

Using Python 3 and the in3 imported package, how do I get the in3.Client() to create a variable with attributes .account and .contract? I am using Py..... More

Print this item

  ModuleNotFoundError when application is not installed via setup.py
Posted by: bytebutcher - Jan-07-2021, 05:22 PM - Forum: General Coding Help - Replies (3)

Hi there,

i've packaged my program and uploaded it to pypi. When installed via pip everything works flawlessly. However, when cloning the repositor..... More

Print this item

  rotating an array
Posted by: djwilson0495 - Jan-07-2021, 05:01 PM - Forum: General Coding Help - Replies (3)

I'm trying to write a code to rotate an array by a given value. Here's my code:

[python]
A = [4,6,8,9,1]
K = 2

def rotate_array(A,K):
for..... More

Print this item

  Python Request Errors
Posted by: PythonNoob1998 - Jan-07-2021, 02:37 PM - Forum: General Coding Help - Replies (7)

Hi, so I am trying to run this script -

[python]

import requests, json

# Enter your API key here
api_key = "2eacaa2c66e011c77935d17f0b7a72ed"

# ..... More

Print this item

  All pipe instances are busy
Posted by: GrahamL - Jan-07-2021, 12:05 PM - Forum: Networking - Replies (1)

Hi
I am trying to use pipes to communicate between 2 python apps
On the server side I create a named pipe
[python]
self.server_pipe = win3..... More

Print this item

  Trouble uninstalling/reinstalling python 3.9.1
Posted by: jnbutler1815 - Jan-07-2021, 11:59 AM - Forum: News and Discussions - Replies (6)

I have completely uninstalled python 3.9.0 and 3.9.1 from my windows 10 computer. But when I try to reinstall 3.9.1 it gives me the dialog that says M..... More

Print this item

Question Stock market data in LibreOffice Calc
Posted by: Pitone - Jan-07-2021, 11:24 AM - Forum: Data Science - Replies (4)

Hi everyone,

I am new to the world of Python. I have seen that Python is also widely used in finance, so I would like to ask you if with this langu..... More

Print this item

  Domain Name Including Word Python
Posted by: Rajbir - Jan-07-2021, 10:52 AM - Forum: News and Discussions - Replies (2)

Hi Experts

I want to purchase a domain name

Will any of the name is illegal's to use.

Will python group can take some legal action against me if..... More

Print this item

  Help with if vs elif
Posted by: print_hello_world - Jan-07-2021, 06:09 AM - Forum: General Coding Help - Replies (5)

Hello World,

I am going through this book 'Automate the Boring Stuff with Python' and came across the secret number game example (example here: htt..... More

Print this item

  How to append multiple <class 'str'> into a single List
Posted by: ahmedwaqas92 - Jan-07-2021, 05:20 AM - Forum: General Coding Help - Replies (2)

I have a variable called "link_list" that prints out multiple game-id URLs which I, using pythonic means, procured from a sports website. The terminal..... More

Print this item

  Super basic tkinter arduino issue
Posted by: Kurta - Jan-07-2021, 04:14 AM - Forum: GUI - Replies (3)

Hi
doing a basic read and display exercise.

Does anyone know how to do a basic print data from arduino onto
Tkinter with python?

(i dont!! ..... More

Print this item

  python setup.py install error
Posted by: blackclover - Jan-07-2021, 02:25 AM - Forum: General Coding Help - Replies (2)

Hi,

while trying to install a python program (Trelby) on Alpine Linux, I get the following error message:

$ sudo python setup.py install
File..... More

Print this item

  Python Requests SSL
Posted by: Aussie - Jan-07-2021, 02:09 AM - Forum: General Coding Help - No Replies

Hi,
I have managed to get Auth working. However, using the SSL certificate is proving difficult.
Any ideas? verify ='C:/Users/Administrator/Desktop/..... More

Print this item

  Can't import anything
Posted by: thecoltster1 - Jan-07-2021, 12:16 AM - Forum: General Coding Help - Replies (4)

Hey guys I'm trying to get some basic modules to import into python 3.7. I've done the pip3 installs for keyboard and also pyautogui but when I try to..... More

Print this item

  IndexError: index 10 is out of bounds for axis 0 with size 1
Posted by: vahid89 - Jan-06-2021, 09:58 PM - Forum: General Coding Help - Replies (1)

Hello. I am posting for the first time on this site and I am asking my questions. I am implementing the following code and I will receive the error me..... More

Print this item

  Global vs. Local Variables
Posted by: Davy_Jones_XIV - Jan-06-2021, 09:18 PM - Forum: General Coding Help - Replies (4)

I know I will probably be flamed for this question, but after 12 hours of researching and trying, this is my last resort. I know it is probably someth..... More

Print this item

  Optimize a game of life (4 sec for python when 6 ms for C version !)
Posted by: fatango - Jan-06-2021, 09:13 PM - Forum: General Coding Help - No Replies

Hi,

I'm trying to optimize my game of life in Python but it takes 2 to 4 sec for one life cycle (without display) when it takes 6 ms with the versi..... More

Print this item

  How to run a pytest test for each item in a list
Posted by: arielma - Jan-06-2021, 08:22 PM - Forum: General Coding Help - No Replies

Hi,
I have the below pytest code as part of DSS. In general it's really simple: It gets list of scenarios:
..... More

Print this item

  Super flexibility in python, examples
Posted by: Kakha - Jan-06-2021, 07:34 PM - Forum: General Coding Help - Replies (10)

finds the maximum both in the text and in numbers from two related functions, it is really beautiful.
[python]
in1=str(input("1. insert text: "))
i..... More

Print this item

  Extracting information from .xlsx files
Posted by: hobbyist - Jan-06-2021, 07:17 PM - Forum: General Coding Help - No Replies

I need to extract the date from the timestamp which is in this format: 2016-07-11T10:40:09+00:00 How do I achieve this?
I need an excel file that I re..... More

Print this item

  How to call multiple functions sequentially
Posted by: Mayo - Jan-06-2021, 07:04 PM - Forum: General Coding Help - Replies (2)

Hello guys, I am trying to learn Python and I wonder if there is a better, more efficient solution to this.
[python]
def firstCalc():
a = 2+2..... More

Print this item

  Holding multiple scripts and system portability
Posted by: Tab_Quicker - Jan-06-2021, 06:04 PM - Forum: News and Discussions - No Replies

Hi

Ive been getting more into python development recently and I have two questions that sit above coding and are more about systems.

The first i..... More

Print this item

  How to delete existing label?
Posted by: Oshadha - Jan-06-2021, 05:00 PM - Forum: GUI - Replies (8)

Script,
[python]
from tkinter import *

main = Tk()
main.title("1. Unit & Dimentions")
#root.geometry("1600x800+0+0")

#Var Details
length = ..... More

Print this item

  Klein-Gordon equation in 2D (1 of space, 1 of time)
Posted by: tdub - Jan-06-2021, 04:11 PM - Forum: Homework - No Replies

Hello everyone,
I am in a MSc 1st year in physics and I have to realize a code in Python 3.8 on Spyder in order to solve the equation of Klein-Gordon..... More

Print this item

  Some errors
Posted by: CarnariusXx - Jan-06-2021, 04:08 PM - Forum: General Coding Help - Replies (2)

Hi, I've this code and I think that's correctly write but it show me some errors. I tried deal with this but without effects

[python]
import numpy..... More

Print this item

  TypeError: sum() missing 1 required positional argument: 'num2'
Posted by: Insen - Jan-06-2021, 02:25 PM - Forum: General Coding Help - Replies (3)

def super_func(**kwargs):
    print(sum(kwargs))

super_func(num1 =1, num2=2)
[error]TypeError ..... More

Print this item

  Suggestions: Datastructure Design
Posted by: wisdomofnimn - Jan-06-2021, 02:23 PM - Forum: News and Discussions - Replies (2)

I've been using python for 3-4 years (pseudo-)professionally, but one topic that I struggle with routinely is what I'd call Data Structures but I feel..... More

Print this item

  Images are storing in RAM and don't get garbage collected
Posted by: MaxRicik - Jan-06-2021, 02:15 PM - Forum: General Coding Help - Replies (4)

I have a random image picker, and images created by PIL are not garbage collected, even if I delete self.rand_img.image. I can collect it by destroyin..... More

Print this item

  Add a row to a dataframe or append whole dataframe.
Posted by: tsurubaso - Jan-06-2021, 02:12 PM - Forum: General Coding Help - Replies (1)

Hello to all,
Happy new year and good health!!


I am sure this is super simple, but I can't find the right way to do it.
I have a folder with some cs..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  a function to watch files 47 minutes ago Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 53 minutes ago Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... 54 minutes ago Calab JassicaElla60 Data Science
  Check if running from she... Yesterday, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help Yesterday, 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...
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
Most views
  The best Prog... 580491
  Tutorial Requ... 520228
  Web Scraping ... 442808
  Newbie with P... 387025
  New Users Int... 386866
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
JassicaElla60 Today
bryanptrovz7447 Today
oliviajuior7959 Yesterday
aoliiapetrov4786 Yesterday
zanaalietexaxd4208 Yesterday

User Panel Messages

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