Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » scratchattach - A Scratch API wrapper (Python)
- SepsisIdentifier
-
27 posts
scratchattach - A Scratch API wrapper (Python)
I would highly recommend refraining from using a file extension in a package name. The package name does not have to be the same as the file name. Plus, it just isn't as catchy. Also, not sure how good ‘Scratch3.py’ really sounds. I'd recommend a better name, no offense. Also to differentiate between it and Scratch 3.
I'm not sure if you know Python programming, but all Python files must end in a .py file extension.
- only_dg
-
19 posts
scratchattach - A Scratch API wrapper (Python)
if @TimMcCool follows
me i will be crazy for 3 days (I DON'T THINK HE FOLLOWS ME)

- NFlex23
-
1000+ posts
scratchattach - A Scratch API wrapper (Python)
(#63)He meant the PyPi package name itself (it's renamed now, but it used to be called Scratch3.py).I would highly recommend refraining from using a file extension in a package name. The package name does not have to be the same as the file name. Plus, it just isn't as catchy. Also, not sure how good ‘Scratch3.py’ really sounds. I'd recommend a better name, no offense. Also to differentiate between it and Scratch 3.
I'm not sure if you know Python programming, but all Python files must end in a .py file extension.
- uwv
-
1000+ posts
scratchattach - A Scratch API wrapper (Python)
(#63)are you sure about that?I would highly recommend refraining from using a file extension in a package name. The package name does not have to be the same as the file name. Plus, it just isn't as catchy. Also, not sure how good ‘Scratch3.py’ really sounds. I'd recommend a better name, no offense. Also to differentiate between it and Scratch 3.
I'm not sure if you know Python programming, but all Python files must end in a .py file extension.

- VIGARPAST_777
-
59 posts
scratchattach - A Scratch API wrapper (Python)
Can you made a python tutorial?
- ScratchTheCoder12345
-
500+ posts
scratchattach - A Scratch API wrapper (Python)
Google Python tutorial boom problem solved
- only_dg
-
19 posts
scratchattach - A Scratch API wrapper (Python)
now i have 692 followers if i have 7 followers more i have 700
- -FreeEngines-
-
100+ posts
scratchattach - A Scratch API wrapper (Python)
you are exact, you do not need an .py file to execute it as an python file(#63)are you sure about that?I would highly recommend refraining from using a file extension in a package name. The package name does not have to be the same as the file name. Plus, it just isn't as catchy. Also, not sure how good ‘Scratch3.py’ really sounds. I'd recommend a better name, no offense. Also to differentiate between it and Scratch 3.
I'm not sure if you know Python programming, but all Python files must end in a .py file extension.
- MagicCrayon9342
-
1000+ posts
scratchattach - A Scratch API wrapper (Python)
but giving it a txt extension can confuse a user, that's for sure.you are exact, you do not need an .py file to execute it as an python file(#63)are you sure about that?I would highly recommend refraining from using a file extension in a package name. The package name does not have to be the same as the file name. Plus, it just isn't as catchy. Also, not sure how good ‘Scratch3.py’ really sounds. I'd recommend a better name, no offense. Also to differentiate between it and Scratch 3.
I'm not sure if you know Python programming, but all Python files must end in a .py file extension.
- -FreeEngines-
-
100+ posts
scratchattach - A Scratch API wrapper (Python)
i never doubted that.
there is of course a reason file extensions exist at all, with the right content, you could open a .txt with microsoft word etc. but it makes it way easier telling what the file actually is used for
there is of course a reason file extensions exist at all, with the right content, you could open a .txt with microsoft word etc. but it makes it way easier telling what the file actually is used for
- uwv
-
1000+ posts
scratchattach - A Scratch API wrapper (Python)
(#73)file extensions are for people who know nothing about computers, personally i use .py for c++, .js for typescript, .ts for python and .cc for javascript
i never doubted that.
there is of course a reason file extensions exist at all, with the right content, you could open a .txt with microsoft word etc. but it makes it way easier telling what the file actually is used for
- aara007
-
38 posts
scratchattach - A Scratch API wrapper (Python)
This is TRUELY wonderful. Maybe in a few months, when I know python a BIT more, I'll use this!
- scratchyjimjam
-
90 posts
scratchattach - A Scratch API wrapper (Python)
im having an error with this code
import scratchattach as scratch3
import random as r
import time
session = scratch3.login(“scratchyjimjam”, “*********”)
while True:
number = str(r.randint(100,690000000))
project = session.connect_project(number)
print(number)
dijeudhwuidh = project.author
i get this error:
Traceback (most recent call last):
File “C:\Users\scrat\Videos\userfinder.py”, line 10, in <module>
dijeudhwuidh = project.author
AttributeError: ‘PartialProject’ object has no attribute ‘author’
?
import scratchattach as scratch3
import random as r
import time
session = scratch3.login(“scratchyjimjam”, “*********”)
while True:
number = str(r.randint(100,690000000))
project = session.connect_project(number)
print(number)
dijeudhwuidh = project.author
i get this error:
Traceback (most recent call last):
File “C:\Users\scrat\Videos\userfinder.py”, line 10, in <module>
dijeudhwuidh = project.author
AttributeError: ‘PartialProject’ object has no attribute ‘author’
?
Last edited by scratchyjimjam (May 14, 2022 09:36:24)
- thesuperfuncoder
-
77 posts
scratchattach - A Scratch API wrapper (Python)
Cool!
Last edited by thesuperfuncoder (May 14, 2022 10:19:51)
- MinecraftFan19283
-
24 posts
scratchattach - A Scratch API wrapper (Python)
*installs right away*


Last edited by MinecraftFan19283 (May 14, 2022 12:30:50)
- DerMeister2010
-
3 posts
scratchattach - A Scratch API wrapper (Python)
Ich verstehe nicht wo man “pip install scratchattach” eingeben soll. Kannst du mir da vielleicht helfen?
- youhan_school
-
41 posts
scratchattach - A Scratch API wrapper (Python)
It doesn't 100% mean it is your fault. Maybe replit server has some problems… OR your computer needs a restart. If replit shuts down, you're most likely using it wrongly
- Discussion Forums
- » Advanced Topics
-
» scratchattach - A Scratch API wrapper (Python)