import syntax

Graham Ashton graham at coms.com
Fri Jul 6 06:09:27 EDT 2001


In article <mailman.994351509.21525.python-list at python.org>, "Andrew Todd"
<aetodd at wm.edu> wrote:

> This isn't terribly important, but wouldn't it be nice if you could do
> the following...
> 
> from module import a and b
> 
> instead of having to write...
> 
> from module import a
> from module import b

A bit like this then:

ratchet% python
Python 2.1 (#7, Jun 24 2001, 18:32:35) 
[GCC 2.95.2 20000220 (Debian GNU/Linux)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> from syslog import openlog, closelog
>>>



More information about the Python-list mailing list