the general development using Python

2013-07-08 Thread ajetrumpet
all,

I am unhappy with the general Python documentation and tutorials.  I have 
worked with Python very little and I'm well aware of the fact that it is a 
lower-level language that integrates with the shell.

I came from a VB legacy background and I've already "un-learned" everything 
that I need to (I know, that language stinks, and isn't OOP or even useful!).

I have to get back into writing Python but I'm lacking one thing ... a general 
understanding of how to write applications that can be deployed (either in .exe 
format or in other formats).

So my issue is basically to understand how to go about writing programs and 
compiling them so they can be deployed to less tech-savvy people.  Here's what 
I think I have to do, in a general sense:

=> Pick a GUI and just run through the tutorials to learn the interfaces as 
fast as possible.

This is all fine and dandy, but more than likely when I do this the people that 
I am sending solutions to will, if not receiving a simple .exe file, receive 
the package from me and say to themselves "what in the world do I do with 
this!?"

Is there anyway you guys would suggest that I fix this or help them deal with 
complex languages like Python and programs written with it?

thanks guys.
-- 
http://mail.python.org/mailman/listinfo/python-list


indentation blocking in Python

2013-10-27 Thread ajetrumpet
hello all,

This has got me a tad bit confused I think.  I am running 3.3.0 and I know that 
Python looks to group code together that is supposed to be in the same block.  
But the question is, where are the rules for this?  For instance, if I type the 
following in a PY file, it errors out and I don't see the DOS window with the 
output in Vista:

a=1;
   if a==1: print(1)
   else: print(0)
wait = input("press key")

However, if I don't indent anything at all, it works!

a=1;
if a==1: print(1)
else: print(0)
wait = input("press key")

Can someone offer just a little explanation for this?  'IF' and 'ELSE' are 
obviously in the same code block.  Are they not?  Maybe it's not so obvious.  
Thanks.
-- 
https://mail.python.org/mailman/listinfo/python-list