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
On Jul 28, 9:54 am, Hussein B [EMAIL PROTECTED] 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?
An importable or runable (i.e. script) collection of
On Jul 28, 6:55 am, Floris Bruynooghe [EMAIL PROTECTED]
wrote:
On Jul 28, 9:54 am, Hussein B [EMAIL PROTECTED] 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
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?
Read the docs:
Hussein B [EMAIL PROTECTED] wrote:
If I have a couple of modules, is there a way to package them? or
there is no such a thing in Python?
It sounds rather as though you haven't yet gone through the Python
tutorial. You really should read it, even if you just skim through it to
see what
On Jul 28, 4:54 am, Hussein B [EMAIL PROTECTED] 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?
I'm new
On Jul 28, 8:11 am, Duncan Booth [EMAIL PROTECTED] wrote:
Hussein B [EMAIL PROTECTED] wrote:
If I have a couple of modules, is there a way to package them? or
there is no such a thing in Python?
It sounds rather as though you haven't yet gone through the Python
tutorial. You really should
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
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.