File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -11,20 +11,19 @@ Usage
11
11
12
12
zipping files and/or directories
13
13
--
14
- * Zippy's Zip takes the name of a .zip file to create.
15
- * The add_files method takes a list of files and/or directories.
16
- i.e.:
14
+ Zippy's Zip takes the name of a .zip file to create.
15
+ The add_files method takes a list of files and/or directories.
17
16
18
17
from zippy.zippy import Zip
19
18
Zip('name_of_zipfile.zip').add_files(['your_directory'])
20
19
Zip('name_of_other_zipfile.zip').add_files(['file3.txt'])
21
20
22
21
unzipping files
23
22
--
24
- * Zippy's Unzip takes the name of a .zip file to open.
25
- * The "contents" property returns a list of the .zip file's contents.
26
- * The to_path method takes the name of a path to extract the .zip file to. It returns
27
- True on success, False on failure.
23
+ Zippy's Unzip takes the name of a .zip file to open.
24
+ The "contents" property returns a list of the .zip file's contents.
25
+ The to_path method takes the name of a path to extract the .zip file to. It returns
26
+ True on success, False on failure.
28
27
i.e.:
29
28
30
29
from zippy.zippy import Unzip
You can’t perform that action at this time.
0 commit comments