Created
June 9, 2014 17:33
-
-
Save jnm/d2bcc6e3183255521020 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| $ mkdir /tmp/empty | |
| $ cd /tmp/empty | |
| $ ls -la | |
| total 8 | |
| drwxrwxr-x 2 john john 4096 jun 9 13:31 . | |
| drwxrwxrwt 11 root root 4096 jun 9 13:31 .. | |
| $ echo 'print "trololo"' > dumb.py | |
| $ python | |
| Python 2.7.5+ (default, Feb 27 2014, 19:37:08) | |
| [GCC 4.8.1] on linux2 | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| >>> import dumb | |
| trololo | |
| >>> | |
| $ ls -la | |
| total 16 | |
| drwxrwxr-x 2 john john 4096 jun 9 13:31 . | |
| drwxrwxrwt 11 root root 4096 jun 9 13:31 .. | |
| -rw-rw-r-- 1 john john 16 jun 9 13:31 dumb.py | |
| -rw-rw-r-- 1 john john 111 jun 9 13:31 dumb.pyc | |
| $ rm dumb.py | |
| $ ls -la | |
| total 12 | |
| drwxrwxr-x 2 john john 4096 jun 9 13:32 . | |
| drwxrwxrwt 11 root root 4096 jun 9 13:32 .. | |
| -rw-rw-r-- 1 john john 111 jun 9 13:31 dumb.pyc | |
| $ python | |
| Python 2.7.5+ (default, Feb 27 2014, 19:37:08) | |
| [GCC 4.8.1] on linux2 | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| >>> import dumb | |
| trololo | |
| >>> | |
| $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment