Run script interactively?

Help
Lou G
2005-11-24
2013-04-26
  • Lou G

    Lou G - 2005-11-24

    Can I run a Python script in the interactive window (so that I can view the values of variables, test code changes, etc.)? How do I do it?

    Thanks,
    Lou

     
    • Lou G

      Lou G - 2005-11-24

      i.e. run a script with the -i switch...

       
    • Brandon

      Brandon - 2005-11-27

      There is a preference setting that works found under.

          Options/Preferences...
              General Tab
                  Python arguments (eg "-i"):

      Enter -i in the field to get an interactive shell when scripts are run.  (I wish more IDE's worked this way :> )

       
    • Lou G

      Lou G - 2005-11-28

      Thanks, Brandon - can't imagine how I missed that. I must have looked right at it several times. I agree, DrPython is the best IDE I've found

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks