Discuss Scratch

-FreeEngines-
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

If replit shuts down, you're most likely using it wrongly
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.

Hi! I am SepsisIdentifier! I am a secondary school math, science and computing enthusiast. If you have any questions on scripts or advanced mathematics, I would be happy to answer them!
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).

Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
  • Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
  • The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
  • Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
  • Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
  • Issues with Scratch itself should be put in Bugs and Glitches.
Before you post: Is what you're posting likely to start an argument or derail the thread (e.g., browsers, operating systems)? If so, please re-think your post!





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?

i use arch linux (btw) with the linux zen kernel and enjoy writing silly things in silly languages using silly frameworks
beyaer4
Scratcher
14 posts

scratchattach - A Scratch API wrapper (Python)

What?
VIGARPAST_777
Scratcher
55 posts

scratchattach - A Scratch API wrapper (Python)

Can you made a python tutorial?

Bye
ScratchTheCoder12345
Scratcher
500+ posts

scratchattach - A Scratch API wrapper (Python)

Google Python tutorial boom problem solved

Hello, I'm Brandon a Python developer who loves math and coding.
he/him
Feel free to message me with any questions
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

i use arch linux (btw) with the linux zen kernel and enjoy writing silly things in silly languages using silly frameworks
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
84 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)


when green flag clicked
say [This is scratchyjimjam's signature] for (2) secs


-SCRATCHYJIMJAM-
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)


when I receive [User is reading ]
say [Everything you need to know is on my profile] for (2) secs
say [Nothing here!!]
say [Why are you still reading?] for (2) secs
—————————————————————————
click to play my best game !!!!!!
MinecraftFan19283
Scratcher
24 posts

scratchattach - A Scratch API wrapper (Python)

*installs right away*

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




Message by MinecraftFan19283
Check out my animations account!


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)


Wolf god

Powered by DjangoBB