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,275
» Latest member: cruisesfares
» Forum threads: 38,788
» Forum posts: 175,861

Full Statistics

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

Latest Threads
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
6 hours ago
» Replies: 1
» Views: 70
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Yesterday, 06:47 PM
» Replies: 2
» Views: 146
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Yesterday, 04:13 PM
» Replies: 5
» Views: 3,074
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-17-2025, 10:27 PM
» Replies: 3
» Views: 204
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 188
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 141
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 194
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 368
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 81
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 385

 
  curve fitting matlotlib scipy
Posted by: Cjstarling - Sep-10-2020, 08:51 AM - Forum: Data Science - Replies (2)

Hi, Could someone please advise me how I can improve the fit of my curve such that the fit goes through all my points and resembles the graph below?
..... More

Print this item

  Where I can find some vosk's tutorial?
Posted by: Martins - Sep-10-2020, 08:26 AM - Forum: General Coding Help - Replies (2)

Hi I'm trying to build a simple program with this library -->(https://github.com/alphacep/vosk-api)
there are some good tutorials or articles that ex..... More

Print this item

  How to couunt extracted values ?
Posted by: Eidrizi - Sep-10-2020, 06:05 AM - Forum: General Coding Help - No Replies

Hi everyone,

I have this Code that I use to extract values from a column but then I want to Count those values and Show them in plot_bokeh().

H..... More

Print this item

  Python books for beginners
Posted by: BillMcEnaney - Sep-10-2020, 05:24 AM - Forum: News and Discussions - Replies (1)

Hi everyone,

What Python book(s) should I buy for a friend of mine who wants to learn how to program? Thanks.

Bill

Print this item

  Issue with Django only some links work?
Posted by: card51shor - Sep-10-2020, 04:20 AM - Forum: Homework - Replies (32)

Hey guys I'm coming along in my project nicely and I'm on to a new issue:

I have all the listings printed on the index page when you log in. You c..... More

Print this item

  Add package to pyenv base interpreter
Posted by: Larz60+ - Sep-10-2020, 04:13 AM - Forum: Bar - Replies (1)

I would like to add the wxpython package to pyenv python 3.8.5 so that when I create a new virtual environment,
with pyenv global set to 3.8.5, wxpyt..... More

Print this item

  looping with if/elif
Posted by: cap510 - Sep-10-2020, 03:58 AM - Forum: Homework - Replies (6)

I'm not sure why this does not print grade value. I tried moving indent. I am trying to put grade after weighted average.

[python]students = ['Tony..... More

Print this item

  Jupternotebook file
Posted by: biprabu - Sep-10-2020, 02:53 AM - Forum: General Coding Help - Replies (1)

Hi ALL,

I have written in script in Jupyter notebook, code is working perfectly.
my Questions
1) script is saving as .pnyib file ,how to schedule..... More

Print this item

  Posting a value of a dictionary with only one value in HTML
Posted by: card51shor - Sep-10-2020, 01:40 AM - Forum: Homework - Replies (7)

Hey guys I'm trying to pass a value through the render method and it only accepts dictionaries. But I only want it to get one dataset. So I'm doing ..... More

Print this item

  [split] Python code help
Posted by: sairam17519 - Sep-10-2020, 01:23 AM - Forum: General Coding Help - Replies (3)

[python]# importing the requests library
import requests

# api-endpoint
URL = "http://maps.googleapis.com/maps/api/geocode/json"

# loca..... More

Print this item

  A problem with a TButton's foreground 'active' color.
Posted by: Mik3e - Sep-10-2020, 01:12 AM - Forum: General Coding Help - No Replies

My program runs a timing loop and has 13 widgets in the window, four are buttons. The style map sets the button's 'active' foreground color to red, an..... More

Print this item

  Keg scale with LEDs to indicate percent of full, push notification when beer served
Posted by: duckredbeard - Sep-09-2020, 10:44 PM - Forum: Code Review - Replies (1)

Most recent edit is the Reset button to re-establish what full is. The goal is to use the same code for a variety of beers that would all have differ..... More

Print this item

  nested looping with list
Posted by: cap510 - Sep-09-2020, 09:02 PM - Forum: Homework - Replies (2)

I'm trying to compute weighted scores using a list. I am looping through a list of students, having user input scores. With scores, I am computing wei..... More

Print this item

  mouse position
Posted by: biprabu - Sep-09-2020, 05:20 PM - Forum: General Coding Help - Replies (3)

Hi All,
I am new to python
How to get mouse position after click

Example

I clicked on the screen , outuput should show x and y cordinates whe..... More

Print this item

  Noob question: why is shapesize() not working for my turtle
Posted by: adifrank - Sep-09-2020, 03:58 PM - Forum: General Coding Help - Replies (8)

Hi.
I'm just learning to code in general and starting with Python.
I'm experimenting with the turtle drawing module.

I'm trying to create a circu..... More

Print this item

  Python code help
Posted by: aed71 - Sep-09-2020, 03:08 PM - Forum: General Coding Help - Replies (6)

Hi, I'm very new to pyhton and I've found the attached code from this link https://www.neuralengine.org/res/kernel.html#Code
I would like to run it o..... More

Print this item

  Normalizing a value from HX711
Posted by: duckredbeard - Sep-09-2020, 02:45 PM - Forum: General Coding Help - Replies (4)

I have a scale project that is used to determine the quantity of beer in a keg. Since not all beers weigh the same, the full weight of the keg is inc..... More

Print this item

  display the result of Dataframe in tabulate format
Posted by: alex80 - Sep-09-2020, 02:22 PM - Forum: General Coding Help - No Replies

I concated two Dataframes (df1,df2) then return the max values in each cluster,

[python]dff=pd.concat([df1,df2]).drop_duplicates(['cluster','accuer..... More

Print this item

  python script to Batch File
Posted by: biprabu - Sep-09-2020, 01:03 PM - Forum: General Coding Help - Replies (1)

Hi All,

How to create batch file for python script exectuion at specified time

Example

i have ptyhon file -gui.py
now i want gui.py to run a..... More

Print this item

  Online game development course for kids
Posted by: Mariya - Sep-09-2020, 12:40 PM - Forum: Game Development - Replies (3)

Hi,
I am Mariya. My kid is 7 yrs old and interested in playing video games. Now he wants to learn coding and create his own game. So I am looking for..... More

Print this item

  PANDAS: DataFrame | White Spaces & Special Character Removal
Posted by: traibr - Sep-09-2020, 12:32 PM - Forum: Data Science - Replies (1)

Hi All,

Just to give you an idea, I'm new to python & coding in general, Tongue , however I've been in IT for 14+ years...

I'm building an..... More

Print this item

  Ceaser cipher program
Posted by: oli_action - Sep-09-2020, 09:36 AM - Forum: Homework - Replies (5)

Hi eveyone,

I'm currently working on a ceasar cipher project. I pretty much have the basic structure down and the program is able to auto-encrypt t..... More

Print this item

  Syslog server
Posted by: Fifoux082 - Sep-09-2020, 06:47 AM - Forum: General Coding Help - Replies (5)

Hi,
I am not a software devloper.
I started using Python to help me automate some tasks

I have logs forward from a syslog by udp (ip, port)

I want..... More

Print this item

  Only getting last record saved...Why
Posted by: Milfredo - Sep-09-2020, 03:20 AM - Forum: General Coding Help - Replies (10)

The following code works. It writes to disk all 17 files I an trying to write to file. Problem is, only the last record in each file is being saved. I..... More

Print this item

  adb commands
Posted by: Nickd12 - Sep-09-2020, 02:51 AM - Forum: General Coding Help - Replies (11)

So I'm trying to run adb commands in python on Macbook I'm basically trying to run amazons fireTv commands. I can run the commands in my Mac terminal ..... More

Print this item

  cumulating results
Posted by: awasnipi - Sep-09-2020, 02:27 AM - Forum: General Coding Help - Replies (6)

I am a complete novice programing, and just started laerning python.
how can i cumulate points in the below program:

[python]
import time
import..... More

Print this item

  Weird refresh rate with i2c lcd
Posted by: JarredAwesome - Sep-09-2020, 02:26 AM - Forum: Game Development - Replies (9)

Hey everyone,

I am working on a program that gives me the values from different sensors.
On its own, the i2c screen seems to work fine, but when I..... More

Print this item

  Explanation of the left side of this statement please
Posted by: rascalsailor - Sep-08-2020, 06:42 PM - Forum: General Coding Help - Replies (3)

The statement below is from here
I understand that it is s..... More

Print this item

  Building command in a looping construct
Posted by: DennisT - Sep-08-2020, 05:15 PM - Forum: General Coding Help - Replies (3)

Hi,
I'm trying to build commands in a loop. However it isn't working. Here's what I have coded:

[python]
for PtrI in range(1,16):
..... More

Print this item

  Need help with api structure and logging. (uvicorn and fastapi)
Posted by: KaranTrivedi - Sep-08-2020, 02:12 PM - Forum: General Coding Help - No Replies

Hey,

Here is my project.

https://github.com/KaranTrivedi/dirlist-api

I tried a few different things. I would like to create an access log fil..... More

Print this item

  How to merge three DataFrames based on specific column
Posted by: Mekala - Sep-08-2020, 02:01 PM - Forum: General Coding Help - No Replies

Hi,
I have three Data Frames with a common column (ID) and I want to merge them into one.


df1:

[python]ID Pop RANK
A1 T1 1
A1 T1 3
B1 T1 4..... More

Print this item

  Beginner having Syntax Error problem
Posted by: RyanHo - Sep-08-2020, 12:50 PM - Forum: General Coding Help - Replies (3)

Hello guys I am new to Python and I have overcome a problem.Can anybody help?
I am trying to make a simple calculator. Big Grin Big Grin

..... More

Print this item

  error "IndentationError: expected an indented block"
Posted by: axa - Sep-08-2020, 10:10 AM - Forum: General Coding Help - Replies (4)

Hi
Can you help me to correct the following code so that I do not get IndentationError error?

my script:

[python]from scapy.all import *
DIR=o..... More

Print this item

  Check if a file exists.
Posted by: Pedroski55 - Sep-08-2020, 05:58 AM - Forum: General Coding Help - Replies (5)

I need to look for a file in this path:

Quote:pathToAnswersHW = '/home/pedro/' + termName[0] + '/' + theClass[0] + '/correctAnswersHW/'
..... More

Print this item

  Simple game help
Posted by: jarettday - Sep-07-2020, 09:43 PM - Forum: Game Development - Replies (1)

I'm trying to make a simple game in python.
[python]
import pygame
from pygame.locals import *

pygame.init()
width, height = 640, 480
screen=p..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  link variable to exc bloc... 6 hours ago Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... Yesterday, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python Yesterday, 16:13 dutch mamta25 News and Disc...
  Graph Interpolate Difficu... 11-17, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  [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...
Most views
  The best Prog... 579143
  Tutorial Requ... 511518
  Web Scraping ... 442093
  Newbie with P... 386184
  New Users Int... 378729
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 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
cruisesfares Today
SavingSquirrel199835 Yesterday
Astrobert Yesterday
DataScientist071 Yesterday
aminrony1999 11-17

User Panel Messages

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