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,945
» Latest member: susan
» Forum threads: 38,725
» Forum posts: 175,521

Full Statistics

Online Users
There are currently 69 online users.
» 0 Member(s) | 62 Guest(s)
Bing, AOL, AOL, Applebot, Mojeek

Latest Threads
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
2 hours ago
» Replies: 0
» Views: 22
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: susan
3 hours ago
» Replies: 4
» Views: 9,087
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
7 hours ago
» Replies: 2
» Views: 419
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
8 hours ago
» Replies: 0
» Views: 66
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:56 PM
» Replies: 9
» Views: 561
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,784
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,104
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,462
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,024
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,774

 
  Codility Binary Gap Exercise
Posted by: Westerner - Jan-08-2021, 09:51 AM - Forum: General Coding Help - Replies (2)

Heya, rookie coder here trying to build up my know-how.
I've been working on this problem for far too long and was hoping I could get some insight he..... More

Print this item

  c:\... Syntax
Posted by: Aussie - Jan-08-2021, 08:48 AM - Forum: General Coding Help - Replies (18)

Hi Guy's,
I am trying to send a request.

When I try to run the code I get an error arrow below the C: in the below line;

[inline]verify=r"C:\\U..... More

Print this item

  Reload flask current page
Posted by: GrahamL - Jan-08-2021, 08:03 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi
I am developing a Flask app that communicates with a back end via pipes.
I need to reload the current page of the Flask app when an update is re..... More

Print this item

  Graphs with Python
Posted by: BlazingWarlord - Jan-08-2021, 07:00 AM - Forum: Tutorial Requests and Submissions - Replies (1)

A simple tutorial for users who want to learn basics of Matplotlib and plot all kinds of graphs in Python. Hope it helps Smile

https://thepyg..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IBKR Purchasing code issu... 2 hours ago compuman145 compuman145 General Codin...
  Creating a Mindmap progra... 3 hours ago J_Miller susan General Codin...
  A coding beginner needs h... 7 hours ago Littlefish Littlefish General Codin...
  Is the interpreter that c... 8 hours ago helendamdam helendamdam General Codin...
  Using a For Loop to subtr... Yesterday, 20:56 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
Most views
  The best Prog... 576691
  Tutorial Requ... 498839
  Web Scraping ... 440510
  Newbie with P... 384458
  New Users Int... 368084
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+ 12087
buran 8175
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
susan Today
jatinkumar12 Today
angelhealu504 Today
helendamdam Today
pllrdvalery Yesterday

User Panel Messages

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