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,257
» Latest member: Bamboo
» Forum threads: 38,782
» Forum posts: 175,838

Full Statistics

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

Latest Threads
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
50 minutes ago
» Replies: 10
» Views: 188
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
2 hours ago
» Replies: 3
» Views: 101
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 07:58 PM
» Replies: 6
» Views: 192
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 368
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 123
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 254
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 402
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 152
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,646
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 257

 
  Physics Simulation
Posted by: HokagePikachu - Mar-16-2021, 10:58 PM - Forum: GUI - Replies (1)

Hello! I am trying to simulate a 3D car that drive off road. Especially, I want to see the movement of car suspensions. What technologies, libraries, ..... More

Print this item

  Trying to get all this on a single thread
Posted by: stylingpat - Mar-16-2021, 08:12 PM - Forum: General Coding Help - No Replies

Hello everyone, I am trying to get this code eventually onto a single thread but I cannot figure out how to get everything into functions. Because wit..... More

Print this item

  User Subclasses
Posted by: holyghost - Mar-16-2021, 08:10 PM - Forum: General Coding Help - Replies (6)

Hi,

My current project implementation provides a base class and a child class which provides variables for the base class to use in its methods. F..... More

Print this item

  Type help
Posted by: aliwien - Mar-16-2021, 04:36 PM - Forum: Homework - Replies (1)

[python]def sayısal(Vs, Vi):
return Vs - Vi

def artış(x, r):
y = x*((r/100)+1)
return y

h = 1
a = float(input('Number of cases: ..... More

Print this item

  google sheet recheck data error !
Posted by: puttimet38 - Mar-16-2021, 10:42 AM - Forum: Web Scraping & Web Development - Replies (2)

help me ! I'm helpless


[python]def log_log():

logdate_text1 = driver.find_element_by_xpath('//*[@id="tblData"]/tr[1]/td[6]')
logdes_text1 =..... More

Print this item

  list.count does not appear to function
Posted by: Oldman45 - Mar-16-2021, 10:27 AM - Forum: General Coding Help - Replies (7)

I am learning about lists and apparently list.count does not function in the following:
[python]
mylist = [5, 12, 27, 3, 12, 5, 9, 5, 11]
mylist.co..... More

Print this item

  Having trouble with regular expressions
Posted by: mikla - Mar-16-2021, 01:40 AM - Forum: General Coding Help - Replies (3)

Hi I am a new python learner, having some difficulty with regular expressions

[python]
import re

x='trash bag 19th of July 1.456 3x times 20 ju..... More

Print this item

  what data structure to use?
Posted by: Winfried - Mar-15-2021, 10:42 PM - Forum: General Coding Help - Replies (4)

Hello,

I have a two-column, CSV file that lists amenities cities have:
[font=Courier New, Courier, monospace]ZIP;Amenity
51454;5
51454;6
53130;5
5943..... More

Print this item

  Word count
Posted by: vanjoe198 - Mar-15-2021, 09:48 PM - Forum: Homework - Replies (1)

Hello everyone,

I am having trouble with my homework for school and would like someone to guide me in the right direction to get this assignment do..... More

Print this item

  Seperate output buffer
Posted by: matt_the_hall - Mar-15-2021, 07:56 PM - Forum: General Coding Help - Replies (2)

Hello,

I am writing a program that has graphical output to the terminal. I would like to be able to see the results of print messages set to double..... More

Print this item

  Two types of single quotes
Posted by: Led_Zeppelin - Mar-15-2021, 07:24 PM - Forum: General Coding Help - Replies (2)

In the following program, which I did not write myself, I am puzzled by something.
The code is:

[python]
import feather
import pandas as pd
imp..... More

Print this item

  Japanese characters in Flask
Posted by: eff - Mar-15-2021, 05:38 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi!
I want to iterate through this dictionary in Flask:

[python]hiragana_dict = {"a": u"\u3042", "i": u"\u3044", "u": u"\u3046", "e": u"\u3048", "..... More

Print this item

  how to filter two fields in json using python
Posted by: python_student - Mar-15-2021, 05:25 PM - Forum: General Coding Help - Replies (4)

Hi
I need some help. I'm trying to filter two fieds in json but its not working. This json is from API and have a lot of pages. In first page its wor..... More

Print this item

  Parametric portfolio optimization by Brandt 2009
Posted by: schnellinga - Mar-15-2021, 03:35 PM - Forum: Data Science - Replies (5)

Hello Guys!
I am fairly new to Python and I am seeking for help.
I am trying to do the parametric portfolio optimization by Brandt. (2009)
with the..... More

Print this item

  Combining outputs into a dataframe
Posted by: rybina - Mar-15-2021, 02:43 PM - Forum: General Coding Help - No Replies

Hi,

I'm hoping for some help with combining several results into a dataframe.

There are 12 queries with results like this in total, but for thi..... More

Print this item

  Help me about loops
Posted by: aliwien - Mar-15-2021, 01:57 PM - Forum: Homework - Replies (3)

Hello everybody, I want the project about loops and I need your help. My desire is:
(a) (b)
1) 150
2) 300
3) 450
4) 600
My purpose increment col..... More

Print this item

  Understand order of magnitude performance gap between python and C++
Posted by: ThelannOryat - Mar-15-2021, 11:02 AM - Forum: General Coding Help - Replies (4)

**Summary: ** I observe a ~1000 performance gap between a python code and a C+ code doing the same job despite the use of parallelization, vectorizati..... More

Print this item

  Task-Throw a dice 10 Times
Posted by: tjm - Mar-14-2021, 10:11 PM - Forum: Homework - Replies (3)

Write python to output the list of results from calculating the mean score from 10 throws of a 6 sided dice run 5 times.

So throw a dice 10 times a..... More

Print this item

Exclamation Hi, what is the best 3D game engine with a scripting method similar to that of gdeve
Posted by: markcopperman78 - Mar-14-2021, 08:16 PM - Forum: Game Development - Replies (2)

Hi, what is the best 3D game engine with a scripting method similar to that of gdevelop?

Print this item

Heart How to address a folder???
Posted by: metebeder - Mar-14-2021, 06:59 PM - Forum: General Coding Help - Replies (1)

i am complately neawby form python,please help

My file is stored in "C:\Users\metbe\OneDrive\Desktop\RPA\download\DM2.jpg"

i need work with this..... More

Print this item

  f-string error message not understood
Posted by: Skaperen - Mar-14-2021, 06:36 PM - Forum: General Coding Help - Replies (4)

i don't understand this error message
[output]
t2a/phil /home/phil 452> py py/cmd/lndir.py -v foo bar/a/b/c/x
File "py/cmd/lndir.py", line 133
..... More

Print this item

  numpyxl cell values
Posted by: supuflounder - Mar-14-2021, 06:25 PM - Forum: General Coding Help - Replies (1)

OK, I am trying to use numpyxl for the first time. Here are some factoids

The input file looks like this (well, this is the .csv, because I can't ..... More

Print this item

  ValueError: x and y must have same first dimension, but have shapes (11,) and (15406,
Posted by: hobbyist - Mar-14-2021, 05:45 PM - Forum: General Coding Help - Replies (17)

Hello, any idea how can I fix this error?

Error:
ValueError: x and y must have same first dimension, but have shapes (11,) and (15406, 1)
..... More

Print this item

Question I can't understand how to
Posted by: Dayago - Mar-14-2021, 05:20 PM - Forum: General Coding Help - Replies (1)

This is my code:
[python]name = input("What is your name? ")
print( "Hello " + name )
Age = input("What is your age? ")
if Age = < 60:
print..... More

Print this item

  Searching for parts of a string or word
Posted by: Ulumulu - Mar-14-2021, 12:33 PM - Forum: Homework - Replies (8)

Hello,

I´m trying to write a code create a little searching mashine. The code should be able to tell me by finding parts of a string or word that i..... More

Print this item

  HTML multi select HTML listbox with Flask/Python
Posted by: rfeyer - Mar-14-2021, 12:23 PM - Forum: Web Scraping & Web Development - No Replies

I have stumbled through creating a python tkinter program which plays multiple video clips (captured by motion surveillance app). Works very well but ..... More

Print this item

Star Little help with my code - Linked List
Posted by: SantiagoPB - Mar-14-2021, 11:03 AM - Forum: Homework - Replies (1)

Hi everyone Big Grin , I'm Santiago,

I have a small problem that I cannot detect in my code Confused .

It is a [b]..... More

Print this item

  Help with requests module
Posted by: 0xB9 - Mar-14-2021, 05:13 AM - Forum: General Coding Help - Replies (3)

Hi, I have a program I'm trying to switch modules from http.client to requests. The program takes a website through input ..... More

Print this item

  Printing a specific line from a JSON
Posted by: serpiente - Mar-13-2021, 08:47 PM - Forum: General Coding Help - Replies (4)

Hi all! I'm new to Python and programming, so please bear with me :-)

I'm doing a project at home in my spare time where I want to get the next dep..... More

Print this item

  Zlib tutorials
Posted by: Vwjap - Mar-13-2021, 06:57 PM - Forum: General Coding Help - Replies (2)

So just started playing with python, and hit a wall with zlib, just running through tutorials and came across this
[python]
import zlib

MESSAGE..... More

Print this item

  Real Time Audio Processing with Python Sound-Device not working
Posted by: Slartybartfast - Mar-13-2021, 01:34 PM - Forum: General Coding Help - Replies (2)

Hello, Python community!

I would like to record audio from my microphone and transcribe it in (almost) real-time via a speech-to-text API. The STT ..... More

Print this item

  Values not updating for restful call
Posted by: boomramada - Mar-13-2021, 01:08 PM - Forum: General Coding Help - No Replies

Hi, I got following code to get the values from GPOI from raspberry pi then post it on restful.
Code is working but I noticed, values are not updati..... More

Print this item

  AttributeError: 'Message' object has no attribute 'split'
Posted by: helpme1 - Mar-13-2021, 12:38 PM - Forum: General Coding Help - Replies (2)

I just don't know how to describe anything, because I'm too confused, But all I know is it's supposed to make it into a string but it didn't work. Her..... More

Print this item

Smile A basic question from a noob
Posted by: AncientMantra - Mar-13-2021, 12:37 PM - Forum: Homework - Replies (3)

Hi, everyone!
It is my first time here, sorry for the stupid questions.
Wrote a code for the Euclid’s algorithm, used to find the greatest common di..... More

Print this item

  How display matrix on canvas
Posted by: eedenj - Mar-13-2021, 11:53 AM - Forum: GUI - Replies (9)

Hi All,

I am having troubles with Tkinter and tables.
Tkinter has limited possibilities for creating tables, so I create one with this ' program'...... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [solved] re.split issue 50 minutes ago paul18fr deanhystad General Codin...
  Please guide me to comple... 2 hours ago pbkurd Larz60+ General Codin...
  New to python and coding Yesterday, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578952
  Tutorial Requ... 510400
  Web Scraping ... 441966
  Newbie with P... 385987
  New Users Int... 376982
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 8195
snippsat 7388
deanhystad 6910
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Bamboo Today
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday

User Panel Messages

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