Discuss Scratch

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! |

mybearworld wrote:

Joshisaurio wrote:

I know but anyway the processor is Python3
But for VSCode it is too… We're not talking about interpreters but about IDEs here, aren't we?
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)


9NAwRfSR-%dWFS$a$g&zBMTj2?;jvS?L5%^X%qpCX|A<*paJ=lU07c)wmt$v{TxL5



scratchGui.timeTravel.year = '2020'
MonkeyBean2
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

rewamd wrote:

May I be a helper?
What IDE's do you use?


9NAwRfSR-%dWFS$a$g&zBMTj2?;jvS?L5%^X%qpCX|A<*paJ=lU07c)wmt$v{TxL5



scratchGui.timeTravel.year = '2020'
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.
Before you post: Is what you're posting likely to start an argument or derail the thread (e.g., browsers, operating systems)? If so, please re-think your post!





MonkeyBean2
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

NFlex23 wrote:

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…


9NAwRfSR-%dWFS$a$g&zBMTj2?;jvS?L5%^X%qpCX|A<*paJ=lU07c)wmt$v{TxL5



scratchGui.timeTravel.year = '2020'
ScratchTheCoder12345
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

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.
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!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.

Hello, I'm Brandon a Python developer who loves math and coding.
he/him
Feel free to message me with any questions
MonkeyBean2
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

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.
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!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.
Doubt that will work.


9NAwRfSR-%dWFS$a$g&zBMTj2?;jvS?L5%^X%qpCX|A<*paJ=lU07c)wmt$v{TxL5



scratchGui.timeTravel.year = '2020'
ScratchTheCoder12345
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

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.
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!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.
Doubt that will work.
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/

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)


Hello, I'm Brandon a Python developer who loves math and coding.
he/him
Feel free to message me with any questions
MonkeyBean2
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

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.
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!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.
Doubt that will work.
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/

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.
Right! So, use a proxy! Eg.
https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu
(now obviously https://api.scratch.mit.edu can be whatever you want)


9NAwRfSR-%dWFS$a$g&zBMTj2?;jvS?L5%^X%qpCX|A<*paJ=lU07c)wmt$v{TxL5



scratchGui.timeTravel.year = '2020'
ScratchTheCoder12345
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

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.
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!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.
Doubt that will work.
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/

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.
Right! So, use a proxy! Eg.
https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu
(now obviously https://api.scratch.mit.edu can be whatever you want)
Oh nice!

Hello, I'm Brandon a Python developer who loves math and coding.
he/him
Feel free to message me with any questions
Joshisaurio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

NFlex23 wrote:

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


Banner by @NFlex23


Banner by @NFlex23

Joshisaurio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

s

papierblau wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

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.
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!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
Okay… Can you let me know when you have found a solution?
Sure!


Banner by @NFlex23


Banner by @NFlex23

Joshisaurio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

NFlex23 wrote:

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


Banner by @NFlex23


Banner by @NFlex23

MonkeyBean2
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

rewamd wrote:

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"


9NAwRfSR-%dWFS$a$g&zBMTj2?;jvS?L5%^X%qpCX|A<*paJ=lU07c)wmt$v{TxL5



scratchGui.timeTravel.year = '2020'
Joshisaurio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

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.
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!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.
Doubt that will work.
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/

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.
Right! So, use a proxy! Eg.
https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu
(now obviously https://api.scratch.mit.edu can be whatever you want)
But how do you implement it on Python? I don't know any other coding languages


Banner by @NFlex23


Banner by @NFlex23

ScratchTheCoder12345
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

Joshisaurio wrote:

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

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.
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!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.
Doubt that will work.
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/

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.
Right! So, use a proxy! Eg.
https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu
(now obviously https://api.scratch.mit.edu can be whatever you want)
But how do you implement it on Python? I don't know any other coding languages


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)

Hello, I'm Brandon a Python developer who loves math and coding.
he/him
Feel free to message me with any questions
Joshisaurio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

~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)
Oh ok also you can separate code without so many spaces like this:
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'])


Banner by @NFlex23


Banner by @NFlex23

ScratchTheCoder12345
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

Joshisaurio wrote:

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

~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)
Oh ok also you can separate code without so many spaces like this:
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)


Hello, I'm Brandon a Python developer who loves math and coding.
he/him
Feel free to message me with any questions
Joshisaurio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

Umm you deleted it I think


Banner by @NFlex23


Banner by @NFlex23

dinonil
Scratcher
89 posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

May I be a helper?

Powered by DjangoBB