Discuss Scratch

Dacggug
Scratcher
4 posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

Oh. You did! Thank you very much!
when I receive [I need to look more carefully v]
say [Oh, thanks!] for (2) secs
say [This is my first time using these things, so it may not work] for (2) secs
Dacggug
Scratcher
4 posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

say [Oh, it did work!] for (2) secs
god286
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

Cool! And it looks like a lot of new people are coming to this forum. Maybe it will make the ATs more active

meowclient
Typescript and ESM support
Kind-of good documentation
Easy to use
meowclient


                 _ ____  ___   __   
__ _ ___ __| |___ \( _ ) / /_
/ _` |/ _ \ / _` | __) / _ \| '_ \
| (_| | (_) | (_| |/ __/ (_) | (_) |
\__, |\___/ \__,_|_____\___/ \___/
|___/
^ inspired by @Chiroyce, made with figlet
-FreeEngines-
Scratcher
100+ posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

Dacggug wrote:

Thank you so much! I know there is a way to use external code to make it so you can have more cloud variables, or something equivalent to that. Could you make a guid for how to code that? I'm planning to make a real time strategy game with multiple players.
theres an more ind depth explanation on his github / the pip page
-FreeEngines-
Scratcher
100+ posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

brandontwinzone wrote:

Thanks for the package! I'll use it for my future python projects
Also, is it available on PyCharm? I don't have pip.
PyCharm is just an IDE for python, and im pretty sure it has pip built in, if not, you should defenetly install it, as its a must have for python developers
Esben_Flavogle
Scratcher
56 posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

brandontwinzone wrote:

Thanks for the package! I'll use it for my future python projects
Also, is it available on PyCharm? I don't have pip.
just install pip, it should be compatible with python 3.0

if <This> then 

Eat Ice Cream

else
Also eat ice cream
end
-wolfs
Scratcher
6 posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

I think this will be Helpful for other programmers

Wolf god
youhan_school
Scratcher
41 posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

youhan_school
Scratcher
41 posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

youhan_school wrote:

Cool thing ya!
It will be very helpful to everyone who want to learn how to integrate your project to scratch! . Recommended for beginners too!
ScratchTheCoder12345
Scratcher
100+ posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

Hold on let me check if it's on PyCharm, I have it. Yep! It's called scratch3.py in Python Packages

Hello, I'm Brandon a Python developer who loves math and coding.
Feel free to message me with any questions
altrip
Scratcher
8 posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

I downloaded python but I don't know which version to use or which app to open since it also installed a bunch of other apps
Scratch_Record_Egg
Scratcher
4 posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

Does anyone have any recommendations of where and how to host the python program. What does @TimMcCool use? Are there free options other than on my own computer?
-FreeEngines-
Scratcher
100+ posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

tim uses replit.com in combination with uptimerobot and a keep alive script which makes his programm into a python flask server
TimMcCool
Scratcher
100+ posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

I renamed the package to “scratchattach”
I also added a built in Encoder

My profile / Mein Profil: @TimMcCool
Dacggug
Scratcher
4 posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

Thank you!
TSSA-13
Scratcher
3 posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

• I see. @TimMcCool, you used a bit of coding on Python and converted it into scratch code to make that user stats project.

• Ich verstehe. @TimMcCool, Sie haben ein bisschen Programmieren in Python verwendet und es in Scratch-Code konvertiert, um dieses Benutzerstatistikprojekt zu erstellen.
-FreeEngines-
Scratcher
100+ posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

TSSA-13 wrote:

• I see. @TimMcCool, you used a bit of coding on Python and converted it into scratch code to make that user stats project.

• Ich verstehe. @TimMcCool, Sie haben ein bisschen Programmieren in Python verwendet und es in Scratch-Code konvertiert, um dieses Benutzerstatistikprojekt zu erstellen.
1.) Never use google translate, especially not in combination with the german language
2.) Not really. he's not converting code in any way, python and scratch are seperated. his package is just an api wrapper, and his stats projects works by communicating between python and scratch using cloud vars, nothing more
The-_Trio
Scratcher
12 posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

TSSA-13 wrote:

• I see. @TimMcCool, you used a bit of coding on Python and converted it into scratch code to make that user stats project.

• Ich verstehe. @TimMcCool, Sie haben ein bisschen Programmieren in Python verwendet und es in Scratch-Code konvertiert, um dieses Benutzerstatistikprojekt zu erstellen.


He also could've just learned the language, INCLUDING, from Germany, so many people learn English from Germany.
ScratchcatandGobo
Scratcher
100+ posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

Traceback (most recent call last):
File “CUsers/censord/OneDrive/Desktop/Griffpatch.py”, line 6, in <module>
conn.set_var(“Followers”, 1)
File “C:\Users\lcensord\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\scratchattach\_cloud.py”, line 50, in set_var
if len(value) > 256:
TypeError: object of type ‘int’ has no len()

ScratchcatandGobo Scratching since 2019
i am currently learning lua (roblox), C sharp, and python. I also work on Orange OS linux, basicly normal Orange, but made with linux, and better.
Orange os Linux edition

▲ Click the banner to learn more ▲

50th post
/url 100th post
Redirect to project ID block
Here is my status (via aviate) here
ScratchcatandGobo
Scratcher
100+ posts

scratchattach - A Scratch API wrapper | v1.0 released (Python)

How are you even supposed to set a cloud variable to a python variable? This is really bugging me…
conn = session.connect_cloud(project_id=“688967859”)
user = session.connect_user(“griffpatch”)
session.get_linked_user()
variable = user.follower_count()
conn.set_var(“Username”, variable)

Last edited by ScratchcatandGobo (May 11, 2022 20:55:02)


ScratchcatandGobo Scratching since 2019
i am currently learning lua (roblox), C sharp, and python. I also work on Orange OS linux, basicly normal Orange, but made with linux, and better.
Orange os Linux edition

▲ Click the banner to learn more ▲

50th post
/url 100th post
Redirect to project ID block
Here is my status (via aviate) here

Powered by DjangoBB

Standard | Mobile