mirror of
https://github.com/chubin/cheat.sh.git
synced 2025-01-05 20:04:38 +03:00
tests/results/9: section must be specified explicitly
This commit is contained in:
parent
884161c4c7
commit
dd09537378
@ -1,16 +1,7 @@
|
||||
[38;5;246m# How do I copy a file in Python?[39m
|
||||
[38;5;246m# [39m
|
||||
[38;5;246m# shutil (http://docs.python.org/2/library/shutil.html) has many methods[39m
|
||||
[38;5;246m# you can use. One of which is:[39m
|
||||
Unknown topic.
|
||||
Do you mean one of these topics maybe?
|
||||
|
||||
[38;5;70;01mfrom[39;00m[38;5;252m [39m[38;5;68;04mshutil[39;00m[38;5;252m [39m[38;5;70;01mimport[39;00m[38;5;252m [39m[38;5;252mcopyfile[39m
|
||||
|
||||
[38;5;252mcopyfile[39m[38;5;252m([39m[38;5;252msrc[39m[38;5;252m,[39m[38;5;252m [39m[38;5;252mdst[39m[38;5;252m)[39m
|
||||
|
||||
[38;5;246m# Copy the contents of the file named src to a file named dst. The[39m
|
||||
[38;5;246m# destination location must be writable; otherwise, an IOError exception[39m
|
||||
[38;5;246m# will be raised. If dst already exists, it will be replaced. Special[39m
|
||||
[38;5;246m# files such as character or block devices and pipes cannot be copied[39m
|
||||
[38;5;246m# with this function. src and dst are path names given as strings.[39m
|
||||
[38;5;246m# [39m
|
||||
[38;5;246m# [Swati] [so/q/123198] [cc by-sa 3.0][39m
|
||||
* python/:learn 69
|
||||
* python/Classes 67
|
||||
* python/Modules 67
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user