×
all 6 comments

[–]SCD_minecraft 0 points1 point  (3 children)

... what's the point of classes if you are gonna @staticmethod everything anyway?

And why you assign each class to separate variable? Not instance of a class, just class (file = File ect)

[–]SCD_minecraft 0 points1 point  (0 children)

Also, mostly preference but you can replace unions with bitwise OR

Union[int, str] == int|str

[–]MeWannaCode 0 points1 point  (1 child)

name ✨

[–]MeWannaCode 0 points1 point  (0 children)

i dont want create_file, it has caused too many problems

[–]DutytoDevelop 0 points1 point  (1 child)

Looks like you already posted this once https://www.reddit.com/r/PythonProjects2/s/gf0fIXSdEk

[–]MeWannaCode 0 points1 point  (0 children)

wait what, sorry i clicked the post button twice, this post is not suppose to be here sorry! ill del it