Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Scratch to Python using Snap! 4.0
- uobihara12
-
Scratcher
26 posts
Scratch to Python using Snap! 4.0
If anyone hasn't tried Snap! 4.0, I think it is really great.Umm, where is the button?
It's almost like upgraded Scratch, and you can do many more things like… Scratch to Python!
If you go to http://snap.berkeley.edu/snapsource/snap.html and open the Example file called Codification, you can create a simple program in Snap! and drag and drop the script into the variable ‘script’. Then run this block and your variable will be set to whatever you drag-dropped.
At the bottom there is a block called ‘Map to python’ with some other blocks attached, and you can run that block and it will convert your scratch to Python! You can see the results in the Stage and export the ‘Code’ variable and run it on python!
Very neat.
- 70274
-
Scratcher
6 posts
Scratch to Python using Snap! 4.0
But it hasn't been 10 years yet XDI cant get snap for my operating system(linux)Please don't necropost.
- bbrainstormer
-
Scratcher
11 posts
Scratch to Python using Snap! 4.0
If anyone hasn't tried Snap! 4.0, I think it is really great.
It's almost like upgraded Scratch, and you can do many more things like… Scratch to Python!
If you go to http://snap.berkeley.edu/snapsource/snap.html and open the Example file called Codification, you can create a simple program in Snap! and drag and drop the script into the variable ‘script’. Then run this block and your variable will be set to whatever you drag-dropped.
At the bottom there is a block called ‘Map to python’ with some other blocks attached, and you can run that block and it will convert your scratch to Python! You can see the results in the Stage and export the ‘Code’ variable and run it on python!
Very neat.
You can also convert to other languages, like c
- ninjagolloyd
-
Scratcher
500+ posts
Scratch to Python using Snap! 4.0
can you import games from scratchyes
- austinsusa
-
Scratcher
1 post
Scratch to Python using Snap! 4.0
Is there a way to do this with pre-existing snap code. Like can I copy the codification mapping blocks over to another file?
- kzooy
-
Scratcher
44 posts
Scratch to Python using Snap! 4.0
CurtisW Wrote:How do you do the scratch to python thing?
f anyone hasn't tried Snap! 4.0, I think it is really great.
It's almost like upgraded Scratch, and you can do many more things like… Scratch to Python!
If you go to http://snap.berkeley.edu/snapsource/snap.html and open the Example file called Codification, you can create a simple program in Snap! and drag and drop the script into the variable ‘script’. Then run this block and your variable will be set to whatever you drag-dropped.
At the bottom there is a block called ‘Map to python’ with some other blocks attached, and you can run that block and it will convert your scratch to Python! You can see the results in the Stage and export the ‘Code’ variable and run it on python!
Very neat.
same OSimulators im learning python also
- ravenclawbuddy84
-
Scratcher
13 posts
Scratch to Python using Snap! 4.0
Does this actually work anymore because Snap! is on version 5.3.7 now.
- 1156276519
-
Scratcher
35 posts
Scratch to Python using Snap! 4.0
I never new Snap! was a thing! Thank goodness I found it 

- 1156276519
-
Scratcher
35 posts
Scratch to Python using Snap! 4.0
when green flag clicked
forever
if <touching [Snap!] ?> then
play sound [This is awesome!] until done
end
end
- Discussion Forums
- » Advanced Topics
-
» Scratch to Python using Snap! 4.0











