Problem with os.system()

Peter Hansen peter at engcorp.com
Sat Sep 29 00:11:56 EDT 2001


Emile van Sebille wrote:
> ---------
> "Janos Blazi" <jblazi at hotmail.com> wrote in message
> news:3bb47fd9_8 at news.newsgroups.com...
> > I have the following code:
> >
> >
> >
> >
> >
> 
> Well I don't see any bugs in it.  ;-))

True... but it doesn't have adequate documentation.  And
it's questionable whether it follows anyone's coding standard.

I tried importing it (as a file called temp.py) and it
didn't generate any errors, however, so I guess you're right.

>>> import temp
>>> dir(temp)
['__builtins__', '__doc__', '__file__', '__name__']
>>> print temp.__file__
temp.pyc
>>>

It compiled to an 80 byte .pyc file...

This is terrible!  The ratio of code size to functionality
is incredibly high!  Worse than VB code.  I'm switching back
to BCPL.

--PLH



More information about the Python-list mailing list