Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
- rewamd
-
Scratcher
27 posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
May I be a helper?
- MonkeyBean2
-
Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Whatever IDE you use, if it runs the python code, all the ones i know will internally run the python3 command. (Or ipython, ex. for jupyter notebooks)I know but anyway the processor is Python3But for VSCode it is too… We're not talking about interpreters but about IDEs here, aren't we?
- MonkeyBean2
-
Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
May I be a helper?What IDE's do you use?
- NFlex23
-
Scratcher
1000+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Instead of asking people which IDE they use (which is kind of pointless), you should ask them how good they are at Python. Maybe give them a little test or something. Asking which IDE they use tells nothing about if they know enough Python or not; you could use a really advanced IDE and not know how to use it correctly.
- MonkeyBean2
-
Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Instead of asking people which IDE they use (which is kind of pointless), you should ask them how good they are at Python. Maybe give them a little test or something. Asking which IDE they use tells nothing about if they know enough Python or not; you could use a really advanced IDE and not know how to use it correctly.Good point, I was just asking them what Joshisaurio was asking people…
- ScratchTheCoder12345
-
Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
You could try Cookie login, It's a bit of a pain to implement though.Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…So there is nothing I can do now?Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?A proxy.
- MonkeyBean2
-
Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Doubt that will work.You could try Cookie login, It's a bit of a pain to implement though.Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…So there is nothing I can do now?Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?A proxy.
- ScratchTheCoder12345
-
Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
What will work? Cookie login works with changing cloud variables and using APIs like Scratch attach, but the only thing is Scratch bans API requests from Replit IP's so I can't get info using something like api.scratch.mit.edu/something here/Doubt that will work.You could try Cookie login, It's a bit of a pain to implement though.Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…So there is nothing I can do now?Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?A proxy.
That results in an HTTP error even if you do try cookie login because in the end you can't just use cookies you always have an IP address.
Last edited by ScratchTheCoder12345 (July 1, 2022 13:22:10)
- MonkeyBean2
-
Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Right! So, use a proxy! Eg.What will work? Cookie login works with changing cloud variables and using APIs like Scratch attach, but the only thing is Scratch bans API requests from Replit IP's so I can't get info using something like api.scratch.mit.edu/something here/Doubt that will work.You could try Cookie login, It's a bit of a pain to implement though.Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…So there is nothing I can do now?Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?A proxy.
That results in an HTTP error even if you do try cookie login because in the end you can't just use cookies you always have an IP address.
https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu
- ScratchTheCoder12345
-
Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Oh nice!Right! So, use a proxy! Eg.What will work? Cookie login works with changing cloud variables and using APIs like Scratch attach, but the only thing is Scratch bans API requests from Replit IP's so I can't get info using something like api.scratch.mit.edu/something here/Doubt that will work.You could try Cookie login, It's a bit of a pain to implement though.Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…So there is nothing I can do now?Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?A proxy.
That results in an HTTP error even if you do try cookie login because in the end you can't just use cookies you always have an IP address.(now obviously https://api.scratch.mit.edu can be whatever you want)https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu
- Joshisaurio
-
Scratcher
100+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Instead of asking people which IDE they use (which is kind of pointless), you should ask them how good they are at Python. Maybe give them a little test or something. Asking which IDE they use tells nothing about if they know enough Python or not; you could use a really advanced IDE and not know how to use it correctly.Right it's just to add info for people who are looking at the top page and yeah all those people bc I've seen them help on the ScratchAttach with decent/very good ideas. Those who I don't know will prob take a test
- Joshisaurio
-
Scratcher
100+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
s
Sure!Okay… Can you let me know when you have found a solution?Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…So there is nothing I can do now?Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?A proxy.
- Joshisaurio
-
Scratcher
100+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Instead of asking people which IDE they use (which is kind of pointless), you should ask them how good they are at Python. Maybe give them a little test or something. Asking which IDE they use tells nothing about if they know enough Python or not; you could use a really advanced IDE and not know how to use it correctly.Besides, I work with @Rewamd on the Orange OS servers so I'm really sure he's good at it, trust me
- MonkeyBean2
-
Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
May I be a helper?
How good are you at python?
Here's a short little test: (don't worry, you don't have to get them all right - i'll explain what's wrong and why it's wrong)
def isprime(n): #write a function that returns wether n is prime or not. #Sort this list, from least to greatest. mylist = [66, 1, 6, 9, 17, 5, 71, 3] #Download and save https://scratch.mit.edu/discuss/post/6427068/source/ url = "https://scratch.mit.edu/discuss/post/6427068/source/" #Run a shell command #Make a simple webserver #Do something with PIL (or pillow) #Make two random numpy arrays, and add them together #Open an image with PIL (or pillow), and using numpy to add a small amount of randomness to each pixel. #Print "done with test"
- Joshisaurio
-
Scratcher
100+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
But how do you implement it on Python? I don't know any other coding languagesRight! So, use a proxy! Eg.What will work? Cookie login works with changing cloud variables and using APIs like Scratch attach, but the only thing is Scratch bans API requests from Replit IP's so I can't get info using something like api.scratch.mit.edu/something here/Doubt that will work.You could try Cookie login, It's a bit of a pain to implement though.Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…So there is nothing I can do now?Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?A proxy.
That results in an HTTP error even if you do try cookie login because in the end you can't just use cookies you always have an IP address.(now obviously https://api.scratch.mit.edu can be whatever you want)https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu
- ScratchTheCoder12345
-
Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
But how do you implement it on Python? I don't know any other coding languagesRight! So, use a proxy! Eg.What will work? Cookie login works with changing cloud variables and using APIs like Scratch attach, but the only thing is Scratch bans API requests from Replit IP's so I can't get info using something like api.scratch.mit.edu/something here/Doubt that will work.You could try Cookie login, It's a bit of a pain to implement though.Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…So there is nothing I can do now?Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?A proxy.
That results in an HTTP error even if you do try cookie login because in the end you can't just use cookies you always have an IP address.(now obviously https://api.scratch.mit.edu can be whatever you want)https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu
Something like this I guess.
import json, requests
url = requests.get("https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu/users/griffpatch/messages/count")
text = url.text
data = json.loads(text)
print(data)
- Joshisaurio
-
Scratcher
100+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Oh ok also you can separate code without so many spaces like this:~HUGE snip~Something like this I guess.
import json, requests
url = requests.get("https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu/users/griffpatch/messages/count")
text = url.text
data = json.loads(text)
print(data)
import json, requests url = requests.get("https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu/users/griffpatch/messages/count") text = url.text data = json.loads(text) print(data['count'])
- ScratchTheCoder12345
-
Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Oh ok also you can separate code without so many spaces like this:~HUGE snip~Something like this I guess.
import json, requests
url = requests.get("https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu/users/griffpatch/messages/count")
text = url.text
data = json.loads(text)
print(data)import json, requests url = requests.get("https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu/users/griffpatch/messages/count") text = url.text data = json.loads(text) print(data['count'])
Last edited by ScratchTheCoder12345 (July 1, 2022 22:49:53)
- Joshisaurio
-
Scratcher
100+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Umm you deleted it I think
- gdpr0d1c374ad4b131d0c9c84821
-
Scratcher
89 posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
May I be a helper?
- Discussion Forums
- » Advanced Topics
-
» PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |