optparse examples

G

GMTaglia

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
 
H

Hameed U. Khan

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.
 
G

GMTaglia

Hameed said:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top