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,566
» Latest member: elija6266
» Forum threads: 37,204
» Forum posts: 169,161

Full Statistics

Online Users
There are currently 515 online users.
» 0 Member(s) | 509 Guest(s)
Bing, Yandex, Google, Baidu, Apple

Latest Threads
a better way to code this...
Forum: News and Discussions
Last Post: perfringo
1 hour ago
» Replies: 1
» Views: 29
CRUD in Update operation ...
Forum: Web Scraping & Web Development
Last Post: Sowmya
3 hours ago
» Replies: 2
» Views: 99
For loop in Django
Forum: Web Scraping & Web Development
Last Post: Sowmya
3 hours ago
» Replies: 0
» Views: 16
Order by Django
Forum: Web Scraping & Web Development
Last Post: Sowmya
3 hours ago
» Replies: 0
» Views: 12
User Interaction with Gra...
Forum: GUI
Last Post: deanhystad
4 hours ago
» Replies: 1
» Views: 113
automatic document renami...
Forum: General Coding Help
Last Post: lisa_d
6 hours ago
» Replies: 0
» Views: 50
Senior Full-stack Python ...
Forum: Jobs
Last Post: pythondevnikhil
10 hours ago
» Replies: 1
» Views: 199
list.sort() returning Non...
Forum: General Coding Help
Last Post: DeaD_EyE
11 hours ago
» Replies: 6
» Views: 184
Help with simple code
Forum: General Coding Help
Last Post: deanhystad
11 hours ago
» Replies: 1
» Views: 103
Using OpenCV and image pa...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 05:28 PM
» Replies: 5
» Views: 324

 
  a better way to code this to fix a URL?
Posted by: Skaperen - 2 hours ago - Forum: News and Discussions - Replies (1)

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 - 3 hours ago - Forum: Web Scraping & Web Development - No Replies

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 - 3 hours ago - Forum: Web Scraping & Web Development - No Replies

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 - 6 hours ago - Forum: General Coding Help - No Replies

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 - Yesterday, 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 - Yesterday, 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 - Yesterday, 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 - Yesterday, 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 - Yesterday, 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 (6)

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 - No Replies

[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 discu..... 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 (1)

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

  TribalDEX
Posted by: Angelical - Mar-16-2024, 04:30 PM - Forum: Bar - No Replies

I am Working on a Token Project on TribalDEX and there seems to be 1 main Problem but it is also an Advantage:

There is Hardly anyone using the Pla..... More

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

  kill python execution program
Posted by: lebossejames - Mar-16-2024, 11:16 AM - Forum: General Coding Help - No Replies

Dear,

I want to stop my python program by a bash script normally so i have these code:

[python]
from time import sleep
import sys
import os..... More

Print this item

  Bootstrap Django
Posted by: Sowmya - Mar-16-2024, 09:22 AM - Forum: Web Scraping & Web Development - No Replies

Hi all.
I want to add nav bar to my Django project. So I copied Html code from Bootstrap to my Django Html. It worked properly.
So, the Youtuber sai..... More


Attached Files

Thumbnail(s)
   
Print this item

  Undestanding asyncio (Solved)
Posted by: ebolisa - Mar-16-2024, 05:09 AM - Forum: General Coding Help - Replies (2)

Hi,
I've a test code below which connects to a AWS server but it doesn't loop every 10s.
What do I've to do so it loops? Also, I get a warning for l..... More

Print this item

  Two Python problems to solve
Posted by: djzsp - Mar-16-2024, 12:55 AM - Forum: Homework - Replies (1)

Solving 2 problems

Goodnight.
I have two problems and I would like help from my colleagues to resolve them. Are they:

Problem 1) Suppose someon..... More

Print this item

  FTP Download of Last File
Posted by: jland47 - Mar-15-2024, 03:24 PM - Forum: General Coding Help - Replies (4)

The goal of the script is to grab the last file on the ftp site and save it in a network folder. I am not familiar with debugging the code to see whe..... More

Print this item

  XML comparison
Posted by: Nik1811 - Mar-15-2024, 03:15 PM - Forum: General Coding Help - No Replies

Hi,

I need to compare two XML's. I have a baseline XML("B_XML.xml) for reference that I use to compare with every new generated XML(A_XML.xml).
I ..... More

Print this item

  directory not being created after os.mkdir()
Posted by: CAD79 - Mar-15-2024, 12:49 PM - Forum: General Coding Help - Replies (3)

I'm creating an application that will parse text files into a different text file and create an excel spreadsheet from the new text file it has create..... More

Print this item

  MCU reboots after opening Serial port when ran from Raspberry PI
Posted by: zazas321 - Mar-15-2024, 09:25 AM - Forum: General Coding Help - Replies (2)

Hello. I am running the following via the Raspberry PI :
[code]
serialPort = serial.Serial()
serialPort.baudrate = 115200
serialPort.b..... More

Print this item

  class and runtime
Posted by: akbarza - Mar-15-2024, 08:02 AM - Forum: General Coding Help - Replies (4)

hi
in address:https://docs.python.org/3/tutorial/classes.html
is written: [quote]As is tr..... More

Print this item

  remove gilberishs from a "string"
Posted by: kucingkembar - Mar-15-2024, 07:24 AM - Forum: General Coding Help - Replies (2)

sorry for my bad English,
I got stuck on this problem from 2 day ago,
i tried to extract all of the dialogues from the PS1 game
this is the parts ..... More

Print this item

  Django CSS
Posted by: Sowmya - Mar-15-2024, 05:45 AM - Forum: General Coding Help - No Replies

Hi all.
I downloaded a free website template from travello website. In html file I am configuring CSS , I used {% load static %} at beginning of inde..... More


Attached Files

Thumbnail(s)
   
Print this item

  append str to list in dataclass
Posted by: flash77 - Mar-14-2024, 03:41 PM - Forum: General Coding Help - Replies (6)

Dear community,

I'm trying to append str to a list, which is in a dataclass.
I'm totally new to dataclasses.
I used to use a textfile for storing..... More

Print this item

  TypeError: unhashable type: 'Series'
Posted by: bongielondympofu - Mar-14-2024, 02:00 PM - Forum: Data Science - Replies (2)

I get the TypeError: unhashable type: 'Series' when running the code. The dataset does have a column called 'Date' The code is below
[python]
import..... More


Attached Files

Thumbnail(s)
   
Print this item

  Python Django
Posted by: Sowmya - Mar-14-2024, 12:26 PM - Forum: General Coding Help - Replies (4)

Hello all.
I am using Visual Studio Code 3.11.8 for python coding practice. Whenever I am trying to import module in python , I am getting Import co..... More


Attached Files

Thumbnail(s)
   
Print this item

  ChromeDriver breaking Python script
Posted by: genericusername12414 - Mar-14-2024, 04:03 AM - Forum: General Coding Help - Replies (1)

Have an old script im trying to run. It uses "chromedriver.exe" to run. Every once in a while when chrome updates it breaks the app and id have to go ..... More

Print this item

  File is not being created with 'w' argument
Posted by: CAD79 - Mar-13-2024, 08:04 AM - Forum: General Coding Help - Replies (3)

I am trying to create a small program to parse a text file that outputs data from a datalogger, but from what I have looked up online, using 'w' as an..... More

Print this item

Sad "Disabled" Buttons Still Clickable.
Posted by: Nd4SpdSe - Mar-12-2024, 06:46 PM - Forum: General Coding Help - Replies (3)

Hello. I've never been good a programming, and I know I'm trying to run before learning to walk, but it's kind of how I work by learning when I have a..... More

Print this item

  Saving file to html or pdf stopped working in PyQt6
Posted by: ejKDE - Mar-12-2024, 02:25 PM - Forum: GUI - Replies (4)

I'm currently trying to port PyQt5 to PyQt6 piece by piece. Functions that use html whether to save as html or pdf don't work and i couldn't find any ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  a better way to code this... 1 hour ago Skaperen perfringo News and Disc...
  CRUD in Update operation ... 3 hours ago Sowmya Sowmya Web Scraping ...
  For loop in Django 3 hours ago Sowmya Sowmya Web Scraping ...
  Order by Django 3 hours ago Sowmya Sowmya Web Scraping ...
  User Interaction with Gra... 4 hours ago Marty23 deanhystad GUI
  automatic document renami... 6 hours ago lisa_d lisa_d General Codin...
  Senior Full-stack Python ... 10 hours ago Nadiia_H pythondevnikhil Jobs
  list.sort() returning Non... 11 hours ago SmallCoder14 DeaD_EyE General Codin...
  Help with simple code 11 hours ago JacobSkinner deanhystad General Codin...
  Using OpenCV and image pa... Yesterday, 17:28 AudunNilsen snippsat General Codin...
  Can provide python tutori... Yesterday, 16:36 Zahiba_Siddiqui Zahiba_Siddiqui Jobs
Most views
  The best Prog... 336427
  Tutorial Requ... 242885
  Web Scraping ... 241098
  New Users Int... 223677
  Newbie with P... 207910
Most reputation
buran 582
snippsat 498
Larz60+ 450
Gribouillis 329
deanhystad 310
Most replies
  New Users Int... 430
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11852
buran 8085
snippsat 7050
deanhystad 6077
metulburr 5150
Top referrers
Googlepro 21
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
elija6266 Today
lisa_d Today
pythondevnikhil Yesterday
Zahiba_Siddiqui Yesterday
JacobSkinner Yesterday

User Panel Messages

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