[Gllug] Python help?

Doug Winter doug at pigeonhold.com
Wed Jul 21 17:39:06 UTC 2004


On Wed 21 Jul John Hearns wrote:
> Traceback (most recent call last):
>   File "/usr/local/Cluster-Apps/link-checker/lc.py", line 7, in ?
>     from __future__ import generators

if you run your python2.2 interactively, can you import from normal
python libraries than __future__?  i.e.

doug at jarlsberg:~$ python
Python 2.3.4 (#2, Jul  6 2004, 00:51:58)
[GCC 3.3.4 (Debian 1:3.3.4-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import random
>>> from random import Random
>>> Random()
<random.Random object at 0x6865d0>
>>>

d.

-- 
  http://adju.st/   | "If you want to know about governments, 
6973E2CF: 2C95 66AD |  all you have to know is two words:
1596 37D2 41FC 609F |  Governments lie." -- I. F. Stone
76C0 A4EC 6973 E2CF |
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list