This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-04-18 21:26:53

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Python (or other lang.) coding

What it does: this idea will let you open up python or anything else and code in Scratch with it. Here is a good code:
PYTHON CODE:

Code:

#This thing opens up Scratch in a Python Based world.
Load Scratch.PY.image

So, Scratch files would have that for the popular coding (Squeak is already there!)

Code:

(The Scratch say _____ block) Scratchblock_say ('what ever you want')
(The Scratch ask block) Scratchblock_input (Question here) ('What do you want to do?')
(The answer block) Scratchblock_answer (display answer)

I may have used some fake, but it may be cool!
For the save in project in Python:

Code:

Scratch Save.sb ('Project name here')

You can still use the normal Scratch stuff, but this is Python stuff. Do you like it? Should we change it a little? You decide here!


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

#2 2011-04-19 00:12:53

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Python (or other lang.) coding

Isn't the point to make Scratch with Scratch?

Also, I don't think the Scratch Team would spend a whole bunch of time implementing this when less than 1/1000 of the community would use it...

Offline

 

#3 2011-04-19 00:23:28

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Python (or other lang.) coding

I don't really like this because it encourages people to not move on and I think that this would take time away from features that would make scratch better.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#4 2011-04-19 09:16:36

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Re: Python (or other lang.) coding

archmage wrote:

I don't really like this because it encourages people to not move on and I think that this would take time away from features that would make scratch better.

It is a suggestion. You don't have to be mean!!!!!!! I support this idea.

Offline

 

#5 2011-04-19 19:08:38

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Python (or other lang.) coding

thebuilderdd wrote:

archmage wrote:

I don't really like this because it encourages people to not move on and I think that this would take time away from features that would make scratch better.

It is a suggestion. You don't have to be mean!!!!!!! I support this idea.

Disagreeing isn't being mean. He makes a valid point. This seems like a relatively pointless idea. I know it would be cool, but other than that, there's no real reason for it, and the ST's time would be better spent on other things.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#6 2011-04-19 19:56:32

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Python (or other lang.) coding

I'm confused. Are you suggesting a Scratch-to-Python converter?


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#7 2011-04-19 21:33:16

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Re: Python (or other lang.) coding

fullmoon wrote:

I'm confused. Are you suggesting a Scratch-to-Python converter?

Yes.


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

#8 2011-04-20 04:46:48

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Python (or other lang.) coding

BuilderDD, stop supporting yourself
-bbbeb


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#9 2011-04-20 10:08:08

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Re: Python (or other lang.) coding

bbbeb wrote:

BuilderDD, stop supporting yourself
-bbbeb

I am just showing I am supporting because I made the topic!

Offline

 

#10 2011-04-20 10:09:18

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Re: Python (or other lang.) coding

archmage wrote:

I don't really like this because it encourages people to not move on and I think that this would take time away from features that would make scratch better.

This is moving on to a higher programming Lang.

Offline

 

#11 2011-04-20 16:12:47

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Python (or other lang.) coding

thebuilderdd wrote:

bbbeb wrote:

BuilderDD, stop supporting yourself
-bbbeb

I am just showing I am supporting because I made the topic!

Obviously.
Who would make a topic and NOT SUPPORT IT?


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#12 2011-04-20 18:54:51

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Python (or other lang.) coding

thebuilderdd wrote:

archmage wrote:

I don't really like this because it encourages people to not move on and I think that this would take time away from features that would make scratch better.

This is moving on to a higher programming Lang.

No, it's staying on Scratch while you convert it to python.

You don't do any python at all this way.

It's not moving on, it's deceiving yourself.

Also, if you wanted to do python, learn it, how hard is that?

Offline

 

Board footer