Advertisement
calcpage

hello_serial.py

Nov 26th, 2019
947
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. #!/usr/bin/python
  2. # to execute: pyrhon hello_serial.py (does not require: #!/usr/bin/python)
  3. # or
  4. # chmod 755 hello_serial.py
  5. # ./hello_serial.py (requires: chmod & #!/usr/bin/python)
  6. s=input('enter your name: ')
  7. print 'hello, '+s+'!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement