Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Is it possible to convert a scratch .sb3 file to python code?
- Ion_King1151
-
Scratcher
3 posts
Is it possible to convert a scratch .sb3 file to python code?
I've been working on a game called Mars for a very long time, (little less than a year maybe) and I'm finally ready to move on to python code, but I want to continue to update Mars. Is it possible to convert it?
- Ciyob86
-
Scratcher
500+ posts
Is it possible to convert a scratch .sb3 file to python code?
Can you give the project link?
- the_electro_bros
-
Scratcher
100+ posts
Is it possible to convert a scratch .sb3 file to python code?
Im not sure
You might be able to convert it to javascript then to python.
ninja'd
You might be able to convert it to javascript then to python.
ninja'd
Last edited by the_electro_bros (Sept. 16, 2021 18:56:45)
- imfh
-
Scratcher
1000+ posts
Is it possible to convert a scratch .sb3 file to python code?
I have made a Scratch to Python converter, but it isn't released yet. I tried converting your project with it, but it freezes on a white screen. I guess I'll just add it to the todo list. 
The converter does work with a lot of projects, but it is still pretty buggy. On larger projects, particularly those I haven't spent time testing and debugging, those bugs can cause the project to not run.

The converter does work with a lot of projects, but it is still pretty buggy. On larger projects, particularly those I haven't spent time testing and debugging, those bugs can cause the project to not run.
Last edited by imfh (Sept. 16, 2021 22:23:33)
- mumu245
-
Scratcher
1000+ posts
Is it possible to convert a scratch .sb3 file to python code?
I am working on a converter.
- Ion_King1151
-
Scratcher
3 posts
Is it possible to convert a scratch .sb3 file to python code?
Thank you for helping me, but I just decided to start over and use python code to create a new game (exactly the same), and it will be much easier and quicker than before, as I still have the code, and it will be easy to edit. If you wish to try this new version, you can click this link. Thank you for your helpful comments! https://ionking1151.itch.io/mars
- TurtleLegos
-
Scratcher
1000+ posts
Is it possible to convert a scratch .sb3 file to python code?
Im not sureUsing leopard for javascript, yes.
You might be able to convert it to javascript then to python.
- ADHYAYAN12345
-
Scratcher
2 posts
Is it possible to convert a scratch .sb3 file to python code?
I want to know that how to covert sb3 to py
- ScolderCreations
-
Scratcher
1000+ posts
Is it possible to convert a scratch .sb3 file to python code?
I want to know that how to covert sb3 to pyYou can't do that directly, that's like converting an audio file to a GIF. Python files are source code, while an SB3 file is just a zipped folder.
- Jose_Pablo50
-
Scratcher
19 posts
Is it possible to convert a scratch .sb3 file to python code?
I've been working on a game called Mars for a very long time, (little less than a year maybe) and I'm finally ready to move on to python code, but I want to continue to update Mars. Is it possible to convert it?i think you might be able to transform it to javascript someway with turbowarp? like another person said: try converting it to javascript and then to python. idk if leopard is faster than turbowarp
- Epopo11
-
Scratcher
32 posts
Is it possible to convert a scratch .sb3 file to python code?
You can convert a .sb3 file to .exe and .json but in python I don't think this is possible…
- dariancar6
-
Scratcher
1 post
Is it possible to convert a scratch .sb3 file to python code?
.
Last edited by dariancar6 (March 6, 2022 02:55:29)
- hacktronics
-
Scratcher
100+ posts
Is it possible to convert a scratch .sb3 file to python code?
I'm finally ready to move on to python codeIf the goal is to learn Python, IMHO converting sb3 to py may not be the best option. Honestly none of the software are matured enough and are all experimental, and I can't recommend them for beginners. To learn Python there are better alternatives out there, like turtle programming, etc.
If you want to control sprites using Python check these videos: https://youtu.be/O6Jib13pWKg, https://youtu.be/QjvLRmtnVZg, may be that's what you are looking.
- jjbui
-
Scratcher
100+ posts
Is it possible to convert a scratch .sb3 file to python code?
javascript to rust?
- sane4ka09
-
Scratcher
1 post
Is it possible to convert a scratch .sb3 file to python code?
Для начала вам нужно переформатировать ваш sb3 в electron или zip в packager.turbowarp.org, а потом скачать pip installer для python, я еще думаю на эту тему
- Discussion Forums
- » Questions about Scratch
-
» Is it possible to convert a scratch .sb3 file to python code?