summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorcat <cat@eee>2010-02-18 13:08:15 -0500
committercat <cat@eee>2010-02-18 13:08:15 -0500
commit48620890eda2c4e36c433cd429e1958be4bfbf44 (patch)
treec7dc1b2cfbed52555c786b352f20f88cb53f315f /docs
parent679a64f237a22aab96867e1a4d52b80649a94a4e (diff)
downloadcmd2-hg-48620890eda2c4e36c433cd429e1958be4bfbf44.tar.gz
try again to upload docs
Diffstat (limited to 'docs')
-rw-r--r--docs/pycon2010/pycon2010.rst44
1 files changed, 25 insertions, 19 deletions
diff --git a/docs/pycon2010/pycon2010.rst b/docs/pycon2010/pycon2010.rst
index fd913ac..ad53dd5 100644
--- a/docs/pycon2010/pycon2010.rst
+++ b/docs/pycon2010/pycon2010.rst
@@ -15,16 +15,16 @@ Web 2.0
=======
.. image:: web-2-0-logos.gif
- :height: 300px
+ :height: 250px
But first...
============
.. image:: sargon.jpg
- :height: 300px
+ :height: 250px
.. image:: akkad.png
- :height: 300px
+ :height: 250px
Sargon the Great
Founder of Akkadian Empire
@@ -35,7 +35,7 @@ In between
==========
.. image:: apple.jpg
- :height: 300px
+ :height: 250px
Command-Line Interface
Unlike the Akkadian Empire,
@@ -67,16 +67,12 @@ Examples
!= Command Line Utilities
=========================
+(``ls``, ``grep``, ``ping``, etc.)
+
1. Accepts arguments at invocation
2. executes
3. terminates
-Examples
---------
-* ls
-* grep
-* ping
-
Use ``sys.argv``, ``optparse``
!= "Text User Interfaces", "Consoles"
@@ -86,7 +82,7 @@ Use ``sys.argv``, ``optparse``
* I/O is *not* line-by-line
.. image:: urwid.png
- :height: 300px
+ :height: 250px
Use ``curses``, ``urwid``
@@ -94,7 +90,7 @@ Priorities
==========
.. image:: strategy.png
- :height: 300px
+ :height: 250px
A ``cmd`` app: pirate.py
========================
@@ -146,7 +142,7 @@ Hooks
=====
.. image:: hook.jpeg
- :height: 300px
+ :height: 250px
Hooks: pirate3.py
=================
@@ -213,7 +209,7 @@ cmd2
====
.. image:: schematic.png
- :height: 300px
+ :height: 250px
Absolutely free
===============
@@ -280,15 +276,25 @@ Options: pirate8.py
separator = ' '
chant = separator.join(chant)
print('{0} and a bottle of {1}'.format(chant, arg))
-
-sqlpython
-=========
-Created by Luca Canali @ CERN
+Serious example: sqlpython
+==========================
+
+``cmd``-based app by Luca Canali @ CERN
+
+Replacement for Oracle SQL/*Plus
+
+Now ``cmd2``-based; postgreSQL; MySQL
+
+sqlpython features
+==================
-``cmd``-based Replacement for Oracle SQL/*Plus
+Everything in ``cmd2``
+Multi connections
+ls, grep
+Output to html, csv, inserts, bar graphs