os.system( 'python metrites.py > htmltemp' )
                f = open( htmltemp )
                htmldata = f.read()     

gives:

f undefined, builtin open = <built-in function open>, temp = 
'/home/nikos/www/data/private/htmltemp'
<type 'exceptions.IOError'>: [Errno 2] ��� ������� ������ ������ � ���������: 
'/home/nikos/www/data/private/htmltemp' 
      args = (2, '\xc4\xe5\xed \xf5\xf0\xdc\xf1\xf7\xe5\xe9 
\xf4\xdd\xf4\xef\xe9\xef \xe1\xf1\xf7\xe5\xdf\xef \xde 
\xea\xe1\xf4\xdc\xeb\xef\xe3\xef\xf2') 
      errno = 2 
      filename = '/home/nikos/www/data/private/htmltemp' 
      message = '' 
      strerror = '\xc4\xe5\xed \xf5\xf0\xdc\xf1\xf7\xe5\xe9 
\xf4\xdd\xf4\xef\xe9\xef \xe1\xf1\xf7\xe5\xdf\xef \xde 
\xea\xe1\xf4\xdc\xeb\xef\xe3\xef\xf2'

Very weird!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to