Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

sage: os.environ['MYVAR'] '/home' sage: os.path.isdir(os.environ['MYVAR']) True

sage: os.environ['MYVAR'] '/home' os.environ['MYVAR']
'/home'
sage: os.path.isdir(os.environ['MYVAR']) Trueos.path.isdir(os.environ['MYVAR'])
True