i can't use "from __future__ import ..." statement import two
statesments in the same time.
for the simple code:
from __future__ import with_statement, division
with file('url.txt','r') as f:
    for line in f:
        print line

it can't run until i change the first sentence to below
from __future__ import with_statement
from __future__ import division

why? python2.5/windows.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to