Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 0.25 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Open python program within a different command-line-interface(CLI)?
  2. python C:Python27Scriptsscript.py test
  3. python /path/to/script_folder/script.py test
  4.        
  5. import code
  6. console = code.InteractiveConsole()
  7. console.interact()
  8.        
  9. $ python -i <path_to_script>