|
|
|
|
 不好意思,拷贝文件夹下的内容出错了,怎么改呀 - happyhappy [ 2005-09-06 17:12 | 325 byte(s)]
 Re: 不好意思,拷贝文件夹下的内容出错了,怎么改呀 - rings [ 2005-09-06 17:24 | 107 byte(s)]
 Re: 不好意思,拷贝文件夹下的内容出错了,怎么改呀 - happyhappy [ 2005-09-06 17:27 | 323 byte(s)]
 Re: 不好意思,拷贝文件夹下的内容出错了,怎么改呀 - jhuangjiahua [ 2005-09-06 18:25 | 55 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
>>>import shutil
>>> copyfile('A/1/1/*,B/8-1/1/')
Traceback (most recent call last):
File "<pyshell#20>", line 1, in -toplevel-
copyfile('A/1/1/*,B/8-1/1/')
NameError: name 'copyfile' is not defined
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
试过了,提示下面的:
import shutil
shutil.copyfile('A/1/1/ ,B/8-1/1')
Traceback (most recent call last):
File "D:pythonCOPY-1.PY", line 2, in -toplevel-
shutil.copyfile('A/1/1/ ,B/8-1/1')
TypeError: copyfile() takes exactly 2 arguments (1 given)
|
|
|
[Original]
[Print]
[Top]
|
|
|