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

#451 2009-11-01 22:26:49

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Emerald

What do you mean? I don't know how to implement the code yet. For that, you need to parse.

Code:

When you parse, you compile code.
ask('Blah?')
command: ask
subcommand: none
parameters/arguments: 'Blah?'

So:
-----------------_[ ]X
|     Blah?         |
|      [OK]         |
------------------------
(Let's just pretend that's a window.)  smile


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#452 2009-11-02 08:10:50

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

*presses the [x] button*

Just put the item you made in Python put it in a .zip then upload it then let us download it, we don't want screen shots...


Marky: I changed your password, so if your Email is incorrect, I'll go change it (what do you want it changed to?) and re-Email you the new one.

Last edited by Magnie (2009-11-02 08:12:41)

Offline

 

#453 2009-11-02 11:08:19

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

Magnie wrote:

*presses the [x] button*

Just put the item you made in Python put it in a .zip then upload it then let us download it, we don't want screen shots...


Marky: I changed your password, so if your Email is incorrect, I'll go change it (what do you want it changed to?) and re-Email you the new one.

I sent you an email with the new email adress, i missed out dot between the main, and the me, it should be

[censored name]@chavfreezone.me.uk


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#454 2009-11-02 18:50:12

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Emerald

I don't know. It's just a dummy, but you can still input code(but not run it).


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#455 2009-11-02 19:26:07

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Greatdane wrote:

I don't know. It's just a dummy, but you can still input code(but not run it).

I can haz download to Python files?


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#456 2009-11-02 22:16:41

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Emerald

gershmer wrote:

Greatdane wrote:

I don't know. It's just a dummy, but you can still input code(but not run it).

I can haz download to Python files?

What? What do you mean?


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#457 2009-11-03 07:38:56

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Greatdane wrote:

gershmer wrote:

Greatdane wrote:

I don't know. It's just a dummy, but you can still input code(but not run it).

I can haz download to Python files?

What? What do you mean?

The dummy Python files. Can I have them?

Last edited by gershmer (2009-11-03 07:39:12)


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#458 2009-11-04 18:24:19

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Emerald

They don't run on their own.


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#459 2009-11-04 18:56:32

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Greatdane wrote:

They don't run on their own.

What do they require?


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#460 2009-11-04 19:22:21

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Would you just Upload them?!?!?!

Offline

 

#461 2009-11-04 19:24:15

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Magnie wrote:

Would you just Upload them?!?!?!

What I was thinking... why can't we just have them???


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#462 2009-11-04 19:41:28

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Forget about all the requirements.

By the way, we have 6000+ views.  big_smile

Offline

 

#463 2009-11-04 21:53:41

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Emerald

All right, all right!

Tips:
1. Extract into a new folder, then run 'emerald.py'. Make sure both folders are in the same file, no distractions.

2.'Run' does not do anything yet.
'Exit' does.

3. Type in, something like 'ask(blah)' and you'll see.

Have fun!  smile

Last edited by Greatdane (2009-11-04 21:56:15)


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#464 2009-11-05 07:42:56

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Thank you greatdane.


No on my Python computer, and I'm too lazy to install Python on it now, but I'll take a look at it later.  (w00t! the 464th post on this thread--the 463rd reply  smile  )

Last edited by gershmer (2009-11-05 07:43:40)


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#465 2009-11-05 14:59:35

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

Wow. That's kinda cool.
It's like BASIC.
Execpt it's not.

cool.
i mite take a look at it


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#466 2009-11-05 15:17:48

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

It crashes (doesn't open).

Error log:
Traceback (most recent call last):
  File "C:\Documents and Settings\The Kids\Desktop\Interface\emerald.py", line 1, in <module>
    from PythonCard import model
  File "C:\Python26\lib\site-packages\PythonCard\model.py", line 21, in <module>
    import wx
ImportError: No module named wx


I tried installing PythonCard 0.8.2 from the Win32 EXE, the install failed.

EDIT: Tried the ZIP file of 0.8.2, too, put it in C:/Python26/ manually, DID NOT WORK.

Last edited by gershmer (2009-11-05 15:22:09)


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#467 2009-11-05 19:48:05

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Emerald

You need wxpython.  sad  Google it and you'll find it and download it.

EXTRA:

There's something called py2exe that allows you to compile an application into a .EXE file so you don't need to install all that stuff.
(We can use in future emerald)

I TOLD YOU SO IT WAS JUST A DUMMY!  tongue

Last edited by Greatdane (2009-11-05 19:51:07)


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#468 2009-11-05 19:50:19

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Emerald

It crashes (doesn't open).

Error log:
Traceback (most recent call last):
  File "C:\Documents and Settings\The Kids\Desktop\Interface\emerald.py", line 1, in <module>
    from PythonCard import model
  File "C:\Python26\lib\site-packages\PythonCard\model.py", line 21, in <module>
    import wx
ImportError: No module named wx

I tried installing PythonCard 0.8.2 from the Win32 EXE, the install failed.

EDIT: Tried the ZIP file of 0.8.2, too, put it in C:/Python26/ manually, DID NOT WORK

You see? You could have figured out it in the error, but you aren't a full-fledged programmer, are you?

(Yay! 365th post! Get it? I registered almost three years ago on 06-05)

Last edited by Greatdane (2009-11-05 19:52:41)


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#469 2009-11-05 20:46:33

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Greatdane post 1 wrote:

It crashes (doesn't open).

Error log:
Traceback (most recent call last):
  File "C:\Documents and Settings\The Kids\Desktop\Interface\emerald.py", line 1, in <module>
    from PythonCard import model
  File "C:\Python26\lib\site-packages\PythonCard\model.py", line 21, in <module>
    import wx
ImportError: No module named wx

I tried installing PythonCard 0.8.2 from the Win32 EXE, the install failed.

EDIT: Tried the ZIP file of 0.8.2, too, put it in C:/Python26/ manually, DID NOT WORK

You see? You could have figured out it in the error, but you aren't a full-fledged programmer, are you?

(Yay! 365th post! Get it? I registered almost three years ago on 06-05)

Greatdane post 2 wrote:

You need wxpython.  sad  Google it and you'll find it and download it.

EXTRA:

There's something called py2exe that allows you to compile an application into a .EXE file so you don't need to install all that stuff.
(We can use in future emerald)

I TOLD YOU SO IT WAS JUST A DUMMY!  tongue

@Greatdane post 1
When did I say I was a programmer?

@Greatdane post 2
We looked at that, along with py2app, and pyinstaller, they're all too annoying.


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#470 2009-11-05 21:38:01

songhead95
Scratcher
Registered: 2008-03-19
Posts: 100+

Re: Emerald

I just learned (most of) python and it is so simple! The language is much easier than C or any other complex language like that. If there's anything I can do to help with Python, I'd love to contribute.
(PS I am on a mac)

Offline

 

#471 2009-11-05 22:21:32

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Emerald

Does it work yet, gershmer?


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#472 2009-11-05 22:48:07

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

songhead: We'd love to have you help program Emerald! If you can do the graphics, that would be great, as we really need them, please work it in tkinter or PyGame, as LiveWires and PythonCard is still in thinking.  wink

Offline

 

#473 2009-11-06 09:15:00

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

dum dum de dum de dum... im getting bored of doing nothing, anything you want me to do?!


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#474 2009-11-06 11:33:31

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Learn Python.  wink

Offline

 

#475 2009-11-06 14:45:37

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Greatdane wrote:

Does it work yet, gershmer?

Yes. But the way the error was worded DID make it sound like it wanted PythonCard, not wxPython.


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

Board footer