Message3371
| Author |
hooft |
| Recipients |
| Date |
2001年02月15日.10:25:29 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
schol[53]:ccd>cat uss.py
import os,UserString
a=UserString.UserString('/etc/passwd')
print os.path.exists(a)
schol[54]:ccd>python uss.py
Traceback (most recent call last):
File "uss.py", line 5, in ?
print os.path.exists(a)
File "/usr/local/nonius/lib/python2.0/posixpath.py", line 166, in exists
st = os.stat(path)
TypeError: stat, argument 1: expected string, instance found
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 13:53:09 | admin | link | issue232493 messages |
| 2007年08月23日 13:53:09 | admin | create |
|