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,925
» Latest member: victor1245
» Forum threads: 38,719
» Forum posts: 175,492

Full Statistics

Online Users
There are currently 53 online users.
» 1 Member(s) | 47 Guest(s)
Google, Bing, AOL, Apple, victor1245

Latest Threads
data input while debuggin...
Forum: General Coding Help
Last Post: victor1245
2 minutes ago
» Replies: 3
» Views: 421
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 6
» Views: 716
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Yesterday, 11:25 AM
» Replies: 7
» Views: 1,693
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Yesterday, 11:16 AM
» Replies: 4
» Views: 15,625
New to the field
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 08:15 AM
» Replies: 1
» Views: 341
Too much space between gr...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:34 AM
» Replies: 1
» Views: 387
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Sep-13-2025, 06:11 AM
» Replies: 5
» Views: 1,469
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Sep-12-2025, 03:23 PM
» Replies: 4
» Views: 2,430
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-12-2025, 11:09 AM
» Replies: 2
» Views: 1,153
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Sep-12-2025, 08:36 AM
» Replies: 1
» Views: 2,378

 
  Python sympy problem for symbolic equation definition
Posted by: joellapointe_engineering - Mar-24-2024, 11:09 PM - Forum: Data Science - No Replies

I have a problem forming a symbolic equation with the sympy command "sp.Eq()".I have an Excel sheet with equations formed by concatenation of cells as..... More

Print this item

  How to add multi-line comment section?
Posted by: Winfried - Mar-24-2024, 01:27 PM - Forum: General Coding Help - Replies (2)

Edit (since this forum doesn't support deleting a thread): My mistake. After using the (shift+)TAB keys, the script runs. Guess there were useless TAB..... More

Print this item

  Problem with "from pynput"
Posted by: LFreitas - Mar-24-2024, 01:16 AM - Forum: General Coding Help - Replies (1)

Hi everyone.

I found a website with some basic projects from Cybersecurity. The first one is a keylogger. I'm using the following code:


[pytho..... More

Print this item

  Forcing matplotlib to NOT use scientific notation when graphing
Posted by: sawtooth500 - Mar-23-2024, 10:55 PM - Forum: General Coding Help - Replies (4)

I have a dataset that I'm importing from a CSV into a dataframe in python. I need to make a simple line graph out of it.

Here is my code:

[pyth..... More

Print this item

  I'm getting a NameError: ...not defined.
Posted by: vonArre - Mar-23-2024, 09:33 PM - Forum: General Coding Help - Replies (2)

Hi, I'm getting a "NameError: name 'name' is not defined" error when running my new test code. It's my first day of using Visual Studio Code with Pyth..... More

Print this item

  [Numpy] How to store different data type in one numpy array?
Posted by: water - Mar-23-2024, 08:40 PM - Forum: Data Science - Replies (7)

I want to store different data type in on numpy array,

b = np.array([['2024-03-22', 71.0, 'ceh'], ['2024-03-23', 63.0, 'abc']])
..... More

Print this item

  OSError occurs in Linux.
Posted by: anna17 - Mar-23-2024, 08:25 PM - Forum: General Coding Help - Replies (2)

Hello.
OSError occurs in Linux.

In Linux, OSError occurs.
What bug occurs in Linux in the code below?
Please Help me.

import subprocess
impo..... More

Print this item

  In Console,Python
Posted by: anna17 - Mar-23-2024, 08:22 PM - Forum: General Coding Help - No Replies

Hello.
In Console, Python.
Please check the attached image file.

İmage


import subprocess
import os
import ..... More


Attached Files

Thumbnail(s)
   
Print this item

Photo image error
Posted by: pyc0de - Mar-23-2024, 03:19 PM - Forum: General Coding Help - Replies (2)

hi im new to python and I'm having trouble getting this code to run. Instead I get this error, in tkinter . I'm using visual studio 2022 and I'm tryin..... More

Print this item

  Tkinter & Canvas
Posted by: Peter_Emp1 - Mar-23-2024, 12:12 PM - Forum: General Coding Help - Replies (5)

Hello, everyone!

I'm trying to create several tk.Canvas() for each ttk.Frame() to display different figures and images on my TabWidget (ttk.Notebook)..... More

Print this item

  delivery exe without source code py
Posted by: loky62 - Mar-23-2024, 11:59 AM - Forum: General Coding Help - Replies (2)

Hi everyone, I'm new to Python but I program using visual studio c#.

How do I deliver to my customer an exe of a python/streamlit script with every..... More

Print this item

  Excel iterations and restrictions
Posted by: marialage98 - Mar-23-2024, 11:38 AM - Forum: Data Science - No Replies

Hello, i have an excel file that has columns with circular references. And i want to use python to apply restrictons to those columns.
I have a colum..... More

Print this item

Question Frog Puzzle Random To Custom
Posted by: MoreMoney - Mar-23-2024, 10:33 AM - Forum: General Coding Help - Replies (4)

I just want to make the input to custom number instead of randomized number ie i want my code to sort this [0,5,1,3,4,2] instead of randomized number,..... More

Print this item

  [split] Google SEO enabled url
Posted by: Franc90 - Mar-22-2024, 10:26 PM - Forum: Bar - Replies (2)

Can you please tell me how long it takes for a young site to get noticed? I've been running a sports blog for three months now, but the traffic is ver..... More

Print this item

  How to solve this problem Python configuration?
Posted by: magomes - Mar-22-2024, 05:42 PM - Forum: Homework - Replies (5)

This error.
SyntaxError: Non-UTF-8 code starting with '\xe3' in file D:\Projetos\M74Chat\M74Chat\config.py on line 4, but no encoding decared;
see ..... More

Print this item

Question Missing parts of Code
Posted by: Felipe1991_GVT - Mar-22-2024, 04:58 PM - Forum: General Coding Help - Replies (3)

[python]def distribute_notes(withdrawal_amount):
# List of available notes in the ATM
available_notes_at_atm = [200, 100, 50, 20, 10]
#..... More

Print this item

  Installing Github-programs
Posted by: AudunNilsen - Mar-22-2024, 03:23 PM - Forum: General Coding Help - Replies (1)

Hi

Complete noob here.

I downloaded Tkinter Designer, and there was no exe there.

I have a compiler, and I´ve used that to run scripts.

D..... More

Print this item

  Unable to convert browser generated xml to parse in BeautifulSoup
Posted by: Nik1811 - Mar-22-2024, 01:37 PM - Forum: Web Scraping & Web Development - No Replies

I'm trying to read the below xml generated in a browser using Beautifulsoup:

<?xml version='1.0' encoding='UTF-8'?><IM415 xmlns="http://www.ros.ie/..... More

Print this item

Question Coding upgrade
Posted by: MoreMoney - Mar-22-2024, 12:48 PM - Forum: Homework - Replies (4)

minimize frog steps as possible, trying to minimize and efficient the frog step.
The rule is given the last step 0 must be at most left, then big num..... More

Print this item

  Script does not work on Linux server
Posted by: scrapemasta - Mar-22-2024, 11:07 AM - Forum: Web Scraping & Web Development - No Replies

Hello there,

First of all, I am not an expert for Python, but I rather learned it AD HOC. Namely, I have a script that scrapes name, sizes and pri..... More

Print this item

  view option in Django
Posted by: Sowmya - Mar-22-2024, 10:54 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi all
I am creating a django project . I have 3 html pages
Index.html - it contains form
result.html - it will display a report when i click on su..... More

Print this item

  context Django
Posted by: Sowmya - Mar-22-2024, 10:47 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi all
I have 3 html pages
index.html - It contains form
result.html - when you click on submit in index.html it will display result.html page in t..... More

Print this item

  Copy xml content from webpage and save to locally without special characters
Posted by: Nik1811 - Mar-21-2024, 03:45 PM - Forum: General Coding Help - Replies (14)

I land up in a .xml webpage which is created based on my earlier inputs(<//aep2/xml/trace/NIK243164_AI_14652732.xml>). I want to read the entire conte..... More

Print this item

  Decoding lat/long in file name
Posted by: johnmcd - Mar-21-2024, 03:29 PM - Forum: General Coding Help - Replies (4)

Hi,

I'm something of a novice Python programmer so please bear with me. OpenStreetMaps uses a 'shortlink' protocol to create file names from lat/lo..... More

Print this item

  Flask_table module compatibility issue: cannot import name 'Markup' from 'flask'
Posted by: venkateshbalagiri - Mar-21-2024, 11:51 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi Team,
We are using flask_table module in one of our python flask application , After upgrade to latest version of flask 3.0.2 then we are getting ..... More

Print this item

  Coding Improvement
Posted by: MoreMoney - Mar-21-2024, 11:12 AM - Forum: Homework - Replies (6)

Trying to make completion time faster and stable, anyone have better code for that?

Here is my try

[python]import time

def find_pin(pin):
..... More

Print this item

  Can rich.logging output to file?
Posted by: pyfoo - Mar-21-2024, 10:15 AM - Forum: General Coding Help - Replies (1)

Hi,

I am trying to use rich.logging to have more readable logs. Can this be done? As you will see I'm not doing well! ;)

Originally I had the ..... More

Print this item

  Plotting streamlines of the velocity field within an ice sheet
Posted by: verhaegenyoni - Mar-21-2024, 08:20 AM - Forum: General Coding Help - Replies (1)

Hi all,

I have a flow field with horizontal (realxh) and vertical (realzh) coordinates and ice flow velocities (vertical (wi) and horizontal (ui)),..... More


Attached Files

Thumbnail(s)
   

.zip   icesheet.zip (Size: 11.19 KB / Downloads: 375)
Print this item

  Detecting Solar Radio Burst Using Python
Posted by: hermelindascott - Mar-21-2024, 07:57 AM - Forum: Game Development - Replies (4)

I need to detect solar radio bursts using python. The spectograms are in .fits file. Can anyone help me to brainstorm the methodology to do this? As f..... More

Print this item

  FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries i
Posted by: sawtooth500 - Mar-21-2024, 01:54 AM - Forum: General Coding Help - Replies (3)

[python]
wtd = pd.DataFrame(columns = df.columns)


indexarr = []
appender = 0

for index in range(1, df.shape[0]):

if df.iat[index, 1] ..... More

Print this item

  How to include one script into another?
Posted by: MorningWave - Mar-21-2024, 12:12 AM - Forum: General Coding Help - Replies (8)

This is not about the include command.
I am a PHP developer, just starting on python. I got stuck when I tried to save parts of the scripts into a se..... More

Print this item

  Help with creating folder and "virtual environment"
Posted by: AudunNilsen - Mar-20-2024, 08:22 PM - Forum: General Coding Help - Replies (1)

Hi

I want to make use of GitHub-programs, and so I downloaded a bunch of Python-tools.

When I run this command in "Python 3.12", which looks lik..... More

Print this item

  Error 404 when loading my webpage
Posted by: dissi - Mar-20-2024, 03:12 PM - Forum: Web Scraping & Web Development - No Replies

Hi,

i'm new to this whole thing. I'm trying to create a project. For the UI i want a webpage and i'm sitting on that page for longer then i wanted...... More

Print this item

  Concatenate array for 3D plotting
Posted by: armanditod - Mar-20-2024, 02:54 PM - Forum: General Coding Help - Replies (1)

hello everyone,

i am trying to plot this : (first image). It's basically a cylinder with two hemisphere : one on the top of the cylinder and one on..... More


Attached Files

Thumbnail(s)
       
Print this item

  optimum chess endgame with D=3 pieces doesn't give an exact moves_to_mate variable
Posted by: max22 - Mar-20-2024, 01:25 PM - Forum: General Coding Help - Replies (1)

I have just upgraded my code for computing completely optimally for both players a chess endgame as given here:
https://pastebin.com/jQ0..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data input while debuggin... 2 minutes ago fred1232 victor1245 General Codin...
  Select Python comment (#)... 5 hours ago SpongeB0B Pedroski55 General Codin...
  New to Python and Pygame Yesterday, 11:25 JMcM JMcM Game Developm...
  Python Installation issue Yesterday, 11:16 RFHill Dev News and Disc...
  New to the field Yesterday, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Yesterday, 02:34 RonR deanhystad GUI
  I'm trying to make a piec... 09-13, 06:11 Alislugacool MilesWeb General Codin...
  Seeking feedback: dynamic... 09-12, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... 09-12, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... 09-12, 08:36 physalis2099 Olivia General Codin...
  403 Error 09-11, 20:39 CaptainNewb snippsat Web Scraping ...
Most views
  The best Prog... 575606
  Tutorial Requ... 496693
  Web Scraping ... 439681
  Newbie with P... 383302
  New Users Int... 364523
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 8174
snippsat 7366
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
victor1245 Today
Fobertsmene Yesterday
jeremyn24503 Yesterday
homataheri Yesterday
Dev Yesterday

User Panel Messages

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