Re: [Tutor] Creating a closed source application in Python?

2007-05-28 Thread Alan Gauld
"Alan Gauld" <[EMAIL PROTECTED]> wrote > use Jython and compile to JVM code which is easily reverse > engineered into Jaba, but not so easily into Python! Erm, that would of course be Java and nothing to do with Star Wars, no matter how much I may dislike Java! :-) Alan G. _

Re: [Tutor] Beginners

2007-05-28 Thread Philippe Grand'Maison
Hi ! I've noticed I'm not the only total newbie around. I would suggest reading 'Beginning Python: from Novice to Professional'. It's available on the Net (somewhere in the python.org beginners forums). This book may be for beginners, but doesn't assume you're a moron. The author is very clear, pro

Re: [Tutor] trouble with indents

2007-05-28 Thread Daniel McQuay
I would recomend you take a look at Alan Gauld's tutor. That is what got me started and I was able to catch on fairly quick even with little to no programming experience. http://www.freenetpages.co.uk/hp/alan.gauld On 5/28/07, Alan Gauld <[EMAIL PROTECTED]> wrote: "adam urbas" <[EMAIL PROTECT

Re: [Tutor] Creating a closed source application in Python?

2007-05-28 Thread Bob Gailer
Alan Gauld wrote: > Most commercial mainframe programs are 'closed source' > but they include a source code listing so that the > operations teams can figfure out whats going wrong in > the event of an abend (ABnormal END - mainframe speak > for a crash!) > Ah that brings back fond memories. In

Re: [Tutor] Creating a closed source application in Python?

2007-05-28 Thread Alan Gauld
"Sophie Marston" <[EMAIL PROTECTED]> wrote > Is it possible to create a closed source project in Python? Like in > C++ > or something, where they can't view your code? Partially. It is usually possible to reverse engineer the code but it won''t look as pretty as the original nor will it necessa

Re: [Tutor] trouble with "if"

2007-05-28 Thread Thorsten Kampe
* Rikard Bosnjakovic (Mon, 28 May 2007 17:55:42 +0200) > On 5/28/07, Thorsten Kampe <[EMAIL PROTECTED]> wrote: > > Do you really think someone can or will read what you wrote? I've > > never seen something so horribly formatted like you emails - and I've > > seen lots of awful formatted emails... >

Re: [Tutor] trouble with "if"

2007-05-28 Thread Rikard Bosnjakovic
On 5/28/07, Thorsten Kampe <[EMAIL PROTECTED]> wrote: > Do you really think someone can or will read what you wrote? I've > never seen something so horribly formatted like you emails - and I've > seen lots of awful formatted emails... Looks fine at my end. -- - Rikard - http://bos.hack.org/cv/

Re: [Tutor] Creating a closed source application in Python?

2007-05-28 Thread Thorsten Kampe
* Sophie Marston (Mon, 28 May 2007 09:56:45 +0100) > Is it possible to create a closed source project in Python? Like in C++ > or something, where they can't view your code? Google for "Python code obfuscation" (web and comp.lang.python) Thorsten ___

[Tutor] Creating a closed source application in Python?

2007-05-28 Thread Sophie Marston
Is it possible to create a closed source project in Python? Like in C++ or something, where they can't view your code? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] trouble with "if"

2007-05-28 Thread Kent Johnson
adam urbas wrote: > Very frustrating. What is a non-int and what is 'str'? Why can't it > multiply the sequence? I guess I should include the program I'm using > for these things. These are more examples of the same kinds of errors you have been having. Values in Python have a type. Some ex

Re: [Tutor] trouble with "if"

2007-05-28 Thread Thorsten Kampe
* adam urbas (Sun, 27 May 2007 23:42:01 -0500) > You don't know what a Ti 83 is. Calculator. The most basic programming > available. It already has so many functions built into it that it is much > easier to tell it to do things. You don't have to do all this integer > conversion and such wh

Re: [Tutor] square root

2007-05-28 Thread Alan Gauld
"adam urbas" <[EMAIL PROTECTED]> wrote > Hi all,I was just wondering how I would go about > performing a square root thing, for my radiacir.py program. There is a sqrt function in the math module. import math print math.sqrt(9) Math has a lot of other common mathematical functions in it too

Re: [Tutor] trouble with indents

2007-05-28 Thread Alan Gauld
"adam urbas" <[EMAIL PROTECTED]> wrote in > I'm not sure when to indent. I understand that it has to be done. Ok, But you need to understand *why* it has to be done. To do that you need to understand the basic constructs of programming: sequences, branches, loops and modules. (these are descri