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,450
» Latest member: RubenBarrios
» Forum threads: 38,564
» Forum posts: 174,746

Full Statistics

Online Users
There are currently 496 online users.
» 1 Member(s) | 489 Guest(s)
Bing, Google, Yandex, Applebot, Baidu, Larz60+

Latest Threads
problems with netcdf if I...
Forum: General Coding Help
Last Post: Larz60+
3 minutes ago
» Replies: 3
» Views: 122
How to use isintance with...
Forum: General Coding Help
Last Post: buran
6 hours ago
» Replies: 3
» Views: 121
Gomoku game problem
Forum: General Coding Help
Last Post: snl_9527
Today, 12:10 AM
» Replies: 6
» Views: 385
500 Internal Server error...
Forum: Web Scraping & Web Development
Last Post: Larz60+
Yesterday, 05:04 PM
» Replies: 3
» Views: 152
How to put my game loop i...
Forum: Game Development
Last Post: ekaintan1590
Yesterday, 12:54 PM
» Replies: 8
» Views: 2,051
Text frame
Forum: Homework
Last Post: Larz60+
Yesterday, 05:47 AM
» Replies: 1
» Views: 114
tkinter only storing last...
Forum: General Coding Help
Last Post: deanhystad
May-06-2025, 11:54 PM
» Replies: 8
» Views: 479
Question regarding Python
Forum: General Coding Help
Last Post: Larz60+
May-06-2025, 07:04 AM
» Replies: 1
» Views: 227
Brute Forcing Anagrams
Forum: General Coding Help
Last Post: MeganWillia
May-05-2025, 04:12 PM
» Replies: 13
» Views: 2,391
Picamera2 commands betwee...
Forum: General Coding Help
Last Post: deanhystad
May-05-2025, 02:15 PM
» Replies: 3
» Views: 410

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

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

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: Web Scraping & Web Development - Replies (1)

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

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

  WebElements of an HTML page
Posted by: Nik1811 - Mar-12-2024, 12:39 PM - Forum: General Coding Help - Replies (2)

Hi! I'm new to Python programming and trying to create a POC for my project.

Goal:
1) Find all elements on the webpage(present inside and outside ..... More

Print this item

  break print_format lengthy line
Posted by: akbarza - Mar-12-2024, 11:24 AM - Forum: General Coding Help - Replies (4)

hi
in the below snippet code :

[python]info1={'name':'ali', 'classroom':3}
info2={'name':'mohammad','classroom':2}
print('{0[name]} is in class..... More

Print this item

  Interaction between Matplotlib window, Python prompt and TKinter window
Posted by: NorbertMoussy - Mar-11-2024, 04:14 PM - Forum: GUI - Replies (3)

Hi,
I would like to have a Maplotlib window with a graph and interacting with normal instruction from the kernel. In parallel, I would like to have a..... More


Attached Files

.py   Tkinter_talking_Mpl.py (Size: 1.75 KB / Downloads: 144)
Print this item

  Text parsing
Posted by: Arik - Mar-11-2024, 03:54 AM - Forum: General Coding Help - Replies (5)

Hello!

I parse emails with receipts to collect a database using Python.
Idea is to concatenate line starting with "&" or lowercase alphabet letter..... More

Print this item

  Why can I not see the code correctly in Python IDLE.?
Posted by: Trump - Mar-10-2024, 11:53 PM - Forum: General Coding Help - Replies (8)

I am using Python IDLE 2.7.18.4 on Windows 10. I copied a code from a pdf in my editor and made it as comments. The code look like this in my editor:..... More

Print this item

  print doesnt work in a function
Posted by: ony - Mar-10-2024, 06:51 PM - Forum: General Coding Help - Replies (2)

Ive been trying to make a random number generator with some luck stuff but im stuck here

[python]import random

randomnumber = random.sample(rang..... More

Print this item

  Portfolio Optimization code error i want to cry
Posted by: FinanceMotta - Mar-10-2024, 06:09 PM - Forum: General Coding Help - Replies (3)

I have been coding this bad boy for a long fucking time, started python recently more finance related stuff but i cannot get this MF to work like i sp..... More


Attached Files

.py   pinocchio_asset.py (Size: 3.74 KB / Downloads: 148)
Print this item

Question Running Python script through Task Scheduler?
Posted by: Winfried - Mar-10-2024, 03:39 PM - Forum: General Coding Help - Replies (8)

Hello,

This is my first try at running a Python (3.12.0) script through Windows 10's Task Scheduler… and it didn't work (as pretty much expected)...... More

Print this item

  No Internet connection when running a Python script
Posted by: basil_555 - Mar-10-2024, 09:18 AM - Forum: General Coding Help - Replies (8)

Hello. I have the follwoing Python code that checks a website for change. This script always gives me an error "Error checking website". What am I doi..... More

Print this item

  Weight Distribution
Posted by: 11drk9 - Mar-10-2024, 02:31 AM - Forum: General Coding Help - Replies (11)

Provide a python function for the below case and add a column
1) Sum parent weight based on Level_3 and distribute the values based on values in chil..... More

Print this item

  Learning curve
Posted by: astral_travel - Mar-09-2024, 09:16 PM - Forum: General Coding Help - Replies (3)

Hi,
Can you describe what would be the wanted and essential substances/knowledge in order to be able to develop an automatic stocks trading system whi..... More

Print this item

  Tkinter Matplotlib Animation Graph not rendering
Posted by: dimidgen - Mar-09-2024, 04:48 PM - Forum: GUI - Replies (3)

I am trying to plot a real time stock price graph on a tkinter frame using matplotlib's funcanimation and tkcanvas, however whenever I try and put it ..... More

Print this item

  How to communicate between Electron Framework and python
Posted by: Abdul_Rafey - Mar-09-2024, 12:18 PM - Forum: General Coding Help - No Replies

I am trying to make a face recognition attendance system for schools using Python and Electron. I am using multiprocessing in Python which will create..... More

Print this item

  using PowerShell from Python script for mounting shares
Posted by: tester_V - Mar-09-2024, 07:11 AM - Forum: General Coding Help - Replies (8)

Greetings to you all!
I have a list of Hosts, I need to connect to each host and do something with the files on it.
For some reason some of the host..... More

Print this item

  Load data in Oracle
Posted by: muzokh - Mar-08-2024, 11:19 PM - Forum: General Coding Help - No Replies

hi
I am working on this for the last night but no luck . I am trying to load multiple csv files from a specific folder and load in into oracle data..... More

Print this item

  Adding PD DataFrame column
Posted by: bsben - Mar-08-2024, 04:14 PM - Forum: General Coding Help - Replies (2)

Moring All.

I'm a bit stuck when adding a new column to a DF. This can get a little confusing, but will try to keep it simple.

I'm working with..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  problems with netcdf if I... 3 minutes ago Blaubart Larz60+ General Codin...
  How to use isintance with... 6 hours ago Azdaghost buran General Codin...
  Gomoku game problem Today, 00:10 snl_9527 snl_9527 General Codin...
  500 Internal Server error... Yesterday, 17:04 ppowell777 Larz60+ Web Scraping ...
  How to put my game loop i... Yesterday, 12:54 temlotresid6 ekaintan1590 Game Developm...
  Text frame Yesterday, 05:47 dnabtuh Larz60+ Homework
  tkinter only storing last... 05-06, 23:54 bertschj1 deanhystad General Codin...
  Question regarding Python 05-06, 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...
Most views
  The best Prog... 560245
  Tutorial Requ... 435534
  Web Scraping ... 425506
  Newbie with P... 356369
  Thread remain... 329684
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+ 12043
buran 8168
snippsat 7324
deanhystad 6818
metulburr 5151
Top referrers
Googlepro 22
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
RubenBarrios Today
TvA Today
Sandrarox Today
TecocraftUK Today
codigo1 Today

User Panel Messages

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