optparse examples

Discussion in 'Python' started by GMTaglia, Oct 17, 2004.

  1. GMTaglia

    GMTaglia Guest

    Hi list,

    I'm trying to understand how really optparse work
    ..
    I've already read the documentation so please don't answer RTFM because I
    already did it twice :)

    Maybe someone have some examples of code for the *real world*?

    Any help will be appreciated.

    Thanks in advance and happy new week.
    GMTaglia
     
    GMTaglia, Oct 17, 2004
    #1
    1. Advertisements

  2. Hi,
    below is the link to programme i made 6 months ago when i started
    using linux and found no visual type of display of memory in text
    mode. this programme displays number and a bar showing the memory
    usage. i have used optparse in it may be it will help you.
    the file is zipped becuase geocities dont allow .py files ;). and i
    have no webspace some where else.
    http://geocities.com/hameedkhaan/meminfo.zip

    Hope this will help you.


    On Sun, 17 Oct 2004 17:24:10 GMT, GMTaglia <> wrote:
    > Hi list,
    >
    > I'm trying to understand how really optparse work
    > .
    > I've already read the documentation so please don't answer RTFM because I
    > already did it twice :)
    >
    > Maybe someone have some examples of code for the *real world*?
    >
    > Any help will be appreciated.
    >
    > Thanks in advance and happy new week.
    > GMTaglia
    > --
    > http://mail.python.org/mailman/listinfo/python-list
    >



    --
    Hameed U. Khan
     
    Hameed U. Khan, Oct 17, 2004
    #2
    1. Advertisements

  3. Carmine Noviello, Oct 18, 2004
    #3
  4. GMTaglia

    GMTaglia Guest

    GMTaglia, Oct 18, 2004
    #4
  5. GMTaglia

    GMTaglia Guest

    Hameed U. Khan wrote:

    > Hi,
    > below is the link to programme i made 6 months ago when i started
    > using linux and found no visual type of display of memory in text
    > mode. this programme displays number and a bar showing the memory
    > usage. i have used optparse in it may be it will help you.
    > the file is zipped becuase geocities dont allow .py files ;). and i
    > have no webspace some where else.
    > http://geocities.com/hameedkhaan/meminfo.zip


    Thanks for this recipe Hameed, I will use it to learn more :)

    cheers
    GMTaglia
     
    GMTaglia, Oct 18, 2004
    #5
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. pascal barbedor

    blanks embedded in python 2.3 optparse

    pascal barbedor, Jul 29, 2003, in forum: Python
    Replies:
    3
    Views:
    422
    =?ISO-8859-2?Q?Nagy_L=E1szl=F3_Zsolt?=
    Jul 29, 2003
  2. Gregory (Grisha) Trubetskoy

    Required options in optparse

    Gregory (Grisha) Trubetskoy, Oct 4, 2003, in forum: Python
    Replies:
    0
    Views:
    519
    Gregory (Grisha) Trubetskoy
    Oct 4, 2003
  3. Daniel Ortmann
    Replies:
    0
    Views:
    319
    Daniel Ortmann
    Oct 13, 2003
  4. John Goebel

    Optparse and varible nargs

    John Goebel, Nov 3, 2003, in forum: Python
    Replies:
    2
    Views:
    1,286
    Paddy McCarthy
    Nov 4, 2003
  5. Andres Corrada-Emmanuel

    optparse bug?

    Andres Corrada-Emmanuel, Jan 2, 2004, in forum: Python
    Replies:
    1
    Views:
    382
    Peter Otten
    Jan 2, 2004
  6. Mark Wilson
    Replies:
    1
    Views:
    192
    Takashi & Kayoko Sano
    Sep 4, 2003
  7. Jeff Dickens

    optparse examples

    Jeff Dickens, Dec 5, 2003, in forum: Ruby
    Replies:
    1
    Views:
    176
  8. Ara.T.Howard

    more optparse examples...

    Ara.T.Howard, Dec 18, 2003, in forum: Ruby
    Replies:
    0
    Views:
    191
    Ara.T.Howard
    Dec 18, 2003
Loading...