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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,236
» Latest member: Cristiano
» Forum threads: 38,776
» Forum posts: 175,790

Full Statistics

Online Users
There are currently 48 online users.
» 1 Member(s) | 43 Guest(s)
Bing, Applebot, Google, Cristiano

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: noisefloor
6 hours ago
» Replies: 3
» Views: 72
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
8 hours ago
» Replies: 3
» Views: 91
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 07:29 PM
» Replies: 0
» Views: 64
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:59 AM
» Replies: 3
» Views: 97
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Yesterday, 09:09 AM
» Replies: 452
» Views: 375,027
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:07 AM
» Replies: 2
» Views: 3,362
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,550
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 179
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,192
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,437

 
  Running script with subprocess in another directory
Posted by: paul18fr - Jan-20-2023, 02:20 PM - Forum: General Coding Help - Replies (1)

Hi,

I'm trying to run an executable script (thanks to chmod +x) but located in another directory; whatever I do, it is running in the current direc..... More

Print this item

  How to read csv file update matplotlib column chart regularly
Posted by: SamLiu - Jan-20-2023, 11:53 AM - Forum: General Coding Help - Replies (2)

Hi all,

I want to read csv date and update column charts by matplotlib automatically.
As snapshots first time write log and update column chart by..... More

Print this item

  write json into a table
Posted by: herobpv - Jan-20-2023, 06:44 AM - Forum: General Coding Help - Replies (4)

I need to write a subset of data into a table using pymssql library. I am able to prepare the data I want but stuck on how to write this data into a t..... More

Print this item

  Starting New Programming Career after 50
Posted by: MCL169 - Jan-20-2023, 02:23 AM - Forum: News and Discussions - Replies (4)

I am looking for a career change coming from a hospitality and customer service background. I have also run a freelance photography business and I wor..... More

Print this item

  Manipulating panda dataframes more python-like
Posted by: badtwistoffate - Jan-20-2023, 12:57 AM - Forum: Homework - Replies (4)

Hello,

While not necessarily homework, it seems the best place to post considering the question and difficulty level. I am trying to analyze some d..... More

Print this item

  iterate through the dict_values while unpacking the dictionary
Posted by: PeacockOpenminded - Jan-19-2023, 12:29 PM - Forum: General Coding Help - Replies (3)

I have trouble with iterating through dict_values, while unpacking the dictionary.

I have a dictionary which contains 2 arrays, a and b:
[python]a..... More

Print this item

  export sql table to csv using BCP with headers
Posted by: mg24 - Jan-19-2023, 05:36 AM - Forum: General Coding Help - No Replies

Hi Team,

Can we export SQL Table into csv using BCP Approach.

bcp "SELECT (SELECT STUFF((SELECT '|'+name FROM sys.columns
WHERE object_id = OB..... More

Print this item

  painfully slow runtime when handling data
Posted by: dadazhu - Jan-19-2023, 04:39 AM - Forum: General Coding Help - Replies (3)

Hi everyone,

I am new to Python, and just completed some codes as below that take forever to run. It seemed working if I only run the first 10 rows ..... More

Print this item

  Find a shift between 2 pictures
Posted by: TazFleck - Jan-18-2023, 09:56 PM - Forum: General Coding Help - No Replies

Hi everyone,

I have for a project to find a shift between 2 pictures:

[img]https://zupi[url=https://python-forum.io/thread-39237.html]..... More

Print this item

  Python Pandas Syntax problem? Wrong Output, any ideas?
Posted by: Gbuoy - Jan-18-2023, 08:55 PM - Forum: General Coding Help - Replies (2)

Hello!

I was hoping to get some input on why my code is not working as intended. I want to produce the mean and median value of a Pandas series tha..... More

Print this item

  [Solved] Eric 7 uic error
Posted by: arwen - Jan-18-2023, 08:02 PM - Forum: GUI - Replies (2)

Good morning.

I have a problem with erik7 after reinstalling PyQt5 which I had uninstalled by mistake.
In a small test program when I run "generat..... More

Print this item

  How we can Fraud Prevention Platforms for Business
Posted by: Anldra12 - Jan-18-2023, 03:41 PM - Forum: News and Discussions - No Replies

Expertise in Fraud Prevention Platforms

  • Dear all I need some suggestions or platforms that help me! How can we secure or make onlin..... More

Print this item

  Adding a subroutine to a larger program
Posted by: Led_Zeppelin - Jan-18-2023, 03:25 PM - Forum: General Coding Help - Replies (2)

The following program was written by me. I wanted to plot feature importance against sensor number on a two-dimensional plot. The X axis has the senso..... More


Attached Files

Thumbnail(s)
   
Print this item

  file handling Newbee question
Posted by: middlecope - Jan-18-2023, 01:59 PM - Forum: General Coding Help - Replies (2)

I am a pascal programmer learning python
Raspberry pi 2, python 3.9

f = open("temps.txt")
f.write("attemt1\r\n")
f.close
Nothing i..... More

Print this item

  Result from SQLite not reliable.. [Solved]
Posted by: SpongeB0B - Jan-18-2023, 06:56 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi everyone,

I'm testing in memory SQLite DB to use with Flask

here my simple test

[python]
Conn = sqlite3.connect(':memory:')
ConnCursor =..... More

Print this item

  How to insert data json to treeview tkinter?
Posted by: Shakanrose - Jan-17-2023, 07:26 PM - Forum: GUI - Replies (8)

Hi, I'm using python for a short time and I'm getting a little complicated. What I'm looking for is that when I enter the corresponding tab, it displa..... More

Print this item

  Looking for freelances in Python
Posted by: assalim - Jan-17-2023, 07:11 PM - Forum: Jobs - Replies (5)

Looking for freelances in Python

Print this item

  global variables
Posted by: HeinKurz - Jan-17-2023, 04:50 PM - Forum: General Coding Help - Replies (3)

I've read a view posts and articles about global variables so I don't understand why it doesn't work in my app.
In the code below pos1, pos2 and pos2..... More

Print this item

  PyQt5 graphics question
Posted by: HeinKurz - Jan-17-2023, 01:54 PM - Forum: GUI - Replies (5)

Hi!
Below my first Python PyQt5 app. Cool
So far it works perfectly.
But what I do in paintEvent is to load the background image every time ..... More

Print this item

  PIL ImageTk issue with MATPLOTLIB
Posted by: garynewport - Jan-17-2023, 11:32 AM - Forum: General Coding Help - No Replies

I am trying to run my program on a Linux unit, knowing that the code works on OSx and Windows.

I keep encountering the same issue, which relates to..... More

Print this item

  azure TTS from text files to mp3s
Posted by: mutantGOD - Jan-16-2023, 03:42 PM - Forum: General Coding Help - Replies (2)

Experiencing a problem with the sound files generated by the program, and that they are coming out as corrupted or not working properly.

I am havin..... More

Print this item

  automate new PDF creation with Bookmarks Based up Regex
Posted by: standenman - Jan-16-2023, 03:19 PM - Forum: General Coding Help - No Replies

I am seeking to create some functionality to recasting a PDF file of medical records. The date of treatment or visit is very important and I will lik..... More

Print this item

  Set string in custom format
Posted by: korenron - Jan-16-2023, 12:26 PM - Forum: General Coding Help - Replies (4)

Hello,
wanted to know how can I do the following :

I have a function the return 8 digits(as string)

12345678
I want to return..... More

Print this item

  Question on dir() function
Posted by: Soorya25 - Jan-16-2023, 11:55 AM - Forum: General Coding Help - Replies (1)

I have the following code which uses dir() function.

Want to know why dir() function is used here.
[img]https://appdividend.com/wp-content/uploads..... More


Attached Files

Thumbnail(s)
   
Print this item

  Very simple question about filenames and backslashes!
Posted by: garynewport - Jan-16-2023, 11:38 AM - Forum: General Coding Help - Replies (4)

I have a string of a filename, that contains the entire path.

I want to remove the file extension and capture only the filename.

I have reversed..... More

Print this item

  Retrieve website content using Python?
Posted by: Vadanane - Jan-16-2023, 09:13 AM - Forum: Web Scraping & Web Development - Replies (1)

If it helps, I'm using Python version 3.1.

This site has good users, and I'm sure you can help me. Anyway, I am trying to access the content..... More

Print this item

  Extracting tables and text above the table from a PDF to CSV
Posted by: DivAsh - Jan-16-2023, 08:03 AM - Forum: Data Science - Replies (3)

Hi

I have a PDF file from where i need to extract all the tables and also the text above the tables and output the results to a csv file.By using t..... More


Attached Files

.pdf   Input.pdf (Size: 52.29 KB / Downloads: 7)
Print this item

  wxPython install error
Posted by: carlomscalisi - Jan-16-2023, 12:49 AM - Forum: General Coding Help - Replies (3)

Complete Rookie, seriously.

I am attempting to install wxPython via pip on my Mac, running Mojave 10.14.6, but it's not working. Any help would be..... More


Attached Files

.pdf   Terminal Output.pdf (Size: 67.79 KB / Downloads: 436)
Print this item

  How to convert .trc/.txt file into excel using python
Posted by: ebola - Jan-15-2023, 09:46 PM - Forum: Homework - Replies (3)

I want to convert .trc file (image 1) into excel(image 2). Once it is converted to excel I want a command prompt to open up asking 'Select the model t..... More


Attached Files

Thumbnail(s)
           
Print this item

  Pygame Snake Game Help Please
Posted by: Beginnerprogrammer6 - Jan-15-2023, 09:45 PM - Forum: Homework - No Replies

My computer science assignment is creating a snake game using pygame and I have to use images for my sprites. I don't know how to move the images of t..... More

Print this item

  how do I fix an index error?
Posted by: MehHz2526 - Jan-15-2023, 08:01 PM - Forum: Homework - Replies (1)

I know what an index error is, but all my variables are numbered correctly from 0 to 5 but I still have an index error. I think that the main problem ..... More

Print this item

  Syntax error? I don't see it
Posted by: KenHorse - Jan-15-2023, 06:35 PM - Forum: General Coding Help - Replies (4)

Python 3.9.2

I keep getting a syntax error and for the life of me, I don't see it:

[quote]root@piZERO:~/bin# ./npwAgent.py
File "/root/bin/np..... More

Print this item

  Is there a way to determine if a radio button has been selected?
Posted by: TWB - Jan-15-2023, 04:11 PM - Forum: GUI - Replies (5)

Hello, as Im now to Python any help is appreciated
My goal is to determine if a radio button has been selected, to help troubleshoot I have created a..... More

Print this item

  Weird behaviour using if statement in python 3.10.8
Posted by: mikepy - Jan-15-2023, 02:57 PM - Forum: General Coding Help - Replies (23)

Hello, can someone explain me this wired behavior? At the if statement which you can see in the screenshot, despite if 1==2 (for test only) is false, ..... More

Print this item

  try catch not working?
Posted by: korenron - Jan-15-2023, 01:29 PM - Forum: General Coding Help - Replies (2)

Hello,
I have this code for checking modem connection

[python]import os
import sys
import time
import datetime
import requests
import thread..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 6 hours ago Alfredd noisefloor General Codin...
  Backward compatibility qu... 8 hours ago yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... Yesterday, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... Yesterday, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... Yesterday, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... Yesterday, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578677
  Tutorial Requ... 509069
  Web Scraping ... 441835
  Newbie with P... 385786
  New Users Int... 375027
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Cristiano Today
Alfredd Today
clayote Today
yutaozhou Yesterday
EchoFlowar3Dip Yesterday

User Panel Messages

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