Discuss Scratch

Air_heads
Scratcher
98 posts

scratchattach - A Scratch API wrapper (Python)

mas6y6
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

Try updating scratchattach there is a patch for that issue
mas6y6
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

ShadowMilo wrote:

(#2178)

DebugDungeon wrote:

VIGARPAST_777 wrote:

Hi,
The comman “import” in my command prompt doesn't work, I use windows 11. Anybody know how to install the library without the command prompt?
bro, the command is “pip install -U scratchattach” not “import scratchattach as scratch3”
bruh my windows 11 doesn't think pip exists and i can't install scratchattach
when green flag clicked
say [why microsoft] for (infinity) secs
You need to configure the python path environment variables if you are on windows

https://www.youtube.com/watch?v=NPML38E6flQ
MonkeyBean2
Scratcher
500+ posts

scratchattach - A Scratch API wrapper (Python)

ShadowMilo wrote:

DebugDungeon wrote:

VIGARPAST_777 wrote:

Hi,
The comman “import” in my command prompt doesn't work, I use windows 11. Anybody know how to install the library without the command prompt?
bro, the command is “pip install -U scratchattach” not “import scratchattach as scratch3”
bruh my windows 11 doesn't think pip exists and i can't install scratchattach
when green flag clicked
say [why microsoft] for (infinity) secs
python3 -m pip install ... / py -m pip install ... / python -m pip install ...
-ProXeel
Scratcher
52 posts

scratchattach - A Scratch API wrapper (Python)

user.post_comment() does not work
perperperper
Scratcher
16 posts

scratchattach - A Scratch API wrapper (Python)

ScratchTheCoder12345 wrote:

perperperper wrote:

i have Cloud Request sprite
think [what do i do next :|] for (5) secs
Learn the whole Python coding language, come back when you are done.
I use “Pycharm Community Edition 2022.1.3”, scratchattach will work on this version?
ajskateboarder
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

perperperper wrote:

ScratchTheCoder12345 wrote:

perperperper wrote:

i have Cloud Request sprite
think [what do i do next :|] for (5) secs
Learn the whole Python coding language, come back when you are done.
I use “Pycharm Community Edition 2022.1.3”, scratchattach will work on this version?
Pycharm is not the same as Python. Also, pretty much any modern version of Python should work https://www.python.org/downloads/
VIGARPAST_777
Scratcher
75 posts

scratchattach - A Scratch API wrapper (Python)

Hi, I'm trying to install it in my windows 11, but I don't see the app when I input the command “pip install scratchattach”.
Anyone know how to see the app?
Thanks,
Bye
ajskateboarder
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

VIGARPAST_777 wrote:

Hi, I'm trying to install it in my windows 11, but I don't see the app when I input the command “pip install scratchattach”.
Anyone know how to see the app?
Thanks,
Bye
Remember to install Python and toggle the option to “add to PATH”. This will let you use python and pip from the terminal. If by any chance you do not have administrator privileges, you can install Python from the Microsoft Store
TaetoeMater
Scratcher
4 posts

scratchattach - A Scratch API wrapper (Python)

Wait, so in using this, you could create a project that contains live sport game scores, team records, and rosters?!
VIGARPAST_777
Scratcher
75 posts

scratchattach - A Scratch API wrapper (Python)

@scratchattach
god286
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

TaetoeMater wrote:

Wait, so in using this, you could create a project that contains live sport game scores, team records, and rosters?!
yes
ScratchTheCoder12345
Scratcher
500+ posts

scratchattach - A Scratch API wrapper (Python)

TaetoeMater wrote:

Wait, so in using this, you could create a project that contains live sport game scores, team records, and rosters?!
Yes, the limits are really endless, except if it is against the Scratch TOS…
ShadowMilo
Scratcher
13 posts

scratchattach - A Scratch API wrapper (Python)

MonkeyBean2 wrote:

ShadowMilo wrote:

DebugDungeon wrote:

VIGARPAST_777 wrote:

Hi,
The comman “import” in my command prompt doesn't work, I use windows 11. Anybody know how to install the library without the command prompt?
bro, the command is “pip install -U scratchattach” not “import scratchattach as scratch3”
bruh my windows 11 doesn't think pip exists and i can't install scratchattach
when green flag clicked
say [why microsoft] for (infinity) secs
python3 -m pip install ... / py -m pip install ... / python -m pip install ...
Did all of thoose
ShadowMilo
Scratcher
13 posts

scratchattach - A Scratch API wrapper (Python)

mas6y6 wrote:

ShadowMilo wrote:

(#2178)

DebugDungeon wrote:

VIGARPAST_777 wrote:

Hi,
The comman “import” in my command prompt doesn't work, I use windows 11. Anybody know how to install the library without the command prompt?
bro, the command is “pip install -U scratchattach” not “import scratchattach as scratch3”
bruh my windows 11 doesn't think pip exists and i can't install scratchattach
when green flag clicked
say [why microsoft] for (infinity) secs
You need to configure the python path environment variables if you are on windows

https://www.youtube.com/watch?v=NPML38E6flQ
uhhhhhhhhhhhhhhhhh i dont want to mess with python's code, is there an easier way?
ShadowMilo
Scratcher
13 posts

scratchattach - A Scratch API wrapper (Python)

DebugDungeon wrote:

ShadowMilo wrote:

DebugDungeon wrote:

VIGARPAST_777 wrote:

Hi,
The comman “import” in my command prompt doesn't work, I use windows 11. Anybody know how to install the library without the command prompt?
bro, the command is “pip install -U scratchattach” not “import scratchattach as scratch3”
bruh my windows 11 doesn't think pip exists and i can't install scratchattach
when green flag clicked
say [why microsoft] for (infinity) secs
you have to add pip to your environoment variables < PATH
still dont want to mess with code of a program
ScratchcatandGobo
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

ShadowMilo wrote:

DebugDungeon wrote:

ShadowMilo wrote:

DebugDungeon wrote:

VIGARPAST_777 wrote:

Hi,
The comman “import” in my command prompt doesn't work, I use windows 11. Anybody know how to install the library without the command prompt?
bro, the command is “pip install -U scratchattach” not “import scratchattach as scratch3”
bruh my windows 11 doesn't think pip exists and i can't install scratchattach
when green flag clicked
say [why microsoft] for (infinity) secs
you have to add pip to your environoment variables < PATH
still dont want to mess with code of a program
Perhaps you should learn Python before attempting to do this. Messing with the exact thing that makes Scratch work can be a little risky, and you could accidentally get yourself into trouble. Anyways, you are going to have to download Python from the Microsoft Store if you don't want to edit your environment variables.

Last edited by ScratchcatandGobo (Dec. 14, 2023 23:23:41)

ajskateboarder
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

ShadowMilo wrote:

mas6y6 wrote:

ShadowMilo wrote:

bruh my windows 11 doesn't think pip exists and i can't install scratchattach
when green flag clicked
say [why microsoft] for (infinity) secs
You need to configure the python path environment variables if you are on windows

https://www.youtube.com/watch?v=NPML38E6flQ
uhhhhhhhhhhhhhhhhh i dont want to mess with python's code, is there an easier way?
You will have to mess with Python code to use scratchattach. Notice the title:
scratchattach - A Scratch API wrapper (Python)
wvzack
Scratcher
500+ posts

scratchattach - A Scratch API wrapper (Python)

For some reason my scratchattach code keeps returning that this code returns a non number variable:
conn1.set_var('player x', scratch3.get_var(835608246', ‘test’))
for some reason scratch3.get_var(835608246', ‘test’) is equal to none not a number!
ajskateboarder
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

wvzack wrote:

for some reason scratch3.get_var(835608246', ‘test’) is equal to none not a number!
This is because the cloud data logs are currently down (it currently does not load anything)

Powered by DjangoBB