Created
June 15, 2017 17:40
-
-
Save tjgordon/7ff2618193c8ebcf47dc6766a940f287 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tgordon@VP11]~% python | |
Python 2.7.13 (default, May 10 2017, 20:04:28) | |
[GCC 6.3.1 20161221 (Red Hat 6.3.1-1)] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> os.path.join(os.path.expanduser("~"), '.config', 'tapioca') | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
NameError: name 'os' is not defined | |
>>> import os | |
>>> os.path.join(os.path.expanduser("~"), '.config', 'tapioca') | |
'/home/tgordon/.config/tapioca' | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment