Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,646
» Latest member: jlakyrn
» Forum threads: 37,394
» Forum posts: 169,941

Full Statistics

Online Users
There are currently 495 online users.
» 0 Member(s) | 488 Guest(s)
Bing, Google, Baidu, AOL, Yandex, Applebot

Latest Threads
Win or Loss Prediction
Forum: General Coding Help
Last Post: ksasi2k3
2 hours ago
» Replies: 4
» Views: 134
Good way to ignore case w...
Forum: General Coding Help
Last Post: menator01
3 hours ago
» Replies: 1
» Views: 71
how to edited Tkinter Top...
Forum: General Coding Help
Last Post: deanhystad
5 hours ago
» Replies: 7
» Views: 159
using mutable in function...
Forum: General Coding Help
Last Post: snippsat
6 hours ago
» Replies: 1
» Views: 93
Cucumber installation
Forum: General Coding Help
Last Post: SandraYokum
8 hours ago
» Replies: 2
» Views: 106
if else statements
Forum: General Coding Help
Last Post: DeaD_EyE
8 hours ago
» Replies: 8
» Views: 3,816
Pulsing notification icon
Forum: Board
Last Post: plaintivemiserly
Today, 04:00 AM
» Replies: 4
» Views: 1,175
watchdog on_modified
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:23 PM
» Replies: 3
» Views: 177
Volume label
Forum: Bar
Last Post: DPaul
Yesterday, 03:16 PM
» Replies: 3
» Views: 140
Python Project Structure ...
Forum: General Coding Help
Last Post: b19wh33l5
Yesterday, 12:21 PM
» Replies: 0
» Views: 100

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

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

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: 53)
Print this item

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

I need to detect solar radio bursts using python. The spectograms are in .fits file. Can[size=1][color=#FFF]smash karts[[url=https://python-forum.io/thread-41801.html]..... 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 - No Replies

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Win or Loss Prediction 2 hours ago ksasi2k3 ksasi2k3 General Codin...
  Good way to ignore case w... 3 hours ago Winfried menator01 General Codin...
  how to edited Tkinter Top... 5 hours ago kucingkembar deanhystad General Codin...
  using mutable in function... 6 hours ago akbarza snippsat General Codin...
  Cucumber installation 8 hours ago SDS SandraYokum General Codin...
  if else statements 8 hours ago remy DeaD_EyE General Codin...
  Pulsing notification icon Today, 04:00 menator01 plaintivemiserly Board
  watchdog on_modified Yesterday, 18:23 CAD79 deanhystad General Codin...
  Volume label Yesterday, 15:16 DPaul DPaul Bar
  Python Project Structure ... Yesterday, 12:21 b19wh33l5 b19wh33l5 General Codin...
  What software to use? Yesterday, 09:28 pickledrick mojobadshah General Codin...
Most views
  The best Prog... 412038
  Web Scraping ... 303047
  Tutorial Requ... 292777
  Newbie with P... 250985
  Thread remain... 233130
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11871
buran 8090
snippsat 7087
deanhystad 6216
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
jlakyrn Today
Sladja Today
Olja Today
FastCode Today
plaintivemiserly Today

User Panel Messages

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