2014年7月7日月曜日

開発環境

Learning Python (Mark Lutz (著)、Oreilly & Associates Inc)のPART Ⅰ.(Getting Started)、Test Your Knowledge: Part Ⅰ Exercises 1.(Interaction)を解いてみる。

その他参考書籍

Test Your Knowledge: Part Ⅰ Exercises 1.(Interaction)

入出力結果(Terminal, IPython)

$ ipython
Python 3.4.1 (default, May 21 2014, 01:39:38) 
Type "copyright", "credits" or "license" for more information.

IPython 2.1.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: 'Hello, world!'
Out[1]: 'Hello, world!'

In [2]: "Hello, world!"
Out[2]: 'Hello, world!'

In [3]: print('Hello, world!')
Hello, world!

In [4]: print("Hello, world!")
Hello, world!

In [5]: quit()
$ which ipython
/opt/local/bin/ipython
$ which python3.4
/opt/local/bin/python3.4
$

0 コメント:

コメントを投稿