fetchall is taking much longer time while getting data from Sybase module in Python

2016-02-14 Thread reetesh nigam
Hi All, I am retrieving data from Sybase database using Sybase module of Python. My query is not taking time however fecthall is taking longer time. Below is the test script : def run_query(db,query): ## Run query and resturn record result t1 = datetime.now() cursorObj = db.cur

Python Mobile development using kivy

2015-08-17 Thread reetesh nigam
Hi All, I am using Python2.7 version, while developing basic app using kivy, I am getting following error : dev@synechron-desktop-156:~/myDev/mobile_app$ cat main.py from kivy import app from kivy.app import App from kivy.uix.label import Label class MyApp(App): def build(self): ret

Read response XML attributes in django rest framework

2014-12-01 Thread reetesh nigam
I need to read xml attributes coming in response data. I am using Django rest framework. requested XML : Response I am getting: {'xyz': None} I am using : 'DEFAULT_PARSER_CLASSES': ('rest_framework.parsers.XMLParser') in my setting.py file -- https://mail.python.org/mailman/listinfo/python-

Unicode Decode Error

2009-04-09 Thread reetesh nigam
Hi All, There is some special character in my database. and when try to show on my UI it says return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xc4 in position 10: unexpected end of data Can any one help to solve this problem -- http://mail.p

set python default encoding

2009-04-06 Thread reetesh nigam
, 'invalid data', >) encoding = 'utf8' end = 12 message = '' object = "MEDICINE '\xc4 " reason = 'invalid data' start = 10 Please tell me how to solve this problem. Thanks and Regards Reetesh Nigam -- http://mail.python.org/mailman/listinfo/python-list

how turbo geras code works

2008-04-16 Thread reetesh nigam
hi. actually i have developed one small project but now i want to develope a project with the help of html.. please help me out -- http://mail.python.org/mailman/listinfo/python-list

how tirbo gears work?

2008-04-16 Thread reetesh nigam
hi everone, 1:- i want to know, how to turbo gears code works. 2:- i want to write code on html with the help of turbo gears -- http://mail.python.org/mailman/listinfo/python-list

how to remove \n in the list

2008-04-13 Thread reetesh nigam
hi, l=['5\n', '2\n', '7\n', '3\n', '6\n'] how to remove \n from the given list -- http://mail.python.org/mailman/listinfo/python-list