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

Full Statistics

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

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

 
  Help ~ coding with pywinauto
Posted by: NickNHartley - Mar-12-2023, 07:17 AM - Forum: General Coding Help - Replies (1)

hi

i would like automate the windows task using pywinauto for my VPN

i am getting an issue to detect the element properly and access the elemen..... More

Print this item

Big Grin OCR again
Posted by: DPaul - Mar-12-2023, 07:11 AM - Forum: Bar - No Replies

Hi,
I am refining , = making more efficient, my programs for
OCR-ing Prayer Cards. I do not know what PCs look like in your countries,
but imagine ..... More

Print this item

  Is there a good book with an end-to-end project?
Posted by: hfakoor2 - Mar-11-2023, 10:56 PM - Forum: News and Discussions - Replies (3)

Hi all,

I hope this post is not beyond the questions guideline.
I'm currently learning Python, and I would like a book which goes from a project b..... More

Print this item

  snscrape
Posted by: pythonical - Mar-11-2023, 10:40 PM - Forum: General Coding Help - No Replies

I'm new to Python. I am trying the snscrape method to scan tweets and save them in tabular format. The code I found from a site works. Here my code: ..... More

Print this item

  [SOLVED] [BeautifulSoup] Why attribute not found?
Posted by: Winfried - Mar-11-2023, 07:33 PM - Forum: General Coding Help - No Replies

Hello,

I can't figure out why BS can't find the (first) element that holds the "latitude" attribute:

[python]for item in glob.glob("index.*"):
..... More

Print this item

  [split] new to python hello world code gives errors
Posted by: giobastidas1970 - Mar-10-2023, 10:44 PM - Forum: Homework - Replies (1)

Hola estoy comenzando con este programa de python llevo 2 dias tratando de colocar el primer hola mundo y todo me sale error, de verdad no entiendo y ..... More

Print this item

  pygame-manu : using controller buttons to move around menu
Posted by: mlw19mlw91 - Mar-10-2023, 10:07 PM - Forum: Game Development - Replies (2)

I'm using pygame-menu and I want to use buttons on my controller to navigate it. I can't figure it out at all. There's no example available online. ..... More

Print this item

  2D-Cube-Tic-Tac-Toe
Posted by: freethrownucleus - Mar-10-2023, 07:03 PM - Forum: Game Development - No Replies

Could someone help me with the next, please?
This is the cube model that I've got right now: https://gofile.io/d/RxqDYR .
I would like to change it to..... More

Print this item

Question How to append integers from file to list?
Posted by: Milan - Mar-10-2023, 02:36 PM - Forum: General Coding Help - Replies (8)

Hello team,

I would like to make a list with the numbers from this file:
.txt   message.txt (Size: 86 bytes / Downloads: 189)

I can't seem to find anything online, tried these two..... More

Print this item

  Hash cracker
Posted by: Milan - Mar-09-2023, 08:38 PM - Forum: Code sharing - Replies (1)

Hello team,

I posted a question on General Coding Help, but eventually figured it out by myself.

Tbh I tweaked the code from this link https://m..... More

Print this item

  [SOLVED] How to crack hash with hashlib
Posted by: Milan - Mar-09-2023, 07:15 PM - Forum: General Coding Help - No Replies

Hello team,

Could someone please shed some light on how to crack SHA3-512 hashes using hashlib or any other way?

What I have so far:

[python]..... More

Print this item

  appending to a bytearray
Posted by: Skaperen - Mar-09-2023, 06:45 PM - Forum: General Coding Help - Replies (21)

i cannot find a way to append a bytes string to a bytearray other than += operator. is that the way it has to be done? bytearray.append() giv..... More

Print this item

  [Hiring] Sr. Cloud Software Engineer at Radformation Salary 150-180K USD
Posted by: djangojobs.net - Mar-09-2023, 06:32 PM - Forum: Jobs - No Replies

Quick Apply link
djangojobs.net/jobs/1177/sr-cloud-software-engineer-radformation/

Hiring +++ Salary $150,000 to $180,000
Sr. Cloud Software Engi..... More

Print this item

  Grouping Data based on 30% bracket
Posted by: purnima1 - Mar-09-2023, 05:42 PM - Forum: General Coding Help - Replies (4)

I want to one group where all values are with 30% of each other.

working code is follows :

[python]
from itertools import combinations

def ..... More

Print this item

  associating members in a list to more than one features
Posted by: rezagholi - Mar-09-2023, 03:33 PM - Forum: General Coding Help - No Replies

Hi all,
I want to associate a list of 4 members with another list with the same number of members, but each member of the second list has three sub-m..... More


Attached Files

.py   q1.py (Size: 958 bytes / Downloads: 181)
Print this item

Question Application desktop toolbar with PyQt6
Posted by: bunz - Mar-09-2023, 11:33 AM - Forum: GUI - Replies (4)

Has someone here ever worked with SHAppBarMessage? I'm trying to create a top bar that can always stay on the desktop having it's own reserved space b..... More

Print this item

  Control NeoPixel LED Strip connected to an Arduino from a RPI
Posted by: kobo3 - Mar-09-2023, 10:18 AM - Forum: News and Discussions - Replies (4)

Hello,

I have a NeoPixel LED Stripe WS2812 connected to an Arduino, and I would like to control the LED stripe from my RPI via pyFirmata. The RPI c..... More

Print this item

  Confused over Conda Package manager vs PIP
Posted by: JanOlvegg - Mar-08-2023, 07:55 PM - Forum: General Coding Help - Replies (3)

Both Conda and PIP appears to be package manager. From what I can read so far, PIP Is specific to Python but Conda is more language agnostic. Is there..... More

Print this item

  Split Bytearray into separate Files by Hex delimter
Posted by: lastyle - Mar-08-2023, 06:48 PM - Forum: General Coding Help - Replies (5)

Hi all

i am loading a file into a byte aray with

f = open("myfile.seq", 'rb')
while True:
binarycontent = f.read(-1)
if not binarycont..... More

Print this item

  How to read Wikimedia multistream XML?
Posted by: AndrzejB - Mar-08-2023, 05:22 PM - Forum: General Coding Help - Replies (1)

I can read XML using Dom whole in memory or Sax using events?
Wikimedia XML are large but fortunately have indices. I prefer read about 0.5 MB chunk ..... More

Print this item

  Armachat coding problem
Posted by: gad969 - Mar-08-2023, 12:08 PM - Forum: General Coding Help - Replies (4)

Hello guys!
I built Armachat from the link below
https://github.com/bobricius/Armachat-circuitpython
https://hackaday.io/project/183657-armachat-p..... More

Print this item

  Another one
Posted by: the_jl_zone - Mar-07-2023, 08:01 PM - Forum: General Coding Help - Replies (2)

I had another problem.

[python]
SENTINEL = 0

#Function uses modulus equation to determine if number is even or not
def is_even(num):
if n..... More

Print this item

  Import Modules
Posted by: TheBunyip - Mar-07-2023, 04:04 PM - Forum: General Coding Help - Replies (4)

How can I find what arguments to pass to imported modules?

Print this item

  Non-greedy regex
Posted by: WJSwan - Mar-07-2023, 07:57 AM - Forum: General Coding Help - Replies (1)

I am struggling to correctly set up a non-greedy regex to correct the following:

<a href=’tw://bible.*?id=1.2.7>Gen 2:7; <a href=’tw://bible.*?id=1..... More

Print this item

  When does Python need to use a compiler?
Posted by: JanOlvegg - Mar-06-2023, 10:52 PM - Forum: General Coding Help - Replies (5)

Recently, I attempted to install chromadb using pip and got an error that MS Visual Studio C++ is needed. This raised concern that this could be an i..... More

Print this item

  Another Error message.
Posted by: the_jl_zone - Mar-06-2023, 09:50 PM - Forum: General Coding Help - Replies (2)

This one is from an assignment using graphics.

[python]
POOL_BALL_RADIUS = 40
FONT_TYPE = "30pt Arial"


# Write your function here that draws..... More

Print this item

  Fit straight line to pandas time series data with semilog plot
Posted by: schniefen - Mar-06-2023, 05:15 PM - Forum: Homework - Replies (2)

I have sets of data, which look like this:

   

I do the following:

[python]
df=pd.read_csv('data.csv')
timestamp_fields = ['Year', 'M..... More


Attached Files

Thumbnail(s)
   
Print this item

  Cleaning a dataset: How to extract text between two patterns
Posted by: Palke - Mar-06-2023, 05:13 PM - Forum: Data Science - No Replies

The datasets I collected for a research project are a bit of a mess right now. While scraping questions from GitHub I came across a problem I kind of ..... More

Print this item

  scraping webiste using pandas and googletranslation dont compile on the terminal
Posted by: gcozba2023 - Mar-06-2023, 04:49 PM - Forum: General Coding Help - Replies (2)

Hi Team

I need some help with my script, i am trying to scrap the website but when i try to use data frame to translate the text from the website i..... More

Print this item

  Q on classes
Posted by: ebolisa - Mar-06-2023, 03:17 PM - Forum: General Coding Help - Replies (4)

Hi,

I appreciate some help on this micropython code as I'm learning classes.

When I execute it, I get the error: [error]Error in sysc: function ..... More

Print this item

  googletrans library to translate text language for using data frame is not running
Posted by: gcozba2023 - Mar-06-2023, 09:50 AM - Forum: General Coding Help - No Replies

Hi Team

I have a script that two things one im using data frame to scrap website including title course and name, but when im tring to use data fra..... More

Print this item

  Python package not seen in VSCode
Posted by: fmccabe80 - Mar-05-2023, 10:05 PM - Forum: General Coding Help - Replies (6)

Good afternoon,

I am new to coding, Linux and VSCode.

System - Linux Mint 21.1
Using VSCode to write script
Trying to import Pandas, Numpy, Ta..... More

Print this item

  convert address and broadcast to network object
Posted by: Skaperen - Mar-05-2023, 08:22 PM - Forum: General Coding Help - Replies (9)

the ipaddress module API can convert a network object into the subnet base and broadcast addresses but i cannot find a means to do the reverse,..... More

Print this item

  Replacing values ​​in Mysql with a condition
Posted by: stsxbel - Mar-05-2023, 08:20 PM - Forum: General Coding Help - No Replies

Good evening everyone. Help in python to create a query in the Mysql database. Problem essence: There is a table, in it columns (Sil1 | Sil2 | Sil3) t..... More

Print this item

  Program running on RPi 3b+ Very Strange Behavior - Out of Bound Index
Posted by: MadMacks - Mar-05-2023, 07:05 PM - Forum: General Coding Help - Replies (26)

So, new to Python and still trying to learn the scope of variables. But, I have a small program that uses Bluetooth (BLE) to connect to a LiFePO4 batt..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
  tracking version during r... 05-15, 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... 564867
  Tutorial Requ... 454479
  Web Scraping ... 429825
  Newbie with P... 365480
  Thread remain... 337821
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
iloveimg3 Yesterday
ishaD Yesterday
fitobar43 Yesterday
AymanNassar 05-16
Shailesh 05-15

User Panel Messages

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