Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

run python file in interactive mode

exec(open("./filename").read())
#this works for python3 and not 2
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #python #file #interactive #mode
ADD COMMENT
Topic
Name
5+2 =