Platinum Partner

Common Directory Tasks


>>> import os
>>> os.getcwd()
'C:\\lang\\python23'
>>> os.listdir('C:/lang')
['editplus', 'python23', 'perl', 'ironpy', 'java142', 'processing']
>>> os.chdir('C:/')
>>>

This is eqivalent to common task on command line
- Show current directory
- List content in a directory
- Change directory
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}