Ask for a password with OptParse

2007-07-03 Thread Mariano Mara
Hi everyone. I'm building a script with optparse. One of the parameters will be a password. How can I code the optparse to accept/handle/format the password so that the user does not have to write it in plain/visible text in the terminal? TIA, Mariano. -- http://mail.python.org/mailman/listin

Re: Help search files

2007-07-04 Thread Mariano Mara
Alejandro Decchi escribió: > Hello Someone can help me how to search file in a directory. I need to > do a form where the user write the word to search and if the file was > found the user must could download the file making click in the link > Sorry my english > thz > Alex > You could try os.wa

Accessing OpenLink ODBC driver

2007-07-11 Thread Mariano Mara
Hi everyone. I have a Windows 2000 server with an OpenLink ODBC client installed which we use to connect to an Informix database. I'm not allowed to access to informix directly so I would like to write an script to retrieve some info using the mentioned driver. As far as I can tell, there's an o

Re: how to use cx_Oracle callfunc

2007-05-10 Thread Mariano Mara
Godzilla escribió: On May 11, 11:51 am, Godzilla <[EMAIL PROTECTED]> wrote: Hi all, I need to know how to use the method callfunc in cx_Oracle. I am trying to get a primary key after an insert via a function call, but I do not know how to pass the return value from the function via the callf

Re: Queue/Priority Needed

2008-07-02 Thread Mariano Mara
Keith Nation wrote: I'm still very new to python, and I have a question about how to prioritize jobs in a queue. You can use the python 2.6 priority queue implementation: $ python Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyr