Discuss Scratch

SepsisIdentifier
Scratcher
27 posts

scratchattach - A Scratch API wrapper (Python)

MagicCrayon9342 wrote:

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
Scratcher
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
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

SepsisIdentifier wrote:

(#63)

MagicCrayon9342 wrote:

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.
He meant the PyPi package name itself (it's renamed now, but it used to be called Scratch3.py).
uwv
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

SepsisIdentifier wrote:

(#63)

MagicCrayon9342 wrote:

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.
are you sure about that?
beyaer4
Scratcher
14 posts

scratchattach - A Scratch API wrapper (Python)

What?
VIGARPAST_777
Scratcher
59 posts

scratchattach - A Scratch API wrapper (Python)

Can you made a python tutorial?
ScratchTheCoder12345
Scratcher
500+ posts

scratchattach - A Scratch API wrapper (Python)

Google Python tutorial boom problem solved
only_dg
Scratcher
19 posts

scratchattach - A Scratch API wrapper (Python)

now i have 692 followers if i have 7 followers more i have 700
-FreeEngines-
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

uwv wrote:

SepsisIdentifier wrote:

(#63)

MagicCrayon9342 wrote:

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.
are you sure about that?
you are exact, you do not need an .py file to execute it as an python file
MagicCrayon9342
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

-FreeEngines- wrote:

uwv wrote:

SepsisIdentifier wrote:

(#63)

MagicCrayon9342 wrote:

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.
are you sure about that?
you are exact, you do not need an .py file to execute it as an python file
but giving it a txt extension can confuse a user, that's for sure.
-FreeEngines-
Scratcher
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
uwv
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

-FreeEngines- wrote:

(#73)
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
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
aara007
Scratcher
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
Scratcher
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’

?

Last edited by scratchyjimjam (May 14, 2022 09:36:24)

Winterstar_Official
Scratcher
20 posts

scratchattach - A Scratch API wrapper (Python)

haihai
thesuperfuncoder
Scratcher
77 posts

scratchattach - A Scratch API wrapper (Python)

Cool!

Last edited by thesuperfuncoder (May 14, 2022 10:19:51)

MinecraftFan19283
Scratcher
24 posts

scratchattach - A Scratch API wrapper (Python)

*installs right away*

Last edited by MinecraftFan19283 (May 14, 2022 12:30:50)

DerMeister2010
Scratcher
3 posts

scratchattach - A Scratch API wrapper (Python)

Ich verstehe nicht wo man “pip install scratchattach” eingeben soll. Kannst du mir da vielleicht helfen?
-wolfs
Scratcher
6 posts

scratchattach - A Scratch API wrapper (Python)

youhan_school
Scratcher
41 posts

scratchattach - A Scratch API wrapper (Python)

-FreeEngines- wrote:

If replit shuts down, you're most likely using it wrongly
It doesn't 100% mean it is your fault. Maybe replit server has some problems… OR your computer needs a restart.

Powered by DjangoBB