this post was submitted on 28 Nov 2024
22 points (95.8% liked)

Python

6422 readers
15 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
 

also you can test pynotes and pyclock

top 6 comments
sorted by: hot top controversial new old
[–] andioop@programming.dev 4 points 1 day ago (1 children)

!play_my_game@programming.dev and !destroy_my_game@programming.dev would also like this.

To be honest nobody posts to either (and I don't mod either one, just to be transparent) but this does fit there!

[–] okelote360@lemmy.world 1 points 18 hours ago

thanks for helping!

[–] graham1@lemmy.world 4 points 1 day ago (1 children)

Is it intentional to have so many filesystem interactions and subprocess launches?

[–] okelote360@lemmy.world -1 points 1 day ago (1 children)
[–] ICastFist@programming.dev 4 points 1 day ago (1 children)

I guess the obvious question now is "why"? From a glance, it's pretty clear that one of the things that you really should've done is separated the file reading/writing into separate functions, instead of having every function open-read-write cat.txt

[–] okelote360@lemmy.world 2 points 18 hours ago

hmmm... okay! i think i know how to do it!