get directory listing in python
From thelinuxwiki
Revision as of 16:28, 12 April 2013 by
Nighthawk
(
Talk
|
contribs
)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to:
navigation
,
search
list directory contents
>>>import os >>>os.listdir('.')
Category
:
python
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
Actions
Search
Navigation
Main page
Recent changes
Random page
Tools
What links here
Related changes
Special pages
Permanent link
Page information