Show More
@@ -212,12 +212,14 b' class OSMagics(Magics):' | |||
|
212 | 212 | # write the whole loop for posix/Windows so we don't have an if in |
|
213 | 213 | # the innermost part |
|
214 | 214 | if self.is_posix: |
|
215 | print(path) | |
|
215 | 216 | for pdir in path: |
|
216 | 217 | try: |
|
217 | 218 | os.chdir(pdir) |
|
218 | 219 | except OSError: |
|
219 | 220 | continue |
|
220 |
|
|
|
221 | dirlist = os.scandir(path=pdir) | |
|
222 | #with os.scandir(pdir) as dirlist: | |
|
221 | 223 |
|
|
222 | 224 |
|
|
223 | 225 |
|
General Comments 0
You need to be logged in to leave comments.
Login now