Execute Python Scripts
Larry Hudson
orgnut at yahoo.com
Wed Oct 14 21:41:07 EDT 2015
On 10/14/2015 10:04 AM, Cai Gengyang wrote:
> So I am going through this article on Python for newbies ---http://askpython.com/execute-python-scripts/
>
> Managed to create a file with these contents :
>
> 1 #!/usr/bin/env python3
> 2
> 3 print('hello world')
>
> and saved it as hello.py
>
You did write that file _without_ the line numbers, I hope.
Line numbers are sometimes used in text to discuss a Python program, but they are _NOT_ used in
an actual program.
-=- Larry -=-
More information about the Python-list
mailing list