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,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

Online Users
There are currently 60 online users.
» 2 Member(s) | 53 Guest(s)
Google, AOL, snippsat, kshahzad1985

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
6 hours ago
» Replies: 1
» Views: 42
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
6 hours ago
» Replies: 11
» Views: 243
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
6 hours ago
» Replies: 3
» Views: 92
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
11 hours ago
» Replies: 5
» Views: 227
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 84
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,600
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 181
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 168
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,816
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,407

 
  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: 387)
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

  my venv is not loading
Posted by: njoki - Mar-20-2024, 06:14 AM - Forum: General Coding Help - Replies (1)

i created a virtual environment in my command prompt and activated it. i then opened my files through vs code but when i want to activate the previous..... More

Print this item

  Cannot remove one of the x-ticks from a 2x1 subplot.
Posted by: generalzu10 - Mar-20-2024, 02:37 AM - Forum: General Coding Help - Replies (1)

Hi. I posted this question on Stack Exchange, and I am posting it here as well incase anyone can help here.

I will post the full text here. Any help..... More

Print this item

  Python Jira Connectivity
Posted by: Shyam - Mar-19-2024, 05:43 PM - Forum: General Coding Help - Replies (1)

Hi Team,

Using Python I have established a connection with Jira and am able to extract data for specific projects,

Please confirm is there any..... More

Print this item

  Pivoting the data does not return what I am expecting
Posted by: loulou1997 - Mar-19-2024, 04:52 PM - Forum: Homework - Replies (2)

Hi, I have a coding assignment where I am required to pivot the following data:

face_id Manipulation condition score
101 Ave..... More

Print this item

Brick Number stored as text with openpyxl
Posted by: CAD79 - Mar-19-2024, 12:30 PM - Forum: General Coding Help - Replies (2)

I've got a code for formatting and parsing data (the code doesn't look nice but I started learning python last week, all I want just now is functional..... More

Print this item

  Low code b2b e-commerce solution
Posted by: makc - Mar-19-2024, 10:37 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi!

Need some help in choosing right solution.

Problem:
Faced scalability issues with woocommerce(wordpress) on VPS hosting. 10’000 products + mult..... More

Print this item

  a better way to code this to fix a URL?
Posted by: Skaperen - Mar-19-2024, 05:10 AM - Forum: News and Discussions - Replies (10)

i have this silly code meant to fix a URL that is missing as many as 7 start characters:
[python]
if url.startswith('//'): url = 'https:' + url
if ..... More

Print this item

  For loop in Django
Posted by: Sowmya - Mar-19-2024, 04:11 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi all
For loop is not working in my CMD when do operations on DB tables in Django
import random

>>> import random
>>>
>>> for vege in veges:
..... More

Print this item

  Order by Django
Posted by: Sowmya - Mar-19-2024, 04:08 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi all
I am not getting descending order of my DB table contents I am getting Ascending Order like this vege = Receipe.objects.all().order_by('-recei..... More

Print this item

Information automatic document renaming
Posted by: lisa_d - Mar-19-2024, 01:20 AM - Forum: General Coding Help - Replies (2)

Hi, I am trying to get a script written up to rename PDF and word documents in a certain folder by using the text in the documents.
I need them name..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 6 hours ago lary_p Larz60+ Homework
  [Tkinter] I’m building a ... 6 hours ago tsgiannis tsgiannis GUI
  Help with Serial.write in... 6 hours ago racingsubby Larz60+ General Codin...
  Backward compatibility qu... 11 hours ago yutaozhou Gribouillis News and Disc...
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 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...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578792
  Tutorial Requ... 509693
  Web Scraping ... 441902
  Newbie with P... 385891
  New Users Int... 375816
Most reputation
buran 581
snippsat 510
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Kacper Today
isla123456 Today
vibrometro Today
thebigback Yesterday
dimitriwati Yesterday

User Panel Messages

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