faqts : Computers : Programming : Languages : Python

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 1 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

get directory

Jul 19th, 2007 17:23
Reed O'Brien, mb fergs,


import os
dir = os.getcwd()
or as unicode 
os.getcwdu()