mirror of
https://github.com/rasbt/python_reference.git
synced 2024-11-23 20:11:13 +00:00
Update file_browsing.py
This commit is contained in:
parent
87dcbfe7f3
commit
01af8c0a81
|
@ -13,7 +13,7 @@ os.chdir('~/Data') # change working directory
|
|||
|
||||
|
||||
# get all files in a directory
|
||||
>>> glob.glob('/Users/sebastian/Desktop/*')
|
||||
glob.glob('/Users/sebastian/Desktop/*')
|
||||
|
||||
# e.g., ['/Users/sebastian/Desktop/untitled folder', '/Users/sebastian/Desktop/Untitled.txt']
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user