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,467
» Latest member: Shailesh
» Forum threads: 38,578
» Forum posts: 174,808

Full Statistics

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

Latest Threads
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:32 PM
» Replies: 1
» Views: 143
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
Yesterday, 04:09 PM
» Replies: 1
» Views: 85
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
Yesterday, 07:38 AM
» Replies: 4
» Views: 1,290
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 12:25 AM
» Replies: 0
» Views: 79
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
May-14-2025, 05:21 PM
» Replies: 5
» Views: 333
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
May-14-2025, 04:02 PM
» Replies: 16
» Views: 1,122
Retired and Learning Pyth...
Forum: Code sharing
Last Post: BarbaraGonzalez
May-14-2025, 09:04 AM
» Replies: 1
» Views: 349
Pip help
Forum: General Coding Help
Last Post: Larz60+
May-14-2025, 05:57 AM
» Replies: 4
» Views: 401
Paste text with caret alr...
Forum: General Coding Help
Last Post: armorerratic
May-14-2025, 01:12 AM
» Replies: 2
» Views: 976
Library Management System
Forum: Homework
Last Post: deanhystad
May-13-2025, 01:56 AM
» Replies: 1
» Views: 211

 
  Using pyinstaller with .ui GUI files - No such file or directory error
Posted by: diver999 - Jun-26-2023, 03:20 PM - Forum: General Coding Help - Replies (3)

Hi All, I'm sure I'm not the first to encounter this but can't seem to find a solution.I hope someone can help.

I'm using W11, python 3.11 & PyQt5...... More

Print this item

  Computing GC Content
Posted by: uwl - Jun-25-2023, 10:04 PM - Forum: General Coding Help - Replies (3)

I have been trying to find the solution to a programming problem which asks me to find the GC content. The example online displays:

[i]Sample Dataset..... More

Print this item

  Incredible stability of Python code
Posted by: Gribouillis - Jun-25-2023, 08:39 PM - Forum: News and Discussions - Replies (1)

I downloaded the Tkinter examples of the old John Grayson's book "Python and Tkinter programming", which were written for Python 1.5 in 1999 or so and..... More

Print this item

  how do I open two instances of visual studio code with the same folder?
Posted by: SuchUmami - Jun-25-2023, 04:28 PM - Forum: General Coding Help - Replies (3)

I'd like to run two pieces of code simultaneously. I thought the easiest way to do that would be just to open two instances of studio code and run the..... More

Print this item

  Subtitle Access
Posted by: jrockow - Jun-25-2023, 02:14 PM - Forum: General Coding Help - Replies (3)

I have been searching for quite a while to find the correct attribute to toggle thru the subtitles in my Pyhton VLC script.
When I use VLC directly t..... More

Print this item

  Refutation of the Euler hypothesis
Posted by: Vitulus - Jun-24-2023, 05:29 PM - Forum: Homework - Replies (2)

Problem with completing the task.
good time of day. In the process of learning programming in the Python environment, I encountered the problem of in..... More


Attached Files

.py   main.py (Size: 322 bytes / Downloads: 245)
Print this item

  Excel - Python
Posted by: bckdw3tci6 - Jun-24-2023, 04:19 PM - Forum: General Coding Help - Replies (4)

Greetings all,
I am one of those trying to learn Python on my own. I have pretty extensive excel function and I am trying to convert a lot of unstruc..... More

Print this item

  Boustrophedon path planning
Posted by: proteca - Jun-24-2023, 02:45 PM - Forum: General Coding Help - No Replies

Hello everyone, I'm trying to cover an entire area with a step size of 0.4. I would like that with each change of "parallel line" the following point ..... More


Attached Files

Thumbnail(s)
       
Print this item

  Why doesn't calling a parent constructor work with arbitrary keyword arguments?
Posted by: PurposefulCoder - Jun-24-2023, 11:02 AM - Forum: General Coding Help - Replies (4)

I have a module named user_admin_privileges.py with 3 classes in it: Privileges, User, and Admin.

In my program I import the class Admin from the m..... More

Print this item

  How to "tee" (=split) output to screen and into file?
Posted by: pstein - Jun-23-2023, 06:59 PM - Forum: General Coding Help - Replies (6)

Assume I want to write something from inside a *.py script to screen AND into file D:\tools\python\myoutput.log

How can I achive this WITHOUT execu..... More

Print this item

  How to pause execution (on windows)?
Posted by: pstein - Jun-23-2023, 06:54 PM - Forum: General Coding Help - Replies (1)

Assume I have created a *.py script (on windows).
If I double click on it it is executed. But the command prompt windows vanishes immediately.
I can..... More

Print this item

  does not save in other path than opened files before
Posted by: icode - Jun-23-2023, 03:38 PM - Forum: General Coding Help - Replies (3)

Hi,
sorry for my poor title description.
I am rather new to python and programming, but read some tutorials and books about simple string manipulati..... More

Print this item

  parse/read from file seperated by dots
Posted by: giovanne - Jun-23-2023, 12:49 PM - Forum: General Coding Help - Replies (5)

File.txt:
...
Step.1 = Task1
Step.1.Name = My first Task
Step.1.Result = good
Step.1.Progress = finished
Step.2 = Task2
Step.2.Name = My second..... More

Print this item

  Timestamp of file changes if a share mapped to a server….
Posted by: tester_V - Jun-23-2023, 07:29 AM - Forum: General Coding Help - Replies (34)

Greetings!
This is a very strange problem. Wall
I’m copying files from Asia and we have like a 15 hours difference in time.
I’m trying to cop..... More

Print this item

  calling external function with arguments
Posted by: Wimpy_Wellington - Jun-23-2023, 04:43 AM - Forum: General Coding Help - Replies (6)

I am new to python...

I am trying to call a function defined in a separate program, but I cannot figure out how to pass an argument. How to do?
..... More

Print this item

  redirect STDIO in the Python code
Posted by: Skaperen - Jun-23-2023, 01:32 AM - Forum: General Coding Help - Replies (6)

i need to have the ability to do standard I/O redirection within a CLI script in Python. I've done this a few times in C. to do this in Python i cou..... More

Print this item

  Code works but doesn't give the right results
Posted by: colin_dent - Jun-22-2023, 01:22 AM - Forum: General Coding Help - Replies (2)

Sorry, I didn't post the code right and problem was fixed in the meantime.

Thanks for all feedback.

Print this item

  Lost Modules
Posted by: standenman - Jun-21-2023, 09:44 PM - Forum: General Coding Help - Replies (2)

I cannot access the modules I have pip installed in my virtual environment. I have checked the interpreter and it seems to be ok. In the example, ca..... More

Print this item

  Programmatically creating buttons that remember their positions
Posted by: Clunk_Head - Jun-21-2023, 02:20 PM - Forum: GUI - Replies (6)

I'm looking to create buttons that remember where they are are in a 2D list. This way they can share a single function that takes their 2D list indice..... More

Print this item

  While Loop Does Not Work Properly
Posted by: mactron - Jun-21-2023, 11:41 AM - Forum: General Coding Help - Replies (4)

I am scraping some data from a local website, and everything works fine except for the while loop for proxies. I'm not exactly sure where the issue li..... More

Print this item

  tkinter mapview in a frame
Posted by: janeik - Jun-21-2023, 10:18 AM - Forum: GUI - Replies (2)

I have 3 frames ipage1, page2,page3 in app, starting at page2 when entering app.
Page2 runs tkinter mapview.
Entering paee1/page2 "kills" the mapvie..... More

Print this item

  Getting App to Run
Posted by: Zachary1234 - Jun-21-2023, 05:25 AM - Forum: Web Scraping & Web Development - Replies (4)

I have been doing an online Python Tutorial at https://www.youtube.com/watch?v=B9nFMZIYQl0 at a..... More

Print this item

  COMPLEX! Transparent Canvas Linux
Posted by: AceScottie - Jun-20-2023, 10:55 PM - Forum: GUI - Replies (7)

Im looking to make my code cross compatible with Linux.
Unfortunatly i have some bits of code that rely on the win32 module and windows API calls to..... More

Print this item

  [PySide6] Alarms App
Posted by: carecavoador - Jun-20-2023, 02:05 PM - Forum: Code Review - Replies (2)

Hello everyone.

Here is my alarms app. I did it for fun, because programming is a hobby for me, and because my girlfriend asked for something to he..... More

Print this item

Sad Can anyone help me successfully run this code?
Posted by: TheMouseAvenger - Jun-19-2023, 08:13 PM - Forum: General Coding Help - Replies (26)

OK, so I'm a TOTAL newbie to Python, & I hope this is the only time I will ever have to use it! But in any case, this is my dilemma...

(Oh, an imp..... More

Print this item

  How would I alter this to a single api request?
Posted by: SuchUmami - Jun-19-2023, 04:00 PM - Forum: General Coding Help - Replies (1)

I wrote this code that will fetch data from different currencies from a crypto exchange and saves the data into a file:

[python]import krakenex
im..... More

Print this item

  How to detect abnormal data in big database python
Posted by: vanphuht91 - Jun-19-2023, 03:20 PM - Forum: General Coding Help - Replies (5)

I have a database with 10,000 rows and 3,000 columns. My task is detect abnormal data when compare line by line, item by item.

[python]
import mat..... More


Attached Files

Thumbnail(s)
       

.xlsx   Book1.xlsx (Size: 16.29 KB / Downloads: 209)
Print this item

Bug Dinamically adding widgets to layout [PySide6]
Posted by: carecavoador - Jun-19-2023, 11:56 AM - Forum: GUI - Replies (2)

Hello!

I'm following this thread on SO to dinamically crea..... More

Print this item

  Formatting a date time string read from a csv file
Posted by: DosAtPython - Jun-19-2023, 10:59 AM - Forum: General Coding Help - Replies (5)

L.S.,

I'm rather new to python-programming. I'm trying to remove the time info from a date time string read from a csv-file. My impression is that ..... More

Print this item

  Beginner question re: Tkinter geometry
Posted by: return2sender - Jun-19-2023, 12:39 AM - Forum: GUI - Replies (3)

I am trying to create a data entry form that takes user input in categories and displays it in a grid.

The code below illustrates what I am trying ..... More

Print this item

  docx insert words of previuos paragraph on next paragraph in the same position
Posted by: ctrldan - Jun-18-2023, 09:10 PM - Forum: General Coding Help - Replies (7)

Hi, with from docx import Document I want to convert a docx to xml (and I did, I create a string that will be my output xml). This docx document conta..... More


Attached Files

Thumbnail(s)
   
Print this item

  pip installs in a different python version and directory than the default 3.11
Posted by: ao_tex_mal - Jun-18-2023, 05:19 PM - Forum: General Coding Help - Replies (9)

Hi All,

Quick question - not related explicitly to python code - more related to installing packages.

When I try to install packages with pip insta..... More

Print this item

  Code is returning the incorrect values. syntax error
Posted by: 007sonic - Jun-18-2023, 04:23 PM - Forum: General Coding Help - Replies (6)

Just trying to figure out why my code here is returning the incorrect minimum and maximum values. tried flipping the ">" and "<" around and it still d..... More

Print this item

  Python: AttributeError: 'PageObject' object has no attribute 'extract_images'
Posted by: Melcu54 - Jun-18-2023, 02:06 PM - Forum: General Coding Help - Replies (2)

hello, I try to convert with OCR some pdf that contains images. I got this error:

[python]Traceback (most recent call last):
File "E:\Carte\BB\1..... More

Print this item

  Invalid argument: 'images\x08ackground.jpg'
Posted by: CatBall - Jun-18-2023, 10:52 AM - Forum: General Coding Help - Replies (4)

My code:
[Image: d6a4a5c68148a348a654a0a4a7774cfb.png]

The error:
[img]https://i.gyazo.com/67e616fd9ee26818bfe80edb628e9ede..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  class Blockage not projec... Yesterday, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import Yesterday, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... Yesterday, 07:38 autodecay Pate General Codin...
  tracking version during r... Yesterday, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... 05-14, 17:21 Calab snippsat General Codin...
  problems with netcdf if I... 05-14, 16:02 Blaubart Blaubart General Codin...
  Retired and Learning Pyth... 05-14, 09:04 breacsealgaire BarbaraGonzalez Code sharing
  Pip help 05-14, 05:57 meditek Larz60+ General Codin...
  Paste text with caret alr... 05-14, 01:12 Wehaveall armorerratic General Codin...
  Library Management System 05-13, 01:56 annajoy deanhystad Homework
  smbus.SMBus i2c code whic... 05-12, 15:51 NewbyTyro NewbyTyro General Codin...
Most views
  The best Prog... 563983
  Tutorial Requ... 450597
  Web Scraping ... 428966
  Newbie with P... 363632
  Thread remain... 336143
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Shailesh Yesterday
jackdennis272 Yesterday
JeanChristophe 05-14
EZEKIELGRAPHICSMEDIA 05-14
BarbaraGonzalez 05-14

User Panel Messages

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