!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/opt/doc/python-2.3.4/html/Python-Docs-2.3.4/lib/   drwxr-xr-x
Free 318.34 GB of 458.09 GB (69.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     optparse-basic-usage.html (7.41 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
6.20.2 Basic Usage


6.20.2 Basic Usage

While optparse is quite flexible and powerful, you don't have to jump through hoops or read reams of documentation to get it working in basic cases. This document aims to demonstrate some simple usage patterns that will get you started using optparse in your scripts.

To parse a command line with optparse, you must create an OptionParser instance and populate it. Obviously, you'll have to import the OptionParser classes in any script that uses optparse:

from optparse import OptionParser

Early on in the main program, create a parser:

parser = OptionParser()

Then you can start populating the parser with options. Each option is really a set of synonymous option strings; most commonly, you'll have one short option string and one long option string -- e.g. -f and --file:

parser.add_option("-f", "--file", ...)

The interesting stuff, of course, is what comes after the option strings. For now, we'll only cover four of the things you can put there: action, type, dest (destination), and help.



See About this document... for information on suggesting changes.

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0102 ]--