Python Lab - Hello World
This is a very simple program to get your very first step in python.
syntax:
print "put anything you like"
Step 1. Use VIM to create a new file "lab01.py" (Exhibit 1)
(Exhibit 1. Create a file)
Step 2. Put the path of Python and a simple print line (Exhibit 2)
(Exhibit 2. Program content)
(Exhibit 3. Add permission)
Step 4. Run "lab01.py" and see the result (Exhibit 4)
(Exhibit 4. Result)
You can try to change the string to put whatever you like and re-execute the program.
Enjoy Lab01~!




Thank you for sharing such a informative article on Python Lab. I enjoyed reading of it. Indeed, you did great job. Cheers!
ReplyDeleteelectronic signature Microsoft