Re: Python for embedded systems with memory constraints

2007-06-11 Thread vishnu
to re-Initialize Python. Vishnu On 6/10/07, MRAB [EMAIL PROTECTED] wrote: On Jun 9, 1:33 pm, vishnu [EMAIL PROTECTED] wrote: Hi, Thanks Cameron for your suggestions. In fact I am using custom memory sub-allocator where I preallocate a pool of memory during initialization of my application

Re: Python for embedded systems with memory constraints

2007-06-09 Thread vishnu
fragmentation , could provide some inputs on this. Thanks in advance. On 6/7/07, Cameron Laird [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], vishnu [EMAIL PROTECTED] wrote: Hi there, I am embedding python 2.5 on embedded system running on RTOS where I had strict memory constraints. As python

Python for embedded systems with memory constraints

2007-06-04 Thread vishnu
Hi there, I am embedding python 2.5 on embedded system running on RTOS where I had strict memory constraints. As python is a huge malloc intensive application, I observed huge memory fragmentation in my system which is leading to out of memory after running few scripts. So I decided to

Extending embedded python of multiple interpreters

2007-03-31 Thread vishnu
with extension modules and multiple interpreters creation for each thread. Thanks in Advance for the help. Vishnu -- http://mail.python.org/mailman/listinfo/python-list

Pass pointer from C++ class to Boost Python script ?!!!

2005-09-06 Thread Mavuram, Vishnu (IT)
= PyEval_CallObject( func, args); ... Py_Finalize(); return 0; } Can you please tell me how to get convert my pointer to a valid PyObject*? Thanks, Vishnu Mavuram NOTICE: If received in error, please destroy and notify sender. Sender does

RE: How to write at a sppecific location

2005-07-19 Thread Vishnu
Hi Pooja, Check the fileinput module's input function. ~Vishnu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pooja Sent: Tuesday, July 19, 2005 12:29 PM To: python-list@python.org Subject: How to write at a sppecific location Hi All I have one csv

RE: Changing a line in a text file

2005-04-25 Thread Vishnu
] = 'xxx\n' #Open the same file write_to_file = open('inp_file.txt', 'w') #write the list in to the file write_to_file.writelines(inp_file_list) #close the file write_to_file.close() #-- Program ends Hope someone will give better idea. HTH, Vishnu -Original Message- From: [EMAIL PROTECTED

RE: Begniner Question

2005-03-21 Thread Vishnu
if int(choice)==2: else: pass if int(choice)==2: print Here # == There should be some statement present after the # if condition. Likewise place this statement in # all other if conditions else: pass HTH, Vishnu -Original Message

RE: file.readlines() - gives me error (bad file descriptor)

2005-01-05 Thread Vishnu
logfile = file(r'test.txt','w') logfile.write('datetime') logfile.close() # - close the file logfile = file(r'test.txt','r') # - Open the file in read mode test=logfile.readlines() ~Vishnu. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED