Newbie question

Ashley ashleylloyd at hotmail.com
Wed Jan 7 15:03:22 EST 2004


You will no doubt get many better replies than mine, since I'm very much a
newbie here, but here goes:

With many programming languages, you are correct - you write the code, and
compile it, which gives you an executable which you can then run
independently.

With Python, the language is interpreted, not compiled. Slightly different,
and I don't pretend to know everything about the difference. However, you
will need python installed to run any of the code you write. Then it depends
how the code is written. If you write a module with a mind to it being used
like an executable (this will make more sense when you start coding), then
it pretty much can be used as one. If python is installed properly, and you
double click (assuming you're using Windows) on yourModuleName.py, then
python will try to run it. Python can be downloaded from
http://www.python.org/download/

I know this isn't much, and like I say more people will probably give more
comprehensive answers - and no doubt correct my mistakes, but as a basic
start I hope it helps.

Cheers

Ashley
----- Original Message ----- 
From: "Paul Mcshane" <mcshane7 at blueyonder.co.uk>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Wednesday, January 07, 2004 4:42 PM
Subject: Newbie question


> I havn't got a clue what I'm doing so don't treat me like I'm stupid even
> though I am compared to all of you. What is the basics to programming, you
> write the code and compile it? I know a few useless web languages so they
> should come in handy on my way. So you need a compiler to compile your
code
> unless you can do it yourself? Once the program is compiled you can run it
> as a normal executable?
>  Any answers are appreciated, I just wanna get to know what I'm doing
before
> I start to learn anything.
>  Thanks again,
>              Paul Mc.
>
>
> -- 
> http://mail.python.org/mailman/listinfo/python-list
>




More information about the Python-list mailing list