RNRF 2020. 11. 17. 19:34

3. Writing a simple Program in Python - bin.0x03

: Content
-> Using “vim” editor
-> Introduction to the “python” programming language
-> Updating the system

: Python is an “interpreter language”.
: Python runs sequentially from beginning to end of the file.

: Tips. You can open the two codes by comparing them.      # “-O” option.
-> vim -O matrix.c matrix.py

: Tips. Options to fill in the spaces in the "Tab" key.             # “vi ~/.vimrc”
-> set expandtab shiftwidth=4 softtabstop=4

-> Add to top of Python code.
            -> #!/usr/bin/python2.7