File tree Expand file tree Collapse file tree 1 file changed +25
-10
lines changed Expand file tree Collapse file tree 1 file changed +25
-10
lines changed Original file line number Diff line number Diff line change 14
14
},
15
15
{
16
16
"cell_type" : " code" ,
17
- "execution_count" : null ,
17
+ "execution_count" : 7 ,
18
18
"metadata" : {},
19
19
"outputs" : [],
20
20
"source" : [
113
113
},
114
114
{
115
115
"cell_type" : " code" ,
116
- "execution_count" : null ,
116
+ "execution_count" : 8 ,
117
117
"metadata" : {},
118
118
"outputs" : [],
119
119
"source" : [
122
122
},
123
123
{
124
124
"cell_type" : " code" ,
125
- "execution_count" : null ,
126
- "metadata" : {},
127
- "outputs" : [],
125
+ "execution_count" : 9 ,
126
+ "metadata" : {},
127
+ "outputs" : [
128
+ {
129
+ "data" : {
130
+ "text/plain" : [
131
+ " ['03_exceptions.ipynb',\n " ,
132
+ " '03_files_open.ipynb',\n " ,
133
+ " '03_file_read_write.ipynb',\n " ,
134
+ " '03_os.ipynb',\n " ,
135
+ " '03_pathlib.ipynb',\n " ,
136
+ " '03_zip.ipynb']"
137
+ ]
138
+ },
139
+ "execution_count" : 9 ,
140
+ "metadata" : {},
141
+ "output_type" : " execute_result"
142
+ }
143
+ ],
128
144
"source" : [
129
145
" file_names"
130
146
]
131
147
},
132
148
{
133
149
"cell_type" : " code" ,
134
- "execution_count" : null ,
150
+ "execution_count" : 10 ,
135
151
"metadata" : {},
136
152
"outputs" : [],
137
153
"source" : [
152
168
},
153
169
{
154
170
"cell_type" : " code" ,
155
- "execution_count" : null ,
171
+ "execution_count" : 13 ,
156
172
"metadata" : {},
157
173
"outputs" : [],
158
174
"source" : [
159
175
" with zipfile.ZipFile('notebooks_compressed.zip', 'w', \n " ,
160
- " compression=zipfile.ZIP_DEFLATED,\n " ,
161
- " compresslevel=9) as zipobj:\n " ,
176
+ " compression=zipfile.ZIP_DEFLATED) as zipobj:\n " ,
162
177
" for name in file_names:\n " ,
163
178
" zipobj.write(name)"
164
179
]
165
180
},
166
181
{
167
182
"cell_type" : " code" ,
168
- "execution_count" : null ,
183
+ "execution_count" : 14 ,
169
184
"metadata" : {},
170
185
"outputs" : [],
171
186
"source" : [
You can’t perform that action at this time.
0 commit comments