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
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
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
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
= 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
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
] = '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
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
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