list + dictionary searching

2008-09-01 Thread Manoj
Hello All,

I am very new to python. Any help will be highly appreciated. Thanks

I have a list of dictionaries:

a = [{'username': u'John Wang', 'user_utilization': 1.0, 'month': 9,
'user_id': 4, 'year': 2008}, {'username': u'John Wang',
'user_utilization': 1.0, 'month': 10, 'user_id': 4, 'year': 2008},
{'username': u' ', 'user_utilization': 1.0, 'month': 9, 'user_id': 1,
'year': 2008}]

I would like to :

search dictionaries within this list
create a new list with dictionaries which gives 1 dictionary for every
user with month_year as a key and utilization for that month as a
value

Please give your thoughts

Thanks,
Manoj

--
http://mail.python.org/mailman/listinfo/python-list


Appending data to an excel sheet by python code

2013-09-14 Thread Manoj Rout
hi
  i want to append some data to an existing excel sheet by reading from  
file.But here i am facing 2 problem.first is when i am reading from file.


import re

file=open("C:\Workspace\WS2\P1\Dave\Generated\src\UART001\UART001_Conf.c","r")
strings=re.search(r'(?<=(.Mode = UART_))\w+',file.read())
string=re.search(r'(?<=(.StopBit = UART_))\w+',file.read())

print strings.group()
print string.group()

workbook.close()



Here if i will read only once then it is fine and not showing any error.But if 
i will do it for second time i.e.2nd string i have to search and print both of 
them,then it is showing error.

And one more problem how to append some data to an existing excel sheet by 
python code.

so can u please help me on this problem.

Thanks and with regards 
Manoj Rout
-- 
https://mail.python.org/mailman/listinfo/python-list


High Revenue Keywords

2010-07-04 Thread manoj kumar
Check Out High Revenue Keywords In All Niche's At,

http://highrevenuekeywords.blogspot.com/ .

Stuff Your Content With These High Revenue Keywords And Maximize Your
PPC Pay Per Click Value Doubling Your Revenue For All Clicks..
-- 
http://mail.python.org/mailman/listinfo/python-list


Best Python Editor

2006-05-31 Thread Manoj Kumar P

Hi,

Can anyone tell me a good python editor/IDE?
It would be great if you can provide the download link also.

Thank You,
-Manoj-


"SASKEN RATED Among THE Top 3 BEST COMPANIES TO WORK FOR IN INDIA - SURVEY 2005 
conducted by the BUSINESS TODAY - Mercer - TNS India"

   SASKEN BUSINESS DISCLAIMER
This message may contain confidential, proprietary or legally Privileged 
information. In case you are not the original intended Recipient of the 
message, you must not, directly or indirectly, use, Disclose, distribute, 
print, or copy any part of this message and you are requested to delete it and 
inform the sender. Any views expressed in this message are those of the 
individual sender unless otherwise stated. Nothing contained in this message 
shall be construed as an offer or acceptance of any offer by Sasken 
Communication Technologies Limited ("Sasken") unless sent with that express 
intent and with due authority of Sasken. Sasken has taken enough precautions to 
prevent the spread of viruses. However the company accepts no liability for any 
damage caused by any virus transmitted by this email
-- 
http://mail.python.org/mailman/listinfo/python-list


Web based application in python

2006-05-21 Thread Manoj Kumar P

Hi,

I would like to know whether it is possible to develop web based application
using Python.
If yes, what are the challenges or areas I've to concentrate.
How would be the performance, handling hits, scalability etc?
What are the pros and cons of using python in place of JAVA or J2EE?


Thank You,
-Manoj-


"SASKEN RATED Among THE Top 3 BEST COMPANIES TO WORK FOR IN INDIA - SURVEY 2005 
conducted by the BUSINESS TODAY - Mercer - TNS India"

   SASKEN BUSINESS DISCLAIMER
This message may contain confidential, proprietary or legally Privileged 
information. In case you are not the original intended Recipient of the 
message, you must not, directly or indirectly, use, Disclose, distribute, 
print, or copy any part of this message and you are requested to delete it and 
inform the sender. Any views expressed in this message are those of the 
individual sender unless otherwise stated. Nothing contained in this message 
shall be construed as an offer or acceptance of any offer by Sasken 
Communication Technologies Limited ("Sasken") unless sent with that express 
intent and with due authority of Sasken. Sasken has taken enough precautions to 
prevent the spread of viruses. However the company accepts no liability for any 
damage caused by any virus transmitted by this email
-- 
http://mail.python.org/mailman/listinfo/python-list


Access C++, Java APIs from Python..

2006-05-23 Thread Manoj Kumar P

Hi,

I'm new to python.
I would like to know whether is it possible to access Java/C++ APIs from
python.
I have two applications written in Java and API, I wanted to call the APIs
of these applications from Python.
I'm developing web-based application using Zope.

Thanks in advance.
-Manoj-


"SASKEN RATED Among THE Top 3 BEST COMPANIES TO WORK FOR IN INDIA - SURVEY 2005 
conducted by the BUSINESS TODAY - Mercer - TNS India"

   SASKEN BUSINESS DISCLAIMER
This message may contain confidential, proprietary or legally Privileged 
information. In case you are not the original intended Recipient of the 
message, you must not, directly or indirectly, use, Disclose, distribute, 
print, or copy any part of this message and you are requested to delete it and 
inform the sender. Any views expressed in this message are those of the 
individual sender unless otherwise stated. Nothing contained in this message 
shall be construed as an offer or acceptance of any offer by Sasken 
Communication Technologies Limited ("Sasken") unless sent with that express 
intent and with due authority of Sasken. Sasken has taken enough precautions to 
prevent the spread of viruses. However the company accepts no liability for any 
damage caused by any virus transmitted by this email
-- 
http://mail.python.org/mailman/listinfo/python-list