Scratch Forums

You are not logged in.

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

Greatdane
Member
Registered: 2007-06-05
Posts: 625

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


http://tinyurl.com/sigggg
Happy Holiday Season!http://tinyurl.com/sntsmly | Buy Some Presents  big_smile  | Roast a Turkey  tongue

Offline

 

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

Magnie
Member
Registered: 2007-12-12
Posts: 1730

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
Member
Registered: 2008-03-20
Posts: 1120

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://tinyurl.com/mgamesf                                                    ^Click to see our website.^                                                             http://img12.imageshack.us/img12/9985/tef.gif

Offline

 

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

Greatdane
Member
Registered: 2007-06-05
Posts: 625

Re: Emerald

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


http://tinyurl.com/sigggg
Happy Holiday Season!http://tinyurl.com/sntsmly | Buy Some Presents  big_smile  | Roast a Turkey  tongue

Offline

 

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

gershmer
Member
Registered: 2009-02-12
Posts: 337

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?


http://img510.imageshack.us/img510/4220/ubda5239.gif
http://img204.imageshack.us/img204/626/ubda5950.gif

Offline

 

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

Greatdane
Member
Registered: 2007-06-05
Posts: 625

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?


http://tinyurl.com/sigggg
Happy Holiday Season!http://tinyurl.com/sntsmly | Buy Some Presents  big_smile  | Roast a Turkey  tongue

Offline

 

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

gershmer
Member
Registered: 2009-02-12
Posts: 337

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)


http://img510.imageshack.us/img510/4220/ubda5239.gif
http://img204.imageshack.us/img204/626/ubda5950.gif

Offline

 

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

Greatdane
Member
Registered: 2007-06-05
Posts: 625

Re: Emerald

They don't run on their own.


http://tinyurl.com/sigggg
Happy Holiday Season!http://tinyurl.com/sntsmly | Buy Some Presents  big_smile  | Roast a Turkey  tongue

Offline

 

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

gershmer
Member
Registered: 2009-02-12
Posts: 337

Re: Emerald

Greatdane wrote:

They don't run on their own.

What do they require?


http://img510.imageshack.us/img510/4220/ubda5239.gif
http://img204.imageshack.us/img204/626/ubda5950.gif

Offline

 

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

Magnie
Member
Registered: 2007-12-12
Posts: 1730

Re: Emerald

Would you just Upload them?!?!?!

Offline

 

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

gershmer
Member
Registered: 2009-02-12
Posts: 337

Re: Emerald

Magnie wrote:

Would you just Upload them?!?!?!

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


http://img510.imageshack.us/img510/4220/ubda5239.gif
http://img204.imageshack.us/img204/626/ubda5950.gif

Offline

 

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

Magnie
Member
Registered: 2007-12-12
Posts: 1730

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
Member
Registered: 2007-06-05
Posts: 625

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)


http://tinyurl.com/sigggg
Happy Holiday Season!http://tinyurl.com/sntsmly | Buy Some Presents  big_smile  | Roast a Turkey  tongue

Offline

 

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

gershmer
Member
Registered: 2009-02-12
Posts: 337

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)


http://img510.imageshack.us/img510/4220/ubda5239.gif
http://img204.imageshack.us/img204/626/ubda5950.gif

Offline

 

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

cds56
Member
Registered: 2008-05-02
Posts: 207

Re: Emerald

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

cool.
i mite take a look at it


The world IS flat, don't listen do those "round-earthers"

Offline

 

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

gershmer
Member
Registered: 2009-02-12
Posts: 337

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)


http://img510.imageshack.us/img510/4220/ubda5239.gif
http://img204.imageshack.us/img204/626/ubda5950.gif

Offline

 

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

Greatdane
Member
Registered: 2007-06-05
Posts: 625

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)


http://tinyurl.com/sigggg
Happy Holiday Season!http://tinyurl.com/sntsmly | Buy Some Presents  big_smile  | Roast a Turkey  tongue

Offline

 

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

Greatdane
Member
Registered: 2007-06-05
Posts: 625

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)


http://tinyurl.com/sigggg
Happy Holiday Season!http://tinyurl.com/sntsmly | Buy Some Presents  big_smile  | Roast a Turkey  tongue

Offline

 

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

gershmer
Member
Registered: 2009-02-12
Posts: 337

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.


http://img510.imageshack.us/img510/4220/ubda5239.gif
http://img204.imageshack.us/img204/626/ubda5950.gif

Offline

 

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

songhead95
Member
Registered: 2008-03-19
Posts: 167

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)


Hello there

Offline

 

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

Greatdane
Member
Registered: 2007-06-05
Posts: 625

Re: Emerald

Does it work yet, gershmer?


http://tinyurl.com/sigggg
Happy Holiday Season!http://tinyurl.com/sntsmly | Buy Some Presents  big_smile  | Roast a Turkey  tongue

Offline

 

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

Magnie
Member
Registered: 2007-12-12
Posts: 1730

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
Member
Registered: 2008-03-20
Posts: 1120

Re: Emerald

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


http://tinyurl.com/mgamesf                                                    ^Click to see our website.^                                                             http://img12.imageshack.us/img12/9985/tef.gif

Offline

 

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

Magnie
Member
Registered: 2007-12-12
Posts: 1730

Offline

 

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

gershmer
Member
Registered: 2009-02-12
Posts: 337

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.


http://img510.imageshack.us/img510/4220/ubda5239.gif
http://img204.imageshack.us/img204/626/ubda5950.gif

Offline

 

Board footer