executable?(the application does not run)
If anyone knows please let me know.
Thanks, Gordon
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
well worth it. For me the overhead is negligible - especially so if
you put some Javascript/Jinja/etc/etc into the mix. Jetbrain's plugins
and integration for almost anything under the sun are just amazing.
For everything else it's vim I use.
--
Best regards,
/Gordon Schulz @azmd
___
Could someone please point me to resources that would
help me learn to pipe keyboard input for commands to a Tkinter GUI, and then
to automate saving a screen shot of the resulting GUI display? Is this even
possible?
I'm trying to automate regression testing of a simple Tkinter GUI. I'd like
to
Try Komodo Edit from ActiveState. It's free (as in beer), it's
cross-platform, and it's pretty darn good. I haven't used it on Linux
myself, but it does have a Linux download.
If being closed-source bothers you, Eclipse+PyDev might be your best option.
scott wrote:
> Hi,
>
> I have been
wrote:
> That is helpful. Thank you.
>
> Can you tell me how to convert a script to a .pyc file?
>
> Rafael
> On Jun 8, 2007, at 1:49 AM, Gordon wrote:
>
>> I have no experience with EasyGUI, but to answer your other question,
>> you do not "compile" Python i
I have no experience with EasyGUI, but to answer your other question,
you do not "compile" Python in the way you compile C or Java.
Python can be compiled into a .pyc file, which is slightly faster to
start running and obfuscates the source, but it doesn't really do much,
practically. You can
self.guess overwrites itself, that's a live you commented on.
And why it doesn't display the game over message is you do the "game
over" check before you do the "is this correct?" check, but don't check
to see if the game is over before the 2nd check.
If that didn't make sense, psudocode:
if c
This is my first time replying to the list, so excuse me if this goes
out wrong.
Anyhow, you're looking for sys.agrv. sys.agrv is a list of the
arguments, with sys.agrv[0] being the script name.
Code:
##
import sys #sys.argv is part of the sys module
def add_two_numbers(a, b):
x =
agreed. if you plan on programming in a few different languages, i
would suggest picking up vim, emacs, or another multi-language
environment. you can get a plugin (at least for emacs) that highlights
syntax, indents, etc.
- matt
On 11/13/06, Mike Hansen <[EMAIL PROTECTED]> wrote:
>
>
> > -O