In python shell, use execfile('foo.py') to execute directly in the shell. Mostly trivia, not a good way to do things but don't want to look this up again if it comes up.
Subscribe to:
Post Comments (Atom)
“The sciences do not try to explain, they hardly even try to interpret, they mainly make models. By a model is meant a mathematical construct which with the addition of certain verbal interpretations describes observed phenomena. The justification of such a model construct is solely and precisely that it is expected to work.” John Von Neumann
No comments:
Post a Comment