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,651
» Latest member: RaymondPAL
» Forum threads: 38,642
» Forum posts: 175,097

Full Statistics

Online Users
There are currently 427 online users.
» 0 Member(s) | 417 Guest(s)
Bing, Facebook, Google, Baidu, Yandex, Applebot

Latest Threads
textbox compare command n...
Forum: GUI
Last Post: deanhystad
5 hours ago
» Replies: 1
» Views: 149
Python Install Mager Help
Forum: News and Discussions
Last Post: bowens1983
Yesterday, 02:07 PM
» Replies: 2
» Views: 230
How to ask Smart Question...
Forum: Board
Last Post: Thatedge
Yesterday, 08:10 AM
» Replies: 3
» Views: 5,638
Exercise on reading a chu...
Forum: Homework
Last Post: polytrack
Yesterday, 06:49 AM
» Replies: 2
» Views: 1,030
New Users Introduce Yours...
Forum: Bar
Last Post: dmac6809
Jun-30-2025, 02:48 PM
» Replies: 451
» Views: 343,885
How to retain Annotation ...
Forum: Code Review
Last Post: holeioonline
Jun-30-2025, 08:43 AM
» Replies: 2
» Views: 913
Trading Bot written in Py...
Forum: News and Discussions
Last Post: LoriBrown
Jun-30-2025, 07:08 AM
» Replies: 4
» Views: 95,200
replace or remove text fr...
Forum: General Coding Help
Last Post: Curbie
Jun-29-2025, 06:53 PM
» Replies: 13
» Views: 638
locating a pushbutton py ...
Forum: GUI
Last Post: deanhystad
Jun-29-2025, 06:47 PM
» Replies: 2
» Views: 156
Difference and meaning in...
Forum: General Coding Help
Last Post: Gribouillis
Jun-29-2025, 03:41 PM
» Replies: 4
» Views: 217

 
  How to extract specific data from .SRC (note pad file)
Posted by: Shinny_Shin - Jul-27-2022, 09:39 AM - Forum: General Coding Help - Replies (2)

Hi experts, I was tasked to build something to extract specific data from notepad within these 2 days and I am new to python and has never program any..... More

Print this item

  Writing into 2 text files from the same function
Posted by: paul18fr - Jul-27-2022, 09:29 AM - Forum: General Coding Help - Replies (4)

Hi

The following snippet seems to work, but I'm thinking I've been "lucky" and I'm wondering if it's the good way ? indeed neither f1 nor [i..... More

Print this item

Smile How we can prevent screen recording
Posted by: murad_ali - Jul-27-2022, 09:11 AM - Forum: General Coding Help - Replies (3)

After searching for hours, I have no choice left to ask some python gurus. I want to prevent a user to capture my app window.

I'm currently using [..... More

Print this item

  get data from excel and find max/min
Posted by: Timmy94 - Jul-27-2022, 07:14 AM - Forum: General Coding Help - Replies (1)

Hi,

Would it work to build a program were the user could take 30.000 different values (digits) from an excel file and enter it to a program to find..... More

Print this item

  Remove a space between a string and variable in print
Posted by: sie - Jul-27-2022, 05:58 AM - Forum: General Coding Help - Replies (5)

Hello, i was wondering on how can i remove the space between the variable color and a string ", I prefer red"
[python]
color = str.lower(input ("Ple..... More

Print this item

  two different doc strings
Posted by: Skaperen - Jul-27-2022, 01:40 AM - Forum: General Coding Help - Replies (2)

i have a case where two different functions for different purposes were re-factored in a way that they shared exactly identical code. so i am looking..... More

Print this item

  Average values on duplicate records
Posted by: chandramouliarun - Jul-26-2022, 09:52 PM - Forum: General Coding Help - Replies (1)

I have the following input table

| Custid | transactions | price | revenue |
| ------ | ------------ | ----- | ------- |
| 12456 | 2300 ..... More

Print this item

  Finding the price based on industry and number of transactions
Posted by: chandramouliarun - Jul-26-2022, 07:36 PM - Forum: General Coding Help - Replies (1)

1


I am trying to determine the price for my input table which has the specific industry type and the average monthly transactions based on the re..... More

Print this item

  Cant Access D: Drive
Posted by: kucingkembar - Jul-26-2022, 06:15 PM - Forum: General Coding Help - Replies (4)

Sorry for my bad English,
And sorry if I put in the wrong Section
my IDLE python cannot Access D:\ Drive py files,
when I open inside D:\ with rig..... More

Print this item

  Scrap table from webpage
Posted by: Luis_liverpool - Jul-26-2022, 03:54 PM - Forum: General Coding Help - Replies (5)

Hi All,

I wonder if it possible to scrap table from following web-page:

My desired table

I saw fe..... More

Print this item

Question Python Download URL
Posted by: mengelsen - Jul-26-2022, 02:45 PM - Forum: News and Discussions - Replies (1)

I am trying to automate software deployment using our MDM solution. Does Python.org have a download URL that would allow me to consistently pull the l..... More

Print this item

  How to write a part of powershell command as a variable?
Posted by: ilknurg - Jul-26-2022, 11:09 AM - Forum: General Coding Help - Replies (2)

I have a powershell command to run it with winrm.

[python] result = session.run_ps('get-wmiobject -namespace root\SecurityCenter2 -computernam..... More

Print this item

  small code for sampel asn1ate
Posted by: borys - Jul-26-2022, 10:48 AM - Forum: General Coding Help - No Replies

Hi I'm a fresh in python, could someone help me to write a code for asn1 file parser I've already generated class for such ASNdecoder, what I need is ..... More

Print this item

  Transforming Employee Roster into a Headcount Calendar
Posted by: Michaperki - Jul-25-2022, 07:00 PM - Forum: Data Science - No Replies

Hello, I've started a new job recently and one of my first tasks as a BI analyst is to create a regularly updating dashboard showing employee headcoun..... More


Attached Files

.xlsx   Sample_Employee_Headcount_Data.xlsx (Size: 12.06 KB / Downloads: 1)
Print this item

  removing spaces
Posted by: msaiahnl - Jul-25-2022, 02:56 PM - Forum: General Coding Help - Replies (2)

hello I have to calculate the arithmetic mean in the text (the number of letters divided by the number of sentences). The problem is that when countin..... More

Print this item

  what will be the best way to find data in txt file?
Posted by: korenron - Jul-25-2022, 09:46 AM - Forum: General Coding Help - Replies (2)

Hello,
I have created a "config" file for my code with all kind of data inside , for the code to run and use
the config.txt is :
[python]IP = 10.0..... More

Print this item

  looking fo documentation for module files
Posted by: Skaperen - Jul-24-2022, 10:25 PM - Forum: News and Discussions - Replies (39)

i'm looking for documentation that covers where to store a file to make it generally available to all Python scripts run in a typical way by any user ..... More

Print this item

  home automation using python
Posted by: barryjo - Jul-24-2022, 03:42 PM - Forum: General Coding Help - Replies (1)

I would like to be able to control my home automation switches, lights, and etc using python. Essentially, I want to do what Alexa and Google home doe..... More

Print this item

  Troubleshooting with PySpy
Posted by: Positron79 - Jul-24-2022, 03:14 PM - Forum: General Coding Help - No Replies

Hello all,

I'm running a script that grabs data from a weather device, and converts it to mqtt and dumps it to my broker where I can then use the dat..... More

Print this item

  IndexError: list index out of range
Posted by: dolac - Jul-24-2022, 02:44 PM - Forum: General Coding Help - Replies (4)

Hello, I need help, I had a goal to make a bot that would work with a database on SQLITE3, everything was connected, but in the process of interacting..... More


Attached Files

.zip   database.zip (Size: 403 bytes / Downloads: 277)
.py   main.py (Size: 723 bytes / Downloads: 238)
.py   db.py (Size: 1.01 KB / Downloads: 253)
Print this item

  Find numbers using Regex
Posted by: giddyhead - Jul-24-2022, 04:41 AM - Forum: General Coding Help - Replies (18)

Hello,

I have an regex issues as I am seeking to find only the numbers that are attached to words:
For example:
1the
5one
5529care
30over

..... More

Print this item

  Issue in changing data format (2 bytes) into a 16 bit data.
Posted by: GiggsB - Jul-23-2022, 06:42 PM - Forum: General Coding Help - Replies (11)

UPDATED THE QUESTION

Hello,

I am writing this python code for Raspberry Pi (rpi) where RPi is connected to a microcontroller (mcu). The mcu i..... More

Print this item

  FFT - frequency shifted
Posted by: frohr - Jul-23-2022, 05:15 PM - Forum: General Coding Help - No Replies

Hi,
I have velocity data calculated from acceleration and I want to make FFT. Data seems ok (checked by function generator).
But all the time I have..... More

Print this item

  I use switch_to.window, how to keep edge at a minimized ?
Posted by: wuyi - Jul-23-2022, 01:57 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm going to run edge in a minimized window, not headless. However, running the following code restores the window to its original state and the windo..... More

Print this item

Question Trouble installing modules/libraries and getting Notepad++ to show cyrillic letters
Posted by: Dragiev - Jul-23-2022, 08:45 AM - Forum: General Coding Help - Replies (6)

Hello, everybody,

by the title of the subject you can guess I am brand new to Python and coding in general. I've tried learning it in the past but ..... More

Print this item

  converting to int
Posted by: Skaperen - Jul-23-2022, 06:45 AM - Forum: General Coding Help - Replies (11)

i have a string (s) that may have other stuff append to it, that i want to convert to an int with int(s,0). but i don't know how man..... More

Print this item

  Read xml column inside csv file with Python
Posted by: estertabita - Jul-22-2022, 11:28 PM - Forum: General Coding Help - Replies (2)

Hi,
I am very new in Python and need to read an xml column inside a csv file with Python.
I can see some code on google on how to read that csv file..... More

Print this item

  A lot of confusion and I can't seem to solve this issue
Posted by: Calli - Jul-22-2022, 05:56 PM - Forum: Networking - Replies (13)

So I have download a list of "open IP" from shodan which was about 1,566,785 open IP address
Now to check all this IP address one by one will take m..... More

Print this item

  Can't update new python version on Pycharm
Posted by: GOKUUUU - Jul-22-2022, 01:14 PM - Forum: General Coding Help - Replies (6)

Hello, I installed new pyhton version 3.10.5 and deleted the previous one 3.8.. and now I can update the new python version to Pycharm. I have a few p..... More

Print this item

  How to parse std out?
Posted by: ilknurg - Jul-22-2022, 11:23 AM - Forum: General Coding Help - Replies (1)

I want to parse the output below. I want to get IP Address line.

[python]
__GENUS : 2
__CLASS : Win32_NetworkAdapterConfigurati..... More

Print this item

  Tkinter don't change the image
Posted by: DQT - Jul-22-2022, 08:30 AM - Forum: GUI - Replies (2)

Hello everyone.
I am using Python 2.7(if it nescessary).

Here is my code
[python]
from Tkinter import *
from PIL import Image, ImageTk
from os..... More

Print this item

  pandas column percentile
Posted by: nuncio - Jul-22-2022, 06:29 AM - Forum: Data Science - Replies (7)

Dear All,
I have a time series in a dataframe that contain vaues for each day for many years. How can I compute the average of values above a certai..... More

Print this item

  Please delete
Posted by: FugaziRocks - Jul-21-2022, 08:01 PM - Forum: General Coding Help - Replies (2)

Please delete

Print this item

  Keep trying link until enabled
Posted by: kamaleon - Jul-21-2022, 06:10 PM - Forum: General Coding Help - Replies (4)

Hello,

I have a program to book a court at the gym, it looks like this

[python]import time
from selenium import webdriver
from selenium.webdri..... More

Print this item

  SystemError: <method-wrapper '__getattribute__' of EnumMeta object
Posted by: sciloop - Jul-21-2022, 02:18 PM - Forum: General Coding Help - Replies (4)

Hi,
first post here.

This is a thread about an python error I cannot resolve.
I'm primarily a c++ programmer (python beginner) and have to access..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] textbox compare... 5 hours ago dmac6809 deanhystad GUI
  Python Install Mager Help Yesterday, 14:07 bowens1983 bowens1983 News and Disc...
  How to ask Smart Question... Yesterday, 08:10 metulburr Thatedge Board
  Exercise on reading a chu... Yesterday, 06:49 Nit_Picker polytrack Homework
  New Users Introduce Yours... 06-30, 14:48 Yoriz dmac6809 Bar
  How to retain Annotation ... 06-30, 08:43 srikrishnan holeioonline Code Review
  Trading Bot written in Py... 06-30, 07:08 Pizzlew LoriBrown News and Disc...
  replace or remove text fr... 06-29, 18:53 Curbie Curbie General Codin...
  [PyQt] locating a pushbut... 06-29, 18:47 arbiel deanhystad GUI
  Difference and meaning in... 06-29, 15:41 Udbytossen Gribouillis General Codin...
  While loop is terminating... 06-29, 06:19 jumpsworthnow Gribouillis Homework
Most views
  The best Prog... 572379
  Tutorial Requ... 485167
  Web Scraping ... 436908
  Newbie with P... 379750
  Thread remain... 351245
Most reputation
buran 581
snippsat 507
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+ 12068
buran 8173
snippsat 7341
deanhystad 6845
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
RaymondPAL Today
mirabelmason132 Yesterday
bhawani Yesterday
william8644 Yesterday
bhugaloo Yesterday

User Panel Messages

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