Python Module os: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://docs.python.org/3/library/os.html#module-os =Internal= * Python Language Modularization =Overview=")
 
Line 5: Line 5:


=Overview=
=Overview=
=Environment Variables=
<syntaxhighlight lang='python'>
import os
print(os.environ.get('HOME'))
</syntaxhighlight>

Revision as of 23:02, 13 January 2022

External

Internal

Overview

Environment Variables

import os

print(os.environ.get('HOME'))