Module clarification

Themis Bourdenas bourdenas at gmail.com
Mon Jul 28 20:10:05 CEST 2008


I would recommend dive into python. Its available free online (just google
it) and it tries to teach you python, not programming which unfortunately
many books try to do. It assumes that you already have some experience with
C++ or Java and contradicts python syntax/semantics to those languages. Very
useful and fast if you already know how to program.

Cheers,
Themis

On Mon, Jul 28, 2008 at 6:57 PM, Marcus.CM <marcus at internetnowasp.net>wrote:

> Hi Hussein,
>
> Basically a module is a FILE and is considered as a singleton model. Yes ur
> wow.py assumption is correct.
> I recommend getting Mark Lutz Learning Python book to get you started.
>
> Marcus.CM
>
>
> Hussein B wrote:
>
>> Hi.
>> I'm a Java guy and I'm playing around Python these days...
>> In Java, we organize our classes into packages and then jarring the
>> packages into JAR files.
>> What are modules in Python?
>> What is the equivalent of modules in Java?
>> Please correct me if I'm wrong:
>> I saved my Python code under the file   Wow.py
>> Wow.py is now a module and I can use it in other Python code:
>> import Wow
>>
>> Thanks.
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>>
>>
>>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080728/9c78c9c0/attachment.html>


More information about the Python-list mailing list