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,237
» Latest member: lary_p
» Forum threads: 38,776
» Forum posts: 175,792

Full Statistics

Online Users
There are currently 38 online users.
» 1 Member(s) | 29 Guest(s)
Google, Bing, Facebook, Apple, bowlofred

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
24 minutes ago
» Replies: 1
» Views: 87
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:56 AM
» Replies: 4
» Views: 136
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 110
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 123
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,214
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,374
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,575
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 200
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,205
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,456

 
  MSSQL query not working in Python
Posted by: kat35601 - Apr-12-2022, 04:21 PM - Forum: General Coding Help - No Replies

the MSSQL Query works just fine by its self in SQL Studio and if I remove
this line [python]and ompRequestedShipDate >=getdate() and ompRequestedShip..... More

Print this item

  Does anyone want to collaborate on a small project?
Posted by: davediamond - Apr-12-2022, 03:47 PM - Forum: Jobs - Replies (1)

Hello.

I'm just starting to produce a design document for a new project. It's got about 4 windows, and has a GUI. I plan on using pyQT, and it's ac..... More

Print this item

  Modify values in XML file by data from text file (without parsing)
Posted by: Paqqno - Apr-12-2022, 03:06 PM - Forum: General Coding Help - Replies (2)

Hi, I have 2 types of files - one is base XML file where are some attribute values = "FAIL" and i the other file - text file where are values I want t..... More

Print this item

  Crate Loop into os file
Posted by: paulo79 - Apr-12-2022, 12:20 PM - Forum: General Coding Help - No Replies

Hi all, I have this shell script that goes to a loop on file lines:

[python]for dDames in cat /tmp/Dnames
do
#echo $dgname
for FNames in ..... More

Print this item

  Is Python Support Graphical User Interface?
Posted by: ankitdixit - Apr-12-2022, 10:02 AM - Forum: News and Discussions - Replies (4)

Hello Everyone, I am working on a freelance project and I am new to python. I want to know, Is python support GUI? I have checked on google and found ..... More

Print this item

Photo How to create Conditionals for XPATH/BS4 tag scrapes?
Posted by: BrandonKastning - Apr-12-2022, 06:01 AM - Forum: Web Scraping & Web Development - Replies (1)

How to create Conditionals for XPATH/BS4 tag scrapes?

I am working on my program which is parsing json files; then performs a remote url re..... More

Print this item

  How to change input data set for character recognition program?
Posted by: plumberpy - Apr-12-2022, 03:03 AM - Forum: Data Science - Replies (5)

I am new to Python and machine learning. Trying to learn by working on tested examples. Tried the character recognition program (from Chollet) using M..... More

Print this item

  Pass variable to subprocess
Posted by: paulo79 - Apr-11-2022, 11:36 PM - Forum: General Coding Help - Replies (4)

Hi all,

I want to pass a variable to this command :
[python]
VARIABLE=12
v_num_final_distinct_grid_disks_per_cell_and_dg = subprocess.check_out..... More

Print this item

  'Your first program' type question, be kind
Posted by: davediamond - Apr-11-2022, 08:11 PM - Forum: GUI - No Replies

Hello there! I'm a former programmer, who's dipping his toes in the water again. This time, instead of VB 6, I'm using the Python language. It's free,..... More

Print this item

  web scraping for new additions/modifed website?
Posted by: kingoman123 - Apr-11-2022, 07:16 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi,

Is it possible to do a webscrape on a website and see the new add on's with link?

I'm here talking about if someone changes an image or adds..... More

Print this item

  from MSSQL to excel
Posted by: kat35601 - Apr-11-2022, 06:03 PM - Forum: General Coding Help - Replies (1)

I need to create some reports in excel using Python from a MSSQL server query. I do get a file in excel format that has the data I ask for but I also..... More

Print this item

  Can a module tell where it is being imported from?
Posted by: stevendaprano - Apr-11-2022, 05:42 PM - Forum: General Coding Help - Replies (3)

Say I have a module, "sneaky.py". The first time sneaky is imported, the body of the module runs. (On subsequent imports, [inline]sne..... More

Print this item

  Decimal context
Posted by: stevendaprano - Apr-11-2022, 05:03 PM - Forum: General Coding Help - Replies (1)

The decimal module has a current context which defines the settings u..... More

Print this item

  undetected_chromedriver on Pi
Posted by: klaarnou - Apr-11-2022, 04:35 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

I have undetected_chromedriver running on windows, works great.
Would like to move my program to my Pi server.

Problem is that I cannot..... More

Print this item

  pip error on Ubuntu 18.04.6 LTS
Posted by: silbro - Apr-11-2022, 03:47 PM - Forum: General Coding Help - Replies (4)

Hi all

I've already searched so many places for a hint to where my problem with pip could be. I also made a post by ubuntu but haven't gotten an an..... More

Print this item

  execute commands inside a running application
Posted by: mr_byte31 - Apr-11-2022, 12:47 PM - Forum: General Coding Help - Replies (3)

I have an application that execute AT commands on certain device via USB.

First I have to open Terminal, run the application via command line then ..... More

Print this item

  QPixmap not updating in QGraphicsScene after using QPainter on it
Posted by: Leo_Red - Apr-11-2022, 12:26 PM - Forum: GUI - Replies (1)

I created a custom widget modifies QPixmap which just adds QPianter drawing function to the widget.

[python]from PySide2.QtGui import QPixmap
from..... More

Print this item

Sad Check if a given string has its open brackets closed by the same type of brackets?
Posted by: noahverner1995 - Apr-11-2022, 12:18 PM - Forum: Homework - Replies (1)

I hope not to sound very weird here, basically, suppose that you have the following strings:

[python] s1 = '{[]}'

s2 = '[(])'

s3 =..... More

Print this item

  Progress bar
Posted by: bnadir55 - Apr-11-2022, 11:32 AM - Forum: General Coding Help - Replies (1)

Hello,
is there a way to show the progress bar using PySimpleGUI, while the script is running, no use with a for loop in the script, just showing th..... More

Print this item

  Blockchain lesson
Posted by: ChopperChups - Apr-11-2022, 09:40 AM - Forum: Homework - No Replies

Hello together, today im coming with a special kind of homework. We building a own blockchain on a webserver of my university and i need some help or..... More

Print this item

  comparison
Posted by: menator01 - Apr-10-2022, 09:48 PM - Forum: General Coding Help - Replies (3)

Giving the example below I know I can use a for loop to reach the name but, was wondering if there is a way to reach it in a one liner? Obviously the ..... More

Print this item

  Treeview heading event detect.
Posted by: water - Apr-10-2022, 07:44 PM - Forum: GUI - Replies (1)

I try to detect which column of Treeview heading clicked, like below:

[python]
from tkinter import Tk, ttk

def click_test(event):
region = tr..... More

Print this item

  kill a thread
Posted by: Skaperen - Apr-10-2022, 07:17 PM - Forum: News and Discussions - Replies (9)

is there a way to kill a thread that is waiting for something (it can't check a flag)? the only answers i find are to check a flag.

Print this item

  SMA (simple moving avg) Not receiving Data (stock prices).
Posted by: gdbengo - Apr-10-2022, 06:31 PM - Forum: General Coding Help - Replies (2)

Hello All!
I'm using historical stock prices for which I am using to calculate the SMA, but the SMA returns "None". Could you help figure out why my ..... More

Print this item

  How do I remove spurious "." from a string?
Posted by: Zuhan - Apr-10-2022, 05:50 PM - Forum: General Coding Help - Replies (7)

The goal is to remove erroneous . from a string, i.e. to go from this:

"I a.m so pl.ea.sed to me.et y.ou. I ho.pe .tha.t th.is is t.he st.a.rt of a..... More

Print this item

  How to read python shortcut target profile directory of Chrome Ink file
Posted by: sunny9495 - Apr-10-2022, 04:53 PM - Forum: General Coding Help - Replies (1)

Hi,

Iam trying to read the target profile directory of Chrome Ink shortcut file.

I use the following code

[python]
import win32com.client
..... More

Print this item

  Visual Studio Code Intellisense for Imported Modules Not Working
Posted by: hockinsk - Apr-10-2022, 01:54 PM - Forum: General Coding Help - Replies (1)

New to the forum and Python and struggling to search with the right terminology to fix this s issue or if it's possible. When I install a custom modul..... More

Print this item

  scheduling and timining issues using mqtt and tkinter
Posted by: kiko4590 - Apr-10-2022, 10:35 AM - Forum: GUI - Replies (2)

Please be patient with me as I am a newbie inpython and I really need your help. I have a custom GUI created in tkinter using Python3.7 on Raspbian (f..... More

Print this item

  Current Project
Posted by: menator01 - Apr-10-2022, 08:26 AM - Forum: Code sharing - Replies (3)

I like the post from here and thought I would give it a try using tkinter.
Only got a basic text ..... More

Print this item

  formatting float like int for whole values
Posted by: Skaperen - Apr-10-2022, 04:55 AM - Forum: General Coding Help - Replies (8)

i know i have seen this before but now that i have a use case, i can't find it.

Output:
>>> foo(3.25) '3.25' >>> foo(4.0) '4' >>>
..... More

Print this item

  what is being tested with this while ?
Posted by: atexit8 - Apr-09-2022, 06:04 PM - Forum: General Coding Help - Replies (7)

I am new to Python but not other programming languages.

What is the condition being tested for in the while loop in the following snippet.
..... More

Print this item

  Os command output in variable shows wrong value
Posted by: paulo79 - Apr-09-2022, 03:38 PM - Forum: General Coding Help - Replies (2)

I have this :

v_num_distinct_phy_disks_in_cells=os.system('cat /tmp/p_count_num_phy_disks_all_cell | sort -u | wc -l')
The con..... More

Print this item

Question Python and Power BI Desktop
Posted by: dangermaus33 - Apr-09-2022, 03:27 PM - Forum: General Coding Help - Replies (1)

I want to use Python to automate tasks in Power BI Desktop (i.e. open a Power BI Desktop workbook, filter a report, save a workbook, publish a workboo..... More

Print this item

  Extractig an score is not there
Posted by: jrotaetxe - Apr-09-2022, 03:09 PM - Forum: Web Scraping & Web Development - Replies (4)

Hello.
First of all, thank you in advance anyone who tries to help. I realise this will be not the smartest question ever, but need help as I have no..... More

Print this item

  unpack dict
Posted by: menator01 - Apr-09-2022, 02:18 PM - Forum: General Coding Help - Replies (1)

Giving the following example:
How can one unpack the dict

Current output:
[output]Class: Wizard
NAME Ralph
AGE 20
SPELLS {'fireball': 10, 'fir..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 24 minutes ago tsgiannis woooee GUI
  Two arguments in input fu... Today, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 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... 578714
  Tutorial Requ... 509312
  Web Scraping ... 441858
  Newbie with P... 385814
  New Users Int... 375214
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
lary_p Today
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07

User Panel Messages

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