O
O
Odesssit2014-11-23 01:28:24
Python
Odesssit, 2014-11-23 01:28:24

How to run ubuntu python3.4 executable?

Good afternoon!
I am using ubuntu 14.10 + python 3.4.
The file does not want to run at all:

#! /usr/bin/ python3.4
print('Hi')

Assigned it to be executable, checked the address of the interpreter.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2014-11-23
@Odesssit

#!/usr/bin/env python3.4
Then you do it yourself

chmod u+x script.py
./script.py

T
thenno, 2014-11-23
@thenno

#! /usr/bin/ python3.4
Why spaces?
#!/usr/bin/python3.4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question