Discuss Scratch

mas6y6
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

ajskateboarder wrote:

(#2200)

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)
Scratch logging is down so this is broken
ShadowMilo
Scratcher
13 posts

scratchattach - A Scratch API wrapper (Python)

ScratchcatandGobo wrote:

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.
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)
-StarryDog-
Scratcher
59 posts

scratchattach - A Scratch API wrapper (Python)

VIGARPAST_777 wrote:

@scratchattach
Please be constructive when you post
wvzack
Scratcher
500+ posts

scratchattach - A Scratch API wrapper (Python)

ajskateboarder wrote:

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)
ok thanks and is there any mention of when they will be back?
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)

ajskateboarder wrote:

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/
it dint know pip exist
ajskateboarder
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

perperperper wrote:

ajskateboarder wrote:

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/
it dint know pip exist
Try using “python -m pip install scratchattach”
perperperper
Scratcher
16 posts

scratchattach - A Scratch API wrapper (Python)

ajskateboarder wrote:

perperperper wrote:

ajskateboarder wrote:

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/
it dint know pip exist
Try using “python -m pip install scratchattach”
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"
perperperper
Scratcher
16 posts

scratchattach - A Scratch API wrapper (Python)

perperperper wrote:

ajskateboarder wrote:

perperperper wrote:

ajskateboarder wrote:

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/
it dint know pip exist
Try using “python -m pip install scratchattach”
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"
and I forget how to find that pycharm downloader web, and it not from official “python”, it from “brain jet”

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”, “”)

Last edited by perperperper (Dec. 26, 2023 13:06:47)

perperperper
Scratcher
16 posts

scratchattach - A Scratch API wrapper (Python)

perperperper wrote:

#hmmm…

import scratchattach as scratch3

session = scratch3.login(“perperperper”, “”)
i just mess around with code

Last edited by perperperper (Dec. 26, 2023 13:07:01)

ajskateboarder
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

wvzack wrote:

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)

VIGARPAST_777 wrote:

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)

perperperper wrote:

did every one know the code that receive the request
2/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)

-ProXeeI wrote:

is
session.connect_project(id_project)
working ??
The scratch cloud data logs are down which renders fetching valuables impossible(to the extent of my knowledge).
wvzack
Scratcher
500+ posts

scratchattach - A Scratch API wrapper (Python)

-ProXeel wrote:

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

Powered by DjangoBB