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,261
» Latest member: SledgeNE
» Forum threads: 38,787
» Forum posts: 175,849

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 40 Guest(s)
Internet Archive, Bing, Applebot, Google, Mojeek, Facebook, AOL

Latest Threads
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
2 hours ago
» Replies: 2
» Views: 75
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
3 hours ago
» Replies: 1
» Views: 43
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
4 hours ago
» Replies: 1
» Views: 45
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
5 hours ago
» Replies: 5
» Views: 303
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 11:31 PM
» Replies: 0
» Views: 40
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Yesterday, 06:38 PM
» Replies: 0
» Views: 65
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:02 PM
» Replies: 10
» Views: 255
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 03:33 PM
» Replies: 3
» Views: 132
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 220
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 406

 
  Two numpy arrays
Posted by: Sandra2312 - Jan-18-2021, 05:27 PM - Forum: General Coding Help - Replies (1)

I have two numpy arrays (3, n) which represent 3D coordinates.

I want to calculate the distance to every point in array B for each point in array A..... More

Print this item

  Animated scatter plot
Posted by: maximan - Jan-18-2021, 02:51 PM - Forum: General Coding Help - No Replies

I try to get a animated scatter plot, in which a y value is plotted for every x, each second.

x = np.array(range(0,750))
y = np.array(np.random.ra..... More

Print this item

  Logic error - I need User_1 and User_2 to become true when both users sign in.
Posted by: BruhMoments - Jan-18-2021, 02:51 PM - Forum: Homework - Replies (3)

Hi all,

I have been asked to design a basic dice roll game over the course of 20 hours, and all was swell until I came across a logic error. The c..... More

Print this item

  How to improve this Python 3 code?
Posted by: iamaghost - Jan-18-2021, 02:25 PM - Forum: Code Review - Replies (6)

I have a .txt file with names and their school grades.

i wrote a program to output the name of a student + his/her average grade.
I find my approa..... More

Print this item

  how to pass named arguments
Posted by: arunan - Jan-18-2021, 01:07 PM - Forum: Homework - Replies (1)

This is the program from my course:

[python]from matplotlib import animation
import matplotlib.pyplot as plt
import random
import seaborn as sn..... More

Print this item

  Selecting rows that contain certain values using two alternatives
Posted by: tgottsc1 - Jan-18-2021, 12:49 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I have a dataset and the following code:

a = dataset.set_index('c', append=True).sort_index()
This generates a tab..... More

Print this item

  Beautiful Soap can't find a specific section on the page
Posted by: Pavel_47 - Jan-18-2021, 11:42 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

Here is my code to explore this page:
..... More

Print this item

  Missing 1 required positional argument in python code
Posted by: edwinostby - Jan-18-2021, 11:24 AM - Forum: Homework - Replies (7)

Hey, I have an assignment due this week. The given task is to solve a differential equation by using Euler's method, the task is;

Solve the different..... More

Print this item

  Unable to install matplotlib
Posted by: arunan - Jan-18-2021, 09:59 AM - Forum: Homework - Replies (2)

I am using the OS Ubuntu 20.04 and I have installed anaconda Python. I am following a course in orielly and the instructor asked to execute the below ..... More

Print this item

  help with PyAudio
Posted by: Leo12143 - Jan-18-2021, 08:27 AM - Forum: General Coding Help - Replies (1)

Hello, i need help with pyaudio, i do everything i can, but my Pycharm dont let me install that import, so please help me

Print this item

  ttk-->treeview-->tag_configure() not work over Python3.6
Posted by: hqbfljx - Jan-18-2021, 06:28 AM - Forum: GUI - Replies (10)

Hi everyone, I am new comer of this forum.
I got a problem relate to the with the ttk treeview:
### With the Python 3.6.12 the ttk-->treeview-->tag_..... More

Print this item

  Plot Graph
Posted by: quest_ - Jan-17-2021, 11:37 PM - Forum: General Coding Help - Replies (2)

I have 4 different value and I have 1 corresponding value for these 4 value

I mean,
When a, b, c, d = 0.1, 0.2, 0.3, 0.4 the corresponding G value ..... More

Print this item

  Color Formatting for Bar Graphs in a for loop
Posted by: adamszymanski - Jan-17-2021, 10:05 PM - Forum: General Coding Help - Replies (1)

Hello,

I am trying to create a set of bar graphs using a code shared with me by a colleague. I am quite new to python so I am trying to use this co..... More

Print this item

  Giving all possible values to four different variables
Posted by: quest_ - Jan-17-2021, 08:23 PM - Forum: General Coding Help - Replies (7)

I have for different values which are a b c d. Their sum should be always 1
And they can take 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 but the sum ..... More

Print this item

  Error - ManyToMany Fields in Django
Posted by: rob25111 - Jan-17-2021, 04:54 PM - Forum: Web Scraping & Web Development - No Replies

I have this error in Django :

Quote: __str__ returned non-string (type SimpleLazyObject)

idk why..
I'm learning Django and I don't know to..... More

Print this item

  Functions & Passing Parameters
Posted by: KAShears79 - Jan-17-2021, 04:22 PM - Forum: Homework - Replies (3)

Hi

Just started to learn coding so I hope this is an easy question for someone else to help with :)

I've written the code below and expect it t..... More

Print this item

  Adding graph points and formating
Posted by: project_science - Jan-17-2021, 03:35 PM - Forum: General Coding Help - Replies (4)

Hi,

I'm creating a code to input 2 points, (x,y) from the user. I've done that, and now I'd like to add these. However, I want to display the poi..... More

Print this item

  Using range slider in flask webpage to use in python
Posted by: KimPet - Jan-17-2021, 02:11 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi, I am working on my project to control my servo through python and a flask webpage.


I have been looking around for a simple way to constantly ..... More

Print this item

  Help visualizing and print out
Posted by: Tabary - Jan-17-2021, 01:23 PM - Forum: General Coding Help - Replies (3)

Sir, Please Help
I make this code from following tutorial on youtube
It supposed to predict price on stock or forex market.
I write the code from ..... More

Print this item

  Calculate transformation and Rotation
Posted by: Sandra2312 - Jan-17-2021, 10:59 AM - Forum: General Coding Help - Replies (1)

Hello everyone
First of all, I would like to apologize for my poor English.
my problem is this:

I have a (synthetic) point cloud of a building th..... More

Print this item

  How to update widgets?
Posted by: Oshadha - Jan-17-2021, 10:13 AM - Forum: GUI - Replies (1)

Script,
[python]
from tkinter import *

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

#Var Details
length = ..... More

Print this item

  question about bot for mmo game
Posted by: rachidel07 - Jan-17-2021, 09:43 AM - Forum: General Coding Help - Replies (1)

hello everybody,
i have no idea on programing so istarted learning PYthon . i watch begginer courses and videos.
i learn python in order to be able ma..... More

Print this item

  Top 3 students
Posted by: banidjamali - Jan-17-2021, 09:08 AM - Forum: Homework - Replies (4)

Hello everyone. Hope you are all having a great time.

Here's a simple question:

There's a dictionary, and I want to extract the top 3 students f..... More

Print this item

  How to get GUI builder Kivy to work with Pycharm?
Posted by: river251 - Jan-17-2021, 03:30 AM - Forum: General Coding Help - Replies (3)

I want to create a GUI with start and stop buttons for the python script I've written using Pycharm on my Mac. Kivy claims to be cross platform compat..... More

Print this item

  type error array
Posted by: BrianPA - Jan-17-2021, 02:01 AM - Forum: Data Science - Replies (2)

I have a numpy 2darray called d5. I'm trying to get values from row#1 [0]. and I'm comparing them with values from row#2 [1]. If values from row#2 ..... More

Print this item

  Open only the Windows Explorer in Pandas
Posted by: doug2019 - Jan-16-2021, 06:09 PM - Forum: Data Science - Replies (5)

Hello! How can I open only the workbook to choose the .csv files I want to open with pandas? I know the method of the entire path to the file and no..... More

Print this item

  Handling large images with OpenCV.
Posted by: Apenz1 - Jan-16-2021, 05:12 PM - Forum: General Coding Help - No Replies

Hello, I am trying to focus stack images using this code: https://github.com/momonala/focus-stack

The problem I'm having is that cv2 loads all imag..... More

Print this item

  Can you end the Time.sleep function
Posted by: boier96 - Jan-16-2021, 03:57 PM - Forum: General Coding Help - Replies (9)

Hey im working on a python project and i got an idea to use time.sleep a few times. After a while i started wondering how to end the time.sleep functi..... More

Print this item

  Strange phenomena with Amazon_dot_com scraping
Posted by: Pavel_47 - Jan-16-2021, 12:56 PM - Forum: Web Scraping & Web Development - Replies (9)

Hello,
I observed very strange phenomena while scratching Amazon_dot_com: the code that worked an hour earlier no longer works.
Any comments ?
Than..... More

Print this item

  [SOLVED] Requiring help running an old Python script (non Python savvy user)
Posted by: Miletkir - Jan-16-2021, 12:43 PM - Forum: General Coding Help - Replies (13)

Hey there,

I came across a rather old Python script that lets you..... More

Print this item

  RaspPi and 3.9
Posted by: supuflounder - Jan-16-2021, 08:11 AM - Forum: General Coding Help - Replies (1)

I have a RasPi 400, and wanted to upgrade it from Python 2.7.16, but I can't find a version to download. Am I missing something, or is there not a ver..... More

Print this item

  merging two data frames
Posted by: yk303 - Jan-16-2021, 06:15 AM - Forum: Data Science - Replies (1)

Hello,

I like to merge two dataframes. But the problem is that both tables have multiindexes.
When I try to merge, it can't find the common 'colum..... More

Print this item

  Extracting all text from a video
Posted by: jehoshua - Jan-16-2021, 03:58 AM - Forum: General Coding Help - Replies (2)

I have run the following code on a sample video/mp4 to extract all images. It does it frame by frame, so there are many thousands of image files creat..... More

Print this item

  if a string has a digit - print
Posted by: tester_V - Jan-16-2021, 02:27 AM - Forum: General Coding Help - Replies (2)

Greetings and happy Friday!
I'm scanning Network Shares and collecting file names if they have a digit in the name.
I can get the list of all File n..... More

Print this item

  Surface area of triangles generated by Triangulation
Posted by: pythonformaterialsci - Jan-15-2021, 10:42 PM - Forum: Data Science - Replies (6)

Dear Forum memebers,

i want to calcualte the surface area of each triangle generated by the Delaunay Triangulation by the following python code.
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to make ball stay wit... 2 hours ago nathanael deanhystad General Codin...
  PermissionError: [Errno 1... 3 hours ago Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... 4 hours ago Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... 5 hours ago Skaperen DeaD_EyE News and Disc...
  conditional nested loops Yesterday, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... Yesterday, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue Yesterday, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... Yesterday, 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...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
Most views
  The best Prog... 578989
  Tutorial Requ... 510632
  Web Scraping ... 442002
  Newbie with P... 386032
  New Users Int... 377224
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 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
SledgeNE Today
nathanael Yesterday
JamesFalkner Yesterday
stevecoh1 Yesterday
Bamboo Yesterday

User Panel Messages

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