Thanks, Alan. Very helpful; tho' I probably need to gigest Steven's
information before I fully digest yours.
On Tuesday 23 August 2011 01:15:52 Alan Gauld wrote:
> So sub-routine comers from the world of assembler programming and was
> adopted by BASIC because BASIC was invented back in the 1960
On 22/08/11 18:38, Lisi wrote:
technical terms. I am still very confused by the terminology. Having been
told that modules, functions and methods are just different names for the
same thing, that commands are really also the same thing and having had them
called yet a fifth thing in order "not
Thanks, Steven, for an extremely helpful email. I _think_ that I have now
grasped it; tho' teh proof of teh pudding is in the eating. :-/
On Monday 22 August 2011 19:55:02 Steven D'Aprano wrote:
> Lisi wrote:
[snip]
> Are you using Windows or Linux or Mac?
Linux Debian 6.
> On my Linux
Lisi wrote:
By "envelope" I meant container, because I was afraid of misusing the correct
technical terms. I am still very confused by the terminology. Having been
told that modules, functions and methods are just different names for the
same thing, that commands are really also the same thi
On Monday 22 August 2011 17:31:41 Alan Gauld wrote:
> Now I'm confused.
Yes, I'm afraid that _I_ was very confused. I am gradually getting the mess
in my head disentangled.
> There can be functions inside a module but not commands, they are
> technically something different and only exist withi
On 22/08/11 14:45, Lisi wrote:
I don't understand what you mean by "modules within it".
The problem may be that I have again failed to understand.
As I understand it, I can, should I wish to do so, write and save a subroutine
that I wish to reuse rather than write the same subroutine out mult
On Monday 22 August 2011 15:09:45 Emile van Sebille wrote:
> Actually, sys retains a reference to all imported modules in sys.modules
> and that gives a pretty good idea of where stuff comes from(tm). :)
[snip interesting file]
Thanks, Emile. :-)
Lisi
___
On 8/22/2011 6:45 AM Lisi said...
On Monday 22 August 2011 00:13:37 Steven D'Aprano wrote:
The modules within it must surely be somewhere too. But since I can't
find sys, I obviously can't find the modules. Again, I'd like to look at
them.
I don't understand what you mean by "modules within
On Monday 22 August 2011 00:13:37 Steven D'Aprano wrote:
> > The modules within it must surely be somewhere too. But since I can't
> > find sys, I obviously can't find the modules. Again, I'd like to look at
> > them.
>
> I don't understand what you mean by "modules within it".
The problem may b
Lisi wrote:
If sys.py is a file, it must be somewhere; but I can't find it. Where is it?
I would like to look at it.
Others have already answered this, but consider how you might explore
the answer at the interactive interpreter:
>>> import os
>>> os.__file__
'/usr/lib/python2.5/os.pyc'
>>
On 8/21/2011 4:57 AM Lisi said...
If sys.py is a file, it must be somewhere; but I can't find it. Where is it?
I would like to look at it.
The modules within it must surely be somewhere too. But since I can't find
sys, I obviously can't find the modules. Again, I'd like to look at them.
In c
On Sunday 21 August 2011 12:57:50 Lisi wrote:
> If sys.py is a file, it must be somewhere; but I can't find it. Where is
> it? I would like to look at it.
>
> The modules within it must surely be somewhere too. But since I can't find
> sys, I obviously can't find the modules. Again, I'd like to
On Sunday 2011 August 21 04:57, Lisi wrote:
> If sys.py is a file, it must be somewhere; but I can't find it. Where is
> it? I would like to look at it.
>
> The modules within it must surely be somewhere too. But since I can't find
> sys, I obviously can't find the modules. Again, I'd like to lo
Lisi wrote:
> If sys.py is a file, it must be somewhere; but I can't find it. Where is
> it? I would like to look at it.
You are out of luck, there is no sys.py. The sys module is so tightly
integrated that Python cannot run without it; it has to be part of the
interpreter and is written in C.
> -Original Message-
> From: tutor-bounces+bermanrl=cfl.rr@python.org [mailto:tutor-
> bounces+bermanrl=cfl.rr@python.org] On Behalf Of Lisi
> Sent: Sunday, August 21, 2011 7:58 AM
> To: tutor@python.org
> Subject: [Tutor] Where is sys.py?
>
> If sys.
If sys.py is a file, it must be somewhere; but I can't find it. Where is it?
I would like to look at it.
The modules within it must surely be somewhere too. But since I can't find
sys, I obviously can't find the modules. Again, I'd like to look at them.
In case it is relevant, I am using Py
16 matches
Mail list logo