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,507
» Latest member: DichaelLoaCk
» Forum threads: 38,584
» Forum posts: 174,836

Full Statistics

Online Users
There are currently 750 online users.
» 0 Member(s) | 739 Guest(s)
Bing, Google, Yandex, Mojeek, Facebook, Applebot, Google Image

Latest Threads
Is Python used to make po...
Forum: Game Development
Last Post: RogereK
Today, 04:17 AM
» Replies: 17
» Views: 31,740
Unequal values when added...
Forum: General Coding Help
Last Post: deanhystad
Today, 12:24 AM
» Replies: 1
» Views: 146
Call CLI app with input?
Forum: General Coding Help
Last Post: snippsat
Yesterday, 07:52 PM
» Replies: 5
» Views: 341
backtesting can't optimiz...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 07:46 PM
» Replies: 1
» Views: 124
Looking for ideas
Forum: Bar
Last Post: Larz60+
Yesterday, 10:55 AM
» Replies: 2
» Views: 464
How to put my game loop i...
Forum: Game Development
Last Post: RogereK
Yesterday, 12:35 AM
» Replies: 9
» Views: 2,699
Languages
Forum: General Coding Help
Last Post: Arush
May-22-2025, 06:51 PM
» Replies: 2
» Views: 253
Error on import: SyntaxEr...
Forum: General Coding Help
Last Post: Kiongi
May-21-2025, 07:49 AM
» Replies: 8
» Views: 21,432
Wish to write a code for ...
Forum: General Coding Help
Last Post: DeaD_EyE
May-21-2025, 06:08 AM
» Replies: 3
» Views: 670
How can I write formatted...
Forum: General Coding Help
Last Post: hanmen9527
May-20-2025, 12:26 PM
» Replies: 13
» Views: 29,008

 
  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: 265)
.py   main.py (Size: 723 bytes / Downloads: 230)
.py   db.py (Size: 1.01 KB / Downloads: 244)
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

  How to parse the result of winrm.Response?
Posted by: ilknurg - Jul-21-2022, 12:34 PM - Forum: General Coding Help - No Replies

I have a code script with pywinrm. I connect a remote machine and run powershell.
The result type is class 'winrm.Response', how can i parse it?

..... More

Print this item

  Microsoft text phone verifying account
Posted by: cito - Jul-21-2022, 09:07 AM - Forum: General Coding Help - Replies (2)

Hello folks,
I am not an expert, yet :), in python but have one question for you?
Until a few days ago everything worked well regarding my python sc..... More

Print this item

  change backslash into slash in a path
Posted by: paul18fr - Jul-21-2022, 08:50 AM - Forum: General Coding Help - Replies (7)

Hi

Typically in a Windows path, I want to change the special "backslash" character to "slash" one. I was thinking re.sub substitutes all occurences..... More

Print this item

  win32gui
Posted by: DQT - Jul-21-2022, 07:51 AM - Forum: GUI - Replies (1)

Hello everyone
I am using python 2.7 anh module win32gui
I am drawing to screen
what should I do for update screen
lines are press to lines
Thank..... More

Print this item

  Generator behaviour
Posted by: bla123bla - Jul-20-2022, 09:11 PM - Forum: General Coding Help - Replies (2)

Hello,

encountered this smart piece of breadth-first traversal:

[python]def bfs(root):
yield root
for n in bfs(root):
yield n.left
..... More

Print this item

  extratreesclassifier returns all zeroes instead of feature importances
Posted by: Led_Zeppelin - Jul-20-2022, 08:04 PM - Forum: General Coding Help - No Replies

In the following code which should print out feature importances, I instead get a print of a matrix of all zeroes.

[code]
import numpy as np
imp..... More


Attached Files

.csv   shortened_sensor.csv (Size: 3.02 KB / Downloads: 254)
Print this item

  Encoding Issue in eyed3
Posted by: giddyhead - Jul-20-2022, 06:21 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

I am seeking help with encoding using eyed3. I converted text to audio using:

[python]engine = pyttsx3.init()

..... More

Print this item

  What is your preferred resource for learning PyQt?
Posted by: panofish - Jul-20-2022, 05:45 PM - Forum: GUI - Replies (5)

There aren't many great resources for learning PyQt. Where do you go to learn about PyQt?

Print this item

  IMDbPy "search_person" result cant be found in actors list in Python
Posted by: tylerdurdane - Jul-20-2022, 05:15 PM - Forum: Game Development - Replies (2)

Have a list of actors. Asking the user to enter an actor name that exists in the list. Although entering an existing name in the list, the code says i..... More

Print this item

  No module found when I run a main.py
Posted by: tomtom - Jul-20-2022, 07:32 AM - Forum: General Coding Help - Replies (2)

I have info.py file in directory A

info.py has this code:
[python]import country # country is imported from the same directory A

class Person:
d..... More

Print this item

  logging problem
Posted by: korenron - Jul-20-2022, 07:16 AM - Forum: General Coding Help - No Replies

Hello,
I have a problem that I can't seem to understand when using logging with multi files

I have created a simple code that ping IP address from..... More

Print this item

  Slice creates new objects?
Posted by: fmr300 - Jul-20-2022, 01:03 AM - Forum: General Coding Help - Replies (4)

Can anybody help me understand this -
In a function, when I slice the passed list, it creates a new list instead of affecting the callers passed-list..... More

Print this item

  Turn list of arrays into an array of lists
Posted by: Cola_Reb - Jul-19-2022, 04:08 PM - Forum: Data Science - Replies (6)

Hey everyone,

I am currently struggling with the structure of data I receive. As a result of another (not important here) function I get a list fil..... More

Print this item

  is there an itertor of chunks?
Posted by: Skaperen - Jul-19-2022, 04:11 AM - Forum: General Coding Help - Replies (8)

i have a list (or tuple) of many items. here is a very simple case:

foo = (9,8,7,6,5,4,3,2,1,0)
what i want to do is step thro..... More

Print this item

  search a list or tuple for a specific type ot class
Posted by: Skaperen - Jul-19-2022, 01:07 AM - Forum: General Coding Help - Replies (8)

i can easily search a list to find the position of a specific value if i have the exact value using the index function. if i know only ..... More

Print this item

Exclamation Function Not Working
Posted by: Alivegamer - Jul-19-2022, 12:55 AM - Forum: General Coding Help - Replies (7)

I am making a text game. And what I am doing is using another python file as a module in the Main python file(Mod File). And The main file calls The I..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Is Python used to make po... Today, 04:17 ironsheep RogereK Game Developm...
  Unequal values when added... Today, 00:24 Azdaghost deanhystad General Codin...
  Call CLI app with input? Yesterday, 19:52 Winfried snippsat General Codin...
  backtesting can't optimiz... Yesterday, 19:46 Running_Code snippsat General Codin...
  Looking for ideas Yesterday, 10:55 Azdaghost Larz60+ Bar
  How to put my game loop i... Yesterday, 00:35 temlotresid6 RogereK Game Developm...
  Languages 05-22, 18:51 Azdaghost Arush General Codin...
  Error on import: SyntaxEr... 05-21, 07:49 kirkwilliams2049 Kiongi General Codin...
  Wish to write a code for ... 05-21, 06:08 Hasan2025 DeaD_EyE General Codin...
  How can I write formatted... 05-20, 12:26 JohnJSal hanmen9527 General Codin...
  How to attach images to a... 05-19, 04:08 CynthiaMoore sethmike9 Board
Most views
  The best Prog... 567888
  Tutorial Requ... 467097
  Web Scraping ... 432731
  Newbie with P... 371369
  Thread remain... 343392
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+ 12053
buran 8171
snippsat 7328
deanhystad 6828
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
DichaelLoaCk Today
Lewisquene Today
helena Today
EarnestJah Today
Gichardkip Today

User Panel Messages

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