cli arguments

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Geiregat Jonas

    cli arguments

    What is the module called that's made to dael with cli argument's like
    --foo-bar -c -blabla ?

  • Erik Max Francis

    #2
    Re: cli arguments

    Geiregat Jonas wrote:
    [color=blue]
    > What is the module called that's made to dael with cli argument's like
    > --foo-bar -c -blabla ?[/color]

    Try the getopt module.

    --
    Erik Max Francis && [email protected] && http://www.alcyone.com/max/
    __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
    / \ Divorces are made in Heaven.
    \__/ Oscar Wilde

    Comment

    • Jeremy Jones

      #3
      Re: cli arguments

      * Geiregat Jonas ([email protected]) wrote:[color=blue]
      > What is the module called that's made to dael with cli argument's like
      > --foo-bar -c -blabla ?[/color]

      Try getopt.


      Jeremy

      Comment

      • Lee Harr

        #4
        Re: cli arguments

        In article <3f5506d5$0$854 6$ba620e4c@read er0.news.skynet .be>, Geiregat Jonas:[color=blue]
        > What is the module called that's made to dael with cli argument's like
        > --foo-bar -c -blabla ?
        >[/color]

        In python2.3, try optparse

        Comment

        Working...