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,933
» Latest member: Shadab
» Forum threads: 38,721
» Forum posts: 175,508

Full Statistics

Online Users
There are currently 56 online users.
» 1 Member(s) | 49 Guest(s)
Applebot, Google, AOL, AOL, deanhystad

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
49 minutes ago
» Replies: 9
» Views: 2,650
Too much space between gr...
Forum: GUI
Last Post: RonR
7 hours ago
» Replies: 4
» Views: 1,077
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
8 hours ago
» Replies: 3
» Views: 95
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 463
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,635
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 557
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 175
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,071
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,303
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 975

 
  Same Data Showing Several Times With Beautifulsoup Query
Posted by: eddywinch82 - May-29-2022, 07:00 PM - Forum: General Coding Help - Replies (2)

Hi there,

I have the following Python Code :-

[python]import pandas as pd
import requests
import numpy as np
from bs4 import BeautifulSoup
i..... More

Print this item

  Date format error getting weekday value
Posted by: Aggie64 - May-29-2022, 06:51 PM - Forum: General Coding Help - Replies (2)

I get the following error on line 4 when running the code below:
valueError: timedata '05/09/2022' does not match format '%m %d %Y'

I am trying to..... More

Print this item

Question Parameterized math calculations?
Posted by: babaliaris - May-29-2022, 06:17 PM - Forum: General Coding Help - Replies (7)

Is there a way to do maths in python that results in parameterized solutions?

For example 2a+3a = 5a

What I want to do is, to use an algorith..... More

Print this item

  Call back doesn't work
Posted by: michel77777 - May-29-2022, 05:19 PM - Forum: News and Discussions - No Replies

The dft loop works fine, but the callback doesn't "interrupt" the loop, the only debugged statement is the def plot_ticker_day(n_clicks):

Any sug..... More

Print this item

  How do you marshal the default printer setup to print?
Posted by: hammer - May-29-2022, 02:54 PM - Forum: General Coding Help - No Replies

I have data in an app that I have put into a .txt file and print using:
[python]
os.startfile("--------.txt" , "print") #from a button in the app th..... More

Print this item

  Pathlib import not working
Posted by: chriswrcg - May-29-2022, 01:04 PM - Forum: General Coding Help - Replies (9)

This is my first attempted script so it is of course not working.

I am trying to open outlook, find an email, and download the attachment

The fi..... More


Attached Files

.py   main.py (Size: 494 bytes / Downloads: 334)
Print this item

  Error notification after encoding
Posted by: robertje1024 - May-29-2022, 12:29 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

I'm new here, sorry for my english is not so good.
I'm learning Python and get an error message after entering a code.

This i..... More

Print this item

  how to convert and format a varable
Posted by: darktitan - May-29-2022, 11:09 AM - Forum: General Coding Help - Replies (4)

Hi
can any one pls help me with convering and formating the variable timeset so my cod can work.
it works only if i replace the timeset variable wit..... More

Print this item

  Knapsack 0-1 & Python & qbasic qb64 & WE
Posted by: DANILIN - May-29-2022, 07:30 AM - Forum: Code sharing - Replies (2)

Knapsack 0-1 & python & qbasic qb64 & WE

Classic Knapsack problem is solved in many ways

Contents: http://rosettacode.org/wiki/Knapsack_problem..... More

Print this item

  Windows paths issue
Posted by: otalado - May-29-2022, 03:37 AM - Forum: General Coding Help - Replies (3)

Using Python 3.7 on Windows 10 pro, I ran to the strange thing:
Path to vlc.exe on my PC is: C:\Program Files\VideoLAN\VLC\vlc.exe. In my scri..... More

Print this item

Lightbulb MacOS can't make it
Posted by: Archi - May-29-2022, 01:09 AM - Forum: General Coding Help - Replies (1)

Hello, folks! Im only starting my python journey. Now Im learning walk function in OS and its simply doesn't work. Can you suggest me something please..... More


Attached Files

Thumbnail(s)
       
Print this item

  Multiply Lists of Lists
Posted by: klatlap - May-29-2022, 12:39 AM - Forum: Data Science - Replies (5)

I have a set of lists like this
[0.74, 0.91, 1.22, 0.91, 1.07, 1.07, 1.07, 1.07, 1.07, 0.74, 0.91, 0.91, 1.07, 1.07, 0.91, 1.07]
[1.23, 0.97, 2.09, ..... More

Print this item

  pip doesn't work after Python upgrade
Posted by: Pavel_47 - May-28-2022, 02:53 PM - Forum: General Coding Help - Replies (10)

Hello,

After upgrading Python 3.6 to Python 3.10, pip became broken:

[output]pavel@ALABAMA:~$ pip3 --version
Traceback (most recent call last):..... More

Print this item

Photo Connecting progress bars to sensors
Posted by: anastejzja - May-28-2022, 08:23 AM - Forum: GUI - Replies (1)

Hi, I'm trying to make a whole GUI to control a robot, but I'm having real trouble with connecting the 5 sensors from the robot to the progress bars i..... More


Attached Files

Thumbnail(s)
   

.py   main.py (Size: 11.44 KB / Downloads: 322)
Print this item

  LANCZOS
Posted by: DPaul - May-28-2022, 06:37 AM - Forum: GUI - Replies (6)

HI,
I have an app that uses (PIL) Image.LANCZOS while resizing a TIF file.
The app runs fine on windows 11. No messages.
It also runs fine on my l..... More

Print this item

  Yahoo Premium
Posted by: pogere - May-27-2022, 08:38 PM - Forum: Data Science - Replies (1)

I'm Brazilian, I'm working on a data science project and I need to access historical information about the exchange (financial mainly), however Yahoo ..... More

Print this item

  Convert string to float problem
Posted by: vasik006 - May-27-2022, 07:15 PM - Forum: General Coding Help - Replies (8)

Hi, I have a problem converting a string to a float. The program receives data from Arduino via the serial port and processes it. But I'm getting this..... More


Attached Files

Thumbnail(s)
   
Print this item

  Basic PyQt6 Example of a timer
Posted by: menator01 - May-27-2022, 05:24 PM - Forum: Code sharing - No Replies

[python]from PyQt6.QtWidgets import (QApplication, QWidget, QLabel, QPushButton, QMessageBox, QGridLayout,
QMainWindow)..... More

Print this item

  Python 100 line Challenge
Posted by: codingCat - May-27-2022, 02:14 PM - Forum: Code sharing - Replies (9)

The goal of the 25 line challenge was to see how much could be squished into a very minimal space. It was amazing to see how low people could go. I w..... More

Print this item

  [SOLVED] [ElementTree] Grab text in attributes?
Posted by: Winfried - May-27-2022, 12:21 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm not very good at XPath, and am a bit lost at the..... More

Print this item

  Help needed with a "for loop" + error handling
Posted by: tamiri - May-27-2022, 11:28 AM - Forum: General Coding Help - Replies (2)

I would like to iterate over a list of items.
In each round, Python is checking the latest Excel file in a folder, opens it, and saves it.

Upon an..... More

Print this item

  How to filter a table view using SortFilterProxyModel
Posted by: DrakeSoft - May-27-2022, 10:44 AM - Forum: GUI - Replies (8)

Hi,

I have tried to create a sample program to help me figure out how the SortFilterProxyModel works in PyQT.

[python]

from PyQt5.QtWidgets import ..... More

Print this item

  How can I add certain elements in this 2d data structure and calculate a mean
Posted by: TheOddCircle - May-26-2022, 08:09 PM - Forum: General Coding Help - Replies (3)

[python]
# ------------------------------------------------------------
# Import libraries
# ------------------------------------------------------..... More

Print this item

  How to get list of exactly 10 items?
Posted by: Mark17 - May-26-2022, 01:24 PM - Forum: General Coding Help - Replies (1)

I'm getting a traceback on this line:

[Python]
axs[1].set_xticks(list(range(1,len(btstats.index),len(btstats.index)//(len(xtick_labels_converted)-..... More

Print this item

  scatter3D different markers per data
Posted by: erdemath - May-26-2022, 01:09 PM - Forum: Data Science - Replies (5)

I have an issue with data visualization in 3D scatter plot. I have regionally stratified some data, say data_A, data_B, data_C. I need to display them..... More


Attached Files

Thumbnail(s)
   
Print this item

  Best books for programming
Posted by: katy1234 - May-26-2022, 12:47 PM - Forum: News and Discussions - No Replies

Hi, Good Day
This is Katy Steven. I am in first year of my engineering and lots of programming language I am learning here. I am very exited about le..... More

Print this item

  migrate code from tkinter to pygame
Posted by: Frankduc - May-26-2022, 12:04 PM - Forum: General Coding Help - Replies (16)

Hi,

I already post about this but i am totally lost i have no clue how to make it work. I am unable to make my button work in tkinter. So i have to m..... More

Print this item

  QT Designer
Posted by: Krissstian - May-26-2022, 06:16 AM - Forum: GUI - Replies (4)

Hi,
First of all I'm new in Python.
I have made with QT Designer a gui for my project an convert it into .py with external tool from PyCharm.
The b..... More

Print this item

  HELP PLS i cannot figure out why this error is happerning
Posted by: StruckGuide8154 - May-25-2022, 09:27 PM - Forum: Data Science - No Replies

here is my code error:
Traceback (most recent call last):
File "C:\Users\harrison.DESKTOP-QMMSLCP\ai\ai.py", line 111, in <module>
words = pi..... More

Print this item

  Accessing same python script from multiple computers
Posted by: bigrockcrasher - May-25-2022, 06:29 PM - Forum: General Coding Help - Replies (1)

I currently work in a facility that uses a very large ZFS using the NFS protocol. We have many servers that are running a variety of Linux distributio..... More

Print this item

  Python to DLL
Posted by: tcomponent - May-25-2022, 05:56 PM - Forum: General Coding Help - Replies (2)

Hi, Python Forum Smile

I'm a new member here. And also new in Python.
My name is Stephanus, you can call me Steven, from Indonesia.

I wou..... More

Print this item

  Popups
Posted by: Axel_Erfurt - May-25-2022, 05:13 PM - Forum: Board - Replies (5)

Is it possible to turn off the popups with the content of the post? They're really annoying.

Print this item

  User-defined function to reset variables?
Posted by: Mark17 - May-25-2022, 02:31 PM - Forum: General Coding Help - Replies (3)

Hi all,

A general outline of my program could be written as something like this:

[Python]
Variable initiation (reset)

Control branch A

..... More

Print this item

  Reordering output messages
Posted by: paulo79 - May-25-2022, 02:02 PM - Forum: General Coding Help - Replies (4)

Hi all,

I have a script where I do a loop condition and show ERROR or OK messages depending of each line return. Example:
[python]for v_count_gds..... More

Print this item

  No collision video
Posted by: Gribouillis - May-25-2022, 01:38 PM - Forum: News and Discussions - Replies (1)

I came across this nice youtube video showing non colliding balls moving in a plane. The progra..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error 49 minutes ago CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... 7 hours ago RonR RonR GUI
  datetime in SQL query. 8 hours ago Dibbley Dibbley General Codin...
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575913
  Tutorial Requ... 497291
  Web Scraping ... 439897
  Newbie with P... 383627
  New Users Int... 365938
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
Shadab Today
Dibbley Today
XenonBlack Yesterday
Lenowell Yesterday
luisshulez6883 09-15

User Panel Messages

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