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
100+ 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)But for VSCode it is too… We're not talking about interpreters but about IDEs here, aren't we? I know but anyway the processor is Python3
- MonkeyBean2
- Scratcher
100+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
- 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.
Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
- Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
- The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
- Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
- Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
- Issues with Scratch itself should be put in Bugs and Glitches.
- MonkeyBean2
- Scratcher
100+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Good point, I was just asking them what Joshisaurio was asking people… 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.
- 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!A proxy. 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?
- MonkeyBean2
- Scratcher
100+ 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!A proxy. 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?
- 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!A proxy. 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?
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
100+ 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!A proxy. 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?
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!A proxy. 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?
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! |
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 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.
- 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!A proxy. 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?
- Joshisaurio
- Scratcher
100+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Besides, I work with 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.@Rewamd on the Orange OS servers so I'm really sure he's good at it, trust me
- MonkeyBean2
- Scratcher
100+ 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!A proxy. 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?
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!A proxy. 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?
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:Something like this I guess. ~HUGE snip~
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:Something like this I guess. ~HUGE snip~
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! |
- dinonil
- 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! |