Windows Installer testing using python.
Hi, How can we test Windows Installer using python. Is there any module available for testing? Please mail to [EMAIL PROTECTED] Thanks, Kalyan. -- http://mail.python.org/mailman/listinfo/python-list
How to pass one HTML values to another HTML
hi by using python and google app engine how can i pass one HTML values to another HTML .. i am very new to Python programing Example : in one HTML i entered Name and Address fields and i submit the page at that time i want to see those two values in another HTML page.. please reply me.. advance thanks -- Regards kalyan -- http://mail.python.org/mailman/listinfo/python-list
How can i use Spread Sheet as Data Store
Hi All, I have data in Spread Sheet ( First Name and Last Name), how can i see this data in Python code ( how can i use Spread Sheet as Data Store ) . -- Regards Kalyan -- http://mail.python.org/mailman/listinfo/python-list
Re: How can i use Spread Sheet as Data Store
Hi John I am using Google Spread Sheet with 20 rows of data , OS is Windows XP Python2.6 Actually my requirement is in an web application when user enters User name and Password, back end i needs to check, is it they entered correct user name with password ( here i want to read the Spread Sheet Data in Python code ), for this i will keep all the user names and passwords in Google Spread Sheet now tell me how can i read Spread Sheet data in Python Reply me Regards Kalyan On Mon, May 18, 2009 at 8:56 PM, John Machin wrote: > Kalyan Chakravarthy hyit.com> writes: > > > > > Hi All, I have data in Spread Sheet ( First Name and Last > Name), > how can i see this data in Python code ( how can i use Spread Sheet as > Data > Store ) . -- RegardsKalyan > > Hi Kalyan, > > A few questions ... the answers might help us help you better: > > What type of spreadsheet do you have: > .ods (produced by OpenOffice.org's calc)? > .gnumeric? > .xls (MS Excel 2003)? > .xlsx (MS Excel 2007)? > something else? > > Do you want to update the spreadsheet using Python, or will that be done > manually? How many rows of data are you likely to have? > > What version of Python do you plan to use? > > What OS are you using? > > Cheers, > John > > > > > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Regards Kalyan Mobile no: +91 9985351220 -- http://mail.python.org/mailman/listinfo/python-list
How to get Form values in Python code and Send Email
Hi All, I have one doubt, I have feedback form (HTML Page) in one website user enters all the details and after submitting the page, in back end Python class i want to get all those data and send to one email id. for this please any one can guide me how to do it in Python( how to get HTML form data in Python and send those data as an Email) and Google Apps Thanks in advance -- Regards Kalyan -- http://mail.python.org/mailman/listinfo/python-list
Re: How can i use Spread Sheet as Data Store
Thanks Alex Then tell me how can I solve this issue. Thanks in advance Regards Kalyan On Wed, May 20, 2009 at 8:11 AM, alex23 wrote: > On May 19, 11:57 pm, "D'Arcy J.M. Cain" wrote: > > I hear you but I'm not so sure that that is an absolute. There are > > many applications that allow you to have your password emailed to you. > > For something with low risk that's perfectly acceptable. > > Having -any- password stored in plaintext is unacceptable. I'm pretty > sure I'm not the only person who uses a simple algorithm to generate > passwords based on context. If you're running a site and you're not > going to bother to secure my credentials, I'd hope you'd at least > mention that at sign up so I could adjust my behaviour as appropriate. > -- > http://mail.python.org/mailman/listinfo/python-list > -- Regards Kalyan Mobile no: +91 9985351220 -- http://mail.python.org/mailman/listinfo/python-list
Re: How to get Form values in Python code and Send Email
Hi Now i can able to get the form details in to python code, can any one tell me the format to send form values to one Emil id ... for this I required SMTP set up? Thanks in advance Regards Kalyan On Wed, May 20, 2009 at 5:06 PM, James Matthews wrote: > Why don't you use Django? If you get the form information from Django you > can send an email using the send_mail (or even if you don't you can still > import the function. > > > > On Wed, May 20, 2009 at 8:52 AM, Kalyan Chakravarthy < > kalyanchakravar...@hyit.com> wrote: > >> Hi All, >> >> I have one doubt, I have feedback form (HTML Page) in one website user >> enters all the details and after submitting the page, in back end Python >> class i want to get all those data and send to one email id. >> >> for this please any one can guide me how to do it in Python( how to get >> HTML form data in Python and send those data as an Email) and Google Apps >> >> Thanks in advance >> >> -- >> Regards >> Kalyan >> >> >> -- >> http://mail.python.org/mailman/listinfo/python-list >> >> > > > -- > http://www.astorandblack.com > > > > > -- > http://mail.python.org/mailman/listinfo/python-list > > -- Regards Kalyan Mobile no: +91 9985351220 -- http://mail.python.org/mailman/listinfo/python-list
Error in code send Email
Hi All, import smtplib mail="a...@xyz.com"; subject="Hai"; msg = 'Some Text'; smtp_server = smtplib.SMTP( 'mail.%s' % mail.split( '@' )[-1] ) smtp_server.sendmail( mail , [ mail ] , 'Subject: %s\n' % subject + 'To: %s\n' % mail + '\n' + msg ) I am using above code to send an Email, for this i am not installed any SMTP setup my local , I just given import smtplib and I am getting following error showing error at *smtp_server = smtplib.SMTP( 'mail.%s' % mail.split( '@' )[-1] )* this line can any one tell that how to give STMP server setup in my local and run successfully the above code. **Traceback (most recent call last): File "C:\Program Files\Google\google_appengine\google\appengine\ext\webapp\__init__.py", line 500, in __call__ handler.post(*groups) File "C:\Documents and Settings\desk\Desktop\apps\temp\main.py", line 129, in post smtp_server = smtplib.SMTP( 'mail.%s' % mail.split( '@' )[-1] ) File "C:\Python26\lib\smtplib.py", line 239, in __init__ (code, msg) = self.connect(host, port) File "C:\Python26\lib\smtplib.py", line 295, in connect self.sock = self._get_socket(host, port, self.timeout) File "C:\Python26\lib\smtplib.py", line 273, in _get_socket return socket.create_connection((port, host), timeout) AttributeError: 'module' object has no attribute 'create_connection' -- Regards Kalyan -- http://mail.python.org/mailman/listinfo/python-list
Re: Error in code send Email
*Google App Engine doesn't allow to use sockets directly *Then what could be the solution for this ? can any one Reply me Regards Kalyan On Fri, May 22, 2009 at 1:05 PM, Gabriel Genellina wrote: > En Thu, 21 May 2009 02:31:02 -0300, Kalyan Chakravarthy < > kalyanchakravar...@hyit.com> escribió: > > I am using above code to send an Email, for this i am not installed any >> SMTP setup my local , I just given import smtplib >> and I am getting following error >> >> **Traceback (most recent call last): >> File "C:\Program >> Files\Google\google_appengine\google\appengine\ext\webapp\__init__.py", >> line 500, in __call__ >>handler.post(*groups) >> File "C:\Documents and Settings\desk\Desktop\apps\temp\main.py", >> line 129, in post >>smtp_server = smtplib.SMTP( 'mail.%s' % mail.split( '@' )[-1] ) >> File "C:\Python26\lib\smtplib.py", line 239, in __init__ >>(code, msg) = self.connect(host, port) >> File "C:\Python26\lib\smtplib.py", line 295, in connect >>self.sock = self._get_socket(host, port, self.timeout) >> File "C:\Python26\lib\smtplib.py", line 273, in _get_socket >>return socket.create_connection((port, host), timeout) >> AttributeError: 'module' object has no attribute 'create_connection' >> > > *I think Google App Engine doesn't allow to use sockets directly.* > > -- > *Gabriel Genellina* > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Regards Kalyan Mobile no: +91 9985351220 -- http://mail.python.org/mailman/listinfo/python-list
which database is suitable for small applications
Hi All, can any one suggest me which database I can use for my small application(to store user names ,passwords, very few other data.. ) I am using Python, Google Apps and guide me how to connect to database, I am very new to these technologies Please help me Thanks in advance -- Regards Kalyan -- http://mail.python.org/mailman/listinfo/python-list
Re: which database is suitable for small applications
Hi Ankit, Thanks for your advice, can I get some sample code, to store data in to flat files and how to give flat file connections to my Python code, Because I am very new to Python and flat files Thanks in Advance Kalyan On Wed, May 27, 2009 at 10:18 AM, Ankit wrote: > Hi Kalyan... > > If your application does not require you to add very heavy data then > you can also use flat files to do your stuff. > Its always a better to use Databases but given your low level use and > newness to python... i would advise you to take up flat files instead. > > store your data there and access it.. simple! > > ANkit > -- > http://mail.python.org/mailman/listinfo/python-list > -- Regards Kalyan Mobile no: +91 9985351220 -- http://mail.python.org/mailman/listinfo/python-list
Python import Error
Hi All, I am using* Python 2.6, MySQL 4.0* , I have successfully Instaled MySQLdb (*MySQL-python-1.2.3c1.win32-py2.6*) in my system. I tested through command prompt with "import MySQLdb ", its not shwing any errors (means its instaled successfully), I set Eneceranment variable for Python I am running simple application with import "MySQLdb" to get the connection to MySQL, But its throwing "No module named MySQLdb", Please any one tell me what couled be the reasion is there any version miss match with python and MySQL ? Since last 3days I am strugling on this -- Regards Kalyan -- http://mail.python.org/mailman/listinfo/python-list