[r...@centos-14 cgi-bin]# ./x.pyc : command not found ./x.pyc: line 2: syntax error near unexpected token `)' ./x.pyc: line 2: `��)l...@sdghdghdkzeighds(sContent-Type:text/html' [r...@centos-14 cgi-bin]# python x.pyc Content-Type:text/html
python 2.4.3 (#1, Sep 3 2009, 15:37:12) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] -------------------------------------------------------------------------------------------- x.py dosya içeriği: #!/usr/bin/env python print "Content-Type:text/html\n\n" print "python" import sys print sys.version -------------------------------------------------------------------------------------------- Yukarıdaki hatayı açıklayabilecek olan var mı? her iki dosya chmod 755, py_compilefiles ile derlenmişi de python ile import edilmişi de aynı hatayı veriyor. sistem: centos 5.4 32bit PATH ile ilgli bir sorun sanırım.
_______________________________________________ Linux-programlama mailing list [email protected] https://liste.linux.org.tr/mailman/listinfo/linux-programlama Liste kurallari: http://liste.linux.org.tr/kurallar.php
