[PyGreSQL] Questions on http://www.druid.net/rides/

Steven H. Rogers steve at shrogers.com
Sun Sep 26 09:05:32 EDT 2004


Ms Soo Chong wrote:

> I don't understand the use of sys.argv[1].upper().

For this particular issue, you can start by reading the Python manual at 
"http://www.python.org".  Look in the Global Module Index for the "sys" 
module and you'll find argv listed.  This is a string, so look under the 
"string" module and you'll find "upper()". 

Since you are new to both Python and Programming, it would be worth your 
while to consult some tutorial material, e.g. the tutorial in the 
documentation, and "Dive Into Python" at "http://diveintopython.org".

Regards,
Steve

-- 
Steven H. Rogers, Ph.D., steve at shrogers.com
Weblog: http://shrogers.com/zope/reflections
"Don't worry about what anybody else is going to do. The best 
way to predict the future is to invent it." - Alan Kay



More information about the PyGreSQL mailing list