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,441
» Latest member: Blaubart
» Forum threads: 38,563
» Forum posts: 174,739

Full Statistics

Online Users
There are currently 497 online users.
» 0 Member(s) | 494 Guest(s)
Bing, Google, Yandex

Latest Threads
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
22 minutes ago
» Replies: 0
» Views: 14
500 Internal Server error...
Forum: Web Scraping & Web Development
Last Post: Larz60+
1 hour ago
» Replies: 3
» Views: 87
Gomoku game problem
Forum: General Coding Help
Last Post: deanhystad
2 hours ago
» Replies: 5
» Views: 239
How to put my game loop i...
Forum: Game Development
Last Post: ekaintan1590
5 hours ago
» Replies: 8
» Views: 2,024
Text frame
Forum: Homework
Last Post: Larz60+
Today, 05:47 AM
» Replies: 1
» Views: 87
tkinter only storing last...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 11:54 PM
» Replies: 8
» Views: 440
Question regarding Python
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 07:04 AM
» Replies: 1
» Views: 196
Brute Forcing Anagrams
Forum: General Coding Help
Last Post: MeganWillia
May-05-2025, 04:12 PM
» Replies: 13
» Views: 2,335
Picamera2 commands betwee...
Forum: General Coding Help
Last Post: deanhystad
May-05-2025, 02:15 PM
» Replies: 3
» Views: 383
How to space data on x ax...
Forum: General Coding Help
Last Post: m_kdch
May-05-2025, 12:55 PM
» Replies: 0
» Views: 142

 
  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 (3)

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

  Can provide python tutoring and project help
Posted by: Zahiba_Siddiqui - Mar-18-2024, 04:36 PM - Forum: Jobs - Replies (2)

Hi
im a python dev and tutor having taught students of different levels so hold good experience . If you are looking for a tutor to learn python fro..... More

Print this item

  Help with simple code
Posted by: JacobSkinner - Mar-18-2024, 04:14 PM - Forum: General Coding Help - Replies (1)

I have a project where I have to provide a code that calculates the largest and smallest of three integer values given. I think that I have the code p..... More

Print this item

  Document on Django
Posted by: Sowmya - Mar-18-2024, 03:02 PM - Forum: Web Scraping & Web Development - No Replies

Hi all
Can anyone please help to share good document on Django?

Print this item

  User Interaction with Graph in GUI
Posted by: Marty23 - Mar-18-2024, 08:59 AM - Forum: GUI - Replies (1)

So I am relatively new to gui's in python, but I am trying to make an interactive graph, such that a user enters in 3 values in the boxes given, this ..... More

Print this item

  CRUD in Update operation in Django
Posted by: Sowmya - Mar-18-2024, 04:03 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi all
I am working on Django Update operation in CRUD . I used this code
[python]def update_receipe(request,id):
queryset = Receipe.objects.ge..... More

Print this item

  list.sort() returning None
Posted by: SmallCoder14 - Mar-17-2024, 10:52 PM - Forum: General Coding Help - Replies (8)

Hi,

So I'm trying to code a script that uses requests and bs4 to go to https://news.ycombinator.com/news, and print out the most number of upvotes...... More

Print this item

  I have this coding exercise to find how much money take Barrack Obama and Romney Mitt
Posted by: vasiliskarv - Mar-17-2024, 05:21 PM - Forum: Homework - Replies (1)

[python]import pandas as pd
import matplotlib.pyplot as plt
import matplotlib
from collections import defaultdict

matplotlib.style.use('ggplot')..... More

Print this item

  Request for Feedback: Python Website Accessibility
Posted by: jimmyande - Mar-17-2024, 03:24 AM - Forum: News and Discussions - Replies (2)

Dear Python Community,

I hope this message finds you well. As an advocate for inclusivity and accessibility in technology, I wanted to open a discuss..... More

Print this item

  Anyway to stop a thread and continue it?
Posted by: dimidgen - Mar-16-2024, 06:37 PM - Forum: General Coding Help - Replies (2)

Hi all,

I am using the threading module to run a while loop as a thread which scrapes stock information off of Yahoo Finance and appends it to a cs..... More

Print this item

Sad Selenium update broke python code
Posted by: genericusername12414 - Mar-16-2024, 05:45 PM - Forum: General Coding Help - Replies (1)

This simple scraping script worked perfectly a few years ago. Today it no longer works, I suspect updates to selenium may have broken old commands. An..... More

Print this item

  A Programmer Named Tim
Posted by: Angelical - Mar-16-2024, 04:32 PM - Forum: Board - Replies (3)

It says on my Account that I am, “A Programmer Named Tim” and I see many Accounts say that. Does anyone know what it means?

Print this item

Information Comparing cloud hosts for serverless functions (FaaS) for Python
Posted by: hmartin - Mar-16-2024, 04:30 PM - Forum: Web Scraping & Web Development - No Replies

I was going crazy trying to compare Python cloud function hosts and started taking notes ... hope this helps someone, feedback welcome! https://github..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  problems with netcdf if I... 22 minutes ago Blaubart Blaubart General Codin...
  500 Internal Server error... 1 hour ago ppowell777 Larz60+ Web Scraping ...
  Gomoku game problem 2 hours ago snl_9527 deanhystad General Codin...
  How to put my game loop i... 5 hours ago temlotresid6 ekaintan1590 Game Developm...
  Text frame Today, 05:47 dnabtuh Larz60+ Homework
  tkinter only storing last... Yesterday, 23:54 bertschj1 deanhystad General Codin...
  Question regarding Python Yesterday, 07:04 LPTtech Larz60+ General Codin...
  Brute Forcing Anagrams 05-05, 16:12 Anorak MeganWillia General Codin...
  Picamera2 commands betwee... 05-05, 14:15 GigiG deanhystad General Codin...
  How to space data on x ax... 05-05, 12:55 m_kdch m_kdch General Codin...
  MPEG DASH Package impleme... 05-05, 08:34 anantha_narayanan pintailscratchy General Codin...
Most views
  The best Prog... 559716
  Tutorial Requ... 433486
  Web Scraping ... 425033
  Newbie with P... 355401
  Thread remain... 328766
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 325
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12041
buran 8167
snippsat 7324
deanhystad 6817
metulburr 5151
Top referrers
Googlepro 22
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Blaubart Today
mesud_20 Today
smanthapetrovz598 Today
vctoriativanov8629 Today
sakhr Today

User Panel Messages

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