Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » scratchattach - A Scratch API wrapper (Python)
- mas6y6
-
Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
(#2200)Scratch logging is down so this is brokenfor 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)
- ShadowMilo
-
Scratcher
13 posts
scratchattach - A Scratch API wrapper (Python)
i already know python , and i will gladly install a fourth instance of python 3.12 (yes i did that trying desperately to fix this problem)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.still dont want to mess with code of a programyou have to add pip to your environoment variables < PATHbruh my windows 11 doesn't think pip exists and i can't install scratchattachHi,bro, the command is “pip install -U scratchattach” not “import scratchattach as scratch3”
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?when green flag clicked
say [why microsoft] for (infinity) secs
- -StarryDog-
-
Scratcher
59 posts
scratchattach - A Scratch API wrapper (Python)
@scratchattachPlease be constructive when you post
- wvzack
-
Scratcher
500+ posts
scratchattach - A Scratch API wrapper (Python)
ok thanks and is there any mention of when they will be back?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)
and is there an alternative way?
Last edited by wvzack (Dec. 17, 2023 04:25:59)
- -ProXeel
-
Scratcher
52 posts
scratchattach - A Scratch API wrapper (Python)
✨hey i have a question, how do you write your python code to set your wiwo with multiple lines of text ?
- perperperper
-
Scratcher
16 posts
scratchattach - A Scratch API wrapper (Python)
it dint know pip existPycharm is not the same as Python. Also, pretty much any modern version of Python should workI use “Pycharm Community Edition 2022.1.3”, scratchattach will work on this version?i have Cloud Request spriteLearn the whole Python coding language, come back when you are done.think [what do i do next :|] for (5) secshttps://www.python.org/downloads/
- ajskateboarder
-
Scratcher
1000+ posts
scratchattach - A Scratch API wrapper (Python)
Try using “python -m pip install scratchattach”it dint know pip existPycharm is not the same as Python. Also, pretty much any modern version of Python should workI use “Pycharm Community Edition 2022.1.3”, scratchattach will work on this version?i have Cloud Request spriteLearn the whole Python coding language, come back when you are done.think [what do i do next :|] for (5) secshttps://www.python.org/downloads/
- perperperper
-
Scratcher
16 posts
scratchattach - A Scratch API wrapper (Python)
still dint know, that program think pip not exist. the good new, it say " A new release of pip available: 22.3.1 -> 23.3.2"Try using “python -m pip install scratchattach”it dint know pip existPycharm is not the same as Python. Also, pretty much any modern version of Python should workI use “Pycharm Community Edition 2022.1.3”, scratchattach will work on this version?i have Cloud Request spriteLearn the whole Python coding language, come back when you are done.think [what do i do next :|] for (5) secshttps://www.python.org/downloads/
- perperperper
-
Scratcher
16 posts
scratchattach - A Scratch API wrapper (Python)
and I forget how to find that pycharm downloader web, and it not from official “python”, it from “brain jet”still dint know, that program think pip not exist. the good new, it say " A new release of pip available: 22.3.1 -> 23.3.2"Try using “python -m pip install scratchattach”it dint know pip existPycharm is not the same as Python. Also, pretty much any modern version of Python should workI use “Pycharm Community Edition 2022.1.3”, scratchattach will work on this version?i have Cloud Request spriteLearn the whole Python coding language, come back when you are done.think [what do i do next :|] for (5) secshttps://www.python.org/downloads/
Last edited by perperperper (Dec. 17, 2023 14:07:03)
- wvzack
-
Scratcher
500+ posts
scratchattach - A Scratch API wrapper (Python)
Is there a way to fetch cloud vars while the logs are down?
- perperperper
-
Scratcher
16 posts
scratchattach - A Scratch API wrapper (Python)
#hmmm…
import scratchattach as scratch3
session = scratch3.login(“perperperper”, “”)
import scratchattach as scratch3
session = scratch3.login(“perperperper”, “”)
Last edited by perperperper (Dec. 26, 2023 13:06:47)
- perperperper
-
Scratcher
16 posts
scratchattach - A Scratch API wrapper (Python)
#hmmm…i just mess around with code
import scratchattach as scratch3
session = scratch3.login(“perperperper”, “”)
Last edited by perperperper (Dec. 26, 2023 13:07:01)
- ajskateboarder
-
Scratcher
1000+ posts
scratchattach - A Scratch API wrapper (Python)
Is there a way to fetch cloud vars while the logs are down?Maybe through websockets but otherwise, I have no idea ¯\_(ツ)_/¯
- perperperper
-
Scratcher
16 posts
scratchattach - A Scratch API wrapper (Python)
did every one know the code that receive the request 

Last edited by perperperper (Dec. 26, 2023 13:11:25)
- VIGARPAST_777
-
Scratcher
75 posts
scratchattach - A Scratch API wrapper (Python)
Can anyone make a tutorial to install scratchattach?
- I_LOVE_CCP
-
New Scratcher
30 posts
scratchattach - A Scratch API wrapper (Python)
Can anyone make a tutorial to install scratchattach?1. Install Python
Windows: Go to https://www.python.org/downloads/ and download the Python installer
Linux/macOS: Consult your respective package manager
2. Try any of the following lines
pip install scratchattach
python3 -m pip install scratchattach
python -m pip install scratchattach
py -m pip install scratchattach
- perperperper
-
Scratcher
16 posts
scratchattach - A Scratch API wrapper (Python)
did every one know the code that receive the request2/1/24
- -ProXeeI
-
Scratcher
16 posts
scratchattach - A Scratch API wrapper (Python)
is
session.connect_project(id_project)working ??
- wvzack
-
Scratcher
500+ posts
scratchattach - A Scratch API wrapper (Python)
isThe scratch cloud data logs are down which renders fetching valuables impossible(to the extent of my knowledge).session.connect_project(id_project)working ??
- wvzack
-
Scratcher
500+ posts
scratchattach - A Scratch API wrapper (Python)
✨hey i have a question, how do you write your python code to set your wiwo with multiple lines of text ?Use the \n command to make a new line
Print(“stuff” + \n + “stuff”)
(Sorry if stuff is wrong I am on mobile I might of made the code wrong but you use \n)
