help finding

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gary Wessle

    #1

    help finding

    Hi

    I am going through some tutorials, how do I find out about running a
    script from the python prompt?
    is there a online ref and how to access it?


    thank you
  • Scott David Daniels

    #2
    Re: help finding

    Gary Wessle wrote:[color=blue]
    > Hi
    >
    > I am going through some tutorials, how do I find out about running a
    > script from the python prompt?[/color]
    Normally you don't do that.
    What OS and Python versions are you using?
    Do think about following the advice in "smart questions".
    [color=blue]
    > is there a online ref and how to access it?[/color]
    Yes.
    Your install may have one, what OS?
    Start here:

    or
    The official home of the Python Programming Language

    or

    or


    --Scott David Daniels
    scott.daniels@a cm.org

    Comment

    • robert

      #3
      Re: help finding

      Gary Wessle wrote:
      [color=blue]
      > Hi
      >
      > I am going through some tutorials, how do I find out about running a
      > script from the python prompt?
      > is there a online ref and how to access it?
      >[/color]

      if you really don't want to start from OS prompt do execfile('myscr ipt.py')

      -robert

      Comment

      Working...