[Tutor] Creating Standalone Executables
Hi. Is there a way to create a user friendly, with a simple GUI, *.py executable? The packages I've been trying create executables for doscmd that doesn't wait for the user to input the required values. Let me explain: What I'm trying to publish is one single script with various subscripts defined by functions, so I would end with one single py file, and when the user opens it, it has to enter a command to acess one of its features. However, The doscmd version of python doesn't waits for the users' response, it just terminates the script. So, I'd like some information on how to create a simple executable that allows the user to choose the subscripts he/she wants to run. It doesn't really need to have a GUI, but something rather than doscmd, if possible... Thanks in advance. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
[Tutor] Beginner in need
Hi. Just started on programming, as well on Python. I'm having a little problem: What's the difference between: > > ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Beginner in need
Sorry... forgot to add the code... 2008/2/11, Artur Sousa <[EMAIL PROTECTED]>: > > > Hi. Just started on programming, as well on Python. I'm having a little > problem: > What's the difference between: > for n in range(2, 10): for x in range(2, n): if n % x == 0: print n, 'equals', x, '*', n/x break else: # loop fell through without finding a factor print n, 'is a prime number' and for a in range(2, 10): for n in range(2, a): if a % n ==0: print a, 'equals', n, '*', a/n break else: print a, 'is a prime number' each of the first spaces should be a "Tab". -- Sorry for any inconvenience... ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor