Discuss Scratch

PSIstudios
Scratcher
500+ posts

Python on scratch

I was wondering how do you use python in scratch with your projects? I've seen people make there own servers on scratch and things using python and I really want to do this with another programming language.
Tunde123
Scratcher
1000+ posts

Python on scratch

You can't. Besides it's rejected:

TOLORS wrote:

2.2 Text-based syntax in Scratch
Some users wish to code Scratch not with the blocks, but with typing code instead (similar to how more advanced programming languages work). Others are interested in an option to view, convert, or download Scratch code to other programming languages. However, the Scratch Team has discussed this possibility multiple times and has decided every time that it would not be beneficial for beginners or teachers.

This suggestion extends to coding, viewing, converting, or downloading Scratch in any text-based language, including BBCode, Javascript, some form of pseudocode, or some other programming language. If you wish to code using another language, then you can learn it on your own, but it would have to be done outside of Scratch. For those who are interested, it may be worth checking out Tosh. It is a text-based programming language that serves as a text editor for Scratch projects.
PSIstudios
Scratcher
500+ posts

Python on scratch

Tunde123 wrote:

You can't. Besides it's rejected:

TOLORS wrote:

2.2 Text-based syntax in Scratch
Some users wish to code Scratch not with the blocks, but with typing code instead (similar to how more advanced programming languages work). Others are interested in an option to view, convert, or download Scratch code to other programming languages. However, the Scratch Team has discussed this possibility multiple times and has decided every time that it would not be beneficial for beginners or teachers.

This suggestion extends to coding, viewing, converting, or downloading Scratch in any text-based language, including BBCode, Javascript, some form of pseudocode, or some other programming language. If you wish to code using another language, then you can learn it on your own, but it would have to be done outside of Scratch. For those who are interested, it may be worth checking out Tosh. It is a text-based programming language that serves as a text editor for Scratch projects.

Then how is timmccool using it for his project?
Tunde123
Scratcher
1000+ posts

Python on scratch

PSIstudios wrote:

Tunde123 wrote:

You can't. Besides it's rejected:

TOLORS wrote:

2.2 Text-based syntax in Scratch
Some users wish to code Scratch not with the blocks, but with typing code instead (similar to how more advanced programming languages work). Others are interested in an option to view, convert, or download Scratch code to other programming languages. However, the Scratch Team has discussed this possibility multiple times and has decided every time that it would not be beneficial for beginners or teachers.

This suggestion extends to coding, viewing, converting, or downloading Scratch in any text-based language, including BBCode, Javascript, some form of pseudocode, or some other programming language. If you wish to code using another language, then you can learn it on your own, but it would have to be done outside of Scratch. For those who are interested, it may be worth checking out Tosh. It is a text-based programming language that serves as a text editor for Scratch projects.

Then how is timmccool using it for his project?
Can you link his project?
PSIstudios
Scratcher
500+ posts

Python on scratch

https://scratch.mit.edu/projects/408061203/ This is one of the projects where he used it.
Tunde123
Scratcher
1000+ posts

Python on scratch

PSIstudios wrote:

https://scratch.mit.edu/projects/408061203/ This is one of the projects where he used it.
Can you point out where he used Python in the project? Cause all I see is the scratch blocks code.
Za-Chary
Scratcher
1000+ posts

Python on scratch

Tunde123 wrote:

You can't.
I think there are ways to use cloud variables to externally run a Python script and have it affect the Scratch project. I loved a project recently which does that. I have no clue how to actually do that, however.
Nezon
Scratcher
1000+ posts

Python on scratch

It requires the use of scratchclient and a external hoster.

For example, a repl.it could do this.
Braylon1264
Scratcher
2 posts

Python on scratch

: print (“hello world”)

Powered by DjangoBB