how to use python to checking password on servlet
my application design on java servlet i want to check password in python & return result again servlet to forward to next page. how to set session in python .get session -- http://mail.python.org/mailman/listinfo/python-list
WEATHER PROGRAMMING IN PYTHON
how to diplay the weather condiction on my webpage suppose i want to read weather from www.bbc.co.uk/weather.html how i can read it usin program -- http://mail.python.org/mailman/listinfo/python-list
python & java
hi i am fresher i python can any bady tell me who i will use python in web technologies in java base application. what it roll sandeep patil -- http://mail.python.org/mailman/listinfo/python-list
python on window
i have install python on window xp os. C:/program files/python i have done print program it working but .py can't working help me to how i will execute this file this file where i will save it. path execution how . tell me about any envorment veriable in python to set before python editor run,it path. etc >>> print ' sandeep patil' sandeep patil >>> print ' sandeep "bhagwan " patil ,msc. java j2ee developer" SyntaxError: EOL while scanning single-quoted string >>> print ' sandeep "bhagwan " patil ,msc. java j2ee developer' sandeep "bhagwan " patil ,msc. java j2ee developer >>> import posix Traceback (most recent call last): File "", line 1, in import posix ImportError: No module named posix >>> phonebook = {'sandeep':9325,'amit':9822,'anand':9890} >>> phonebook = {'titu':9423,'dadu':9422,'giri':9326} >>> inverted_phonebook=invert(phonebook) Traceback (most recent call last): File "", line 1, in inverted_phonebook=invert(phonebook) NameError: name 'invert' is not defined >>> def invert(table): index={} for key in table.key(): value=table[key] if not index.has_key(value): index[value]=[] index[value].append(key) return index -- http://mail.python.org/mailman/listinfo/python-list
Re: python on window
i have written this program but i have gott following error, in anather proram "indentation error" sir how i will indent in my editor #test.py >>> def invert(table): index=() for key in table: value=table[key] if not index.has_key(value): index[value]=[] index[value].append(key) return index >>> phonebook = {'sandeep':9325, 'amit':9822, 'anand':9890, 'titu': 9325} >>> phonebook {'titu': 9325, 'amit': 9822, 'anand': 9890, 'sandeep': 9325} >>> print phonebook {'titu': 9325, 'amit': 9822, 'anand': 9890, 'sandeep': 9325} >>> inverted_phonebook = invert(phonebook) Traceback (most recent call last): File "", line 1, in inverted_phonebook = invert(phonebook) File "", line 5, in invert if not index.has_key(value): AttributeError: 'tuple' object has no attribute 'has_key' >>> interted_phonebook= invert(phonebook) Traceback (most recent call last): File "", line 1, in interted_phonebook= invert(phonebook) File "", line 5, in invert if not index.has_key(value): AttributeError: 'tuple' object has no attribute 'has_key' >>> -- http://mail.python.org/mailman/listinfo/python-list
hi all
I get an error while I try to call python through VB. The error is " Error 429: Active X cant create object" Pls anybody help me to call python through VB. Thanks and Regards. Sandeep Patil HCL Technologies " Expecting the world to treat you fairly coz you are a gud person, is like expecting the Lion not to attack you as you are a Vegetarian. " DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. - http://mail.python.org/mailman/listinfo/python-list