Mac OS:
-bash: /Users/myRMBP/.bash_profile: line 5: `export path=${PATH}: <1> : <2>'
bogon:~ myRMBP$ python
Python 2.7.10 (v2.7.10:15c95b7d81dc, May 23 2015, 09:33:12)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> ^D
bogon:~ myRMBP$ python
Python 2.7.10 (v2.7.10:15c95b7d81dc, May 23 2015, 09:33:12)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> i=['1','2']
>>> j=['3']
>>> i+j
['1', '2', '3']
>>> ^D
bogon:~ myRMBP$ mkdir ghx
bogon:~ myRMBP$ mkdir thismyfolder
bogon:~ myRMBP$ mkdir thismyfolder
bogon:~ myRMBP$ cd thismyfolder
bogon:thismyfolder myRMBP$ ls
bogon:thismyfolder myRMBP$ ls
untitled 2.txt
bogon:thismyfolder myRMBP$
心得:
在Terminal下直接使用Python还是很爽的,比IDLE的interactive模式感觉好些。