Struggling with python-daemon and subprocess module to work together

2014-10-21 Thread Praveen Kumar
re out issue is occurred due to module or I missed something during daemon initialization. [0] http://fpaste.org/143455/ -- Praveen Kumar http://fedoraproject.org/wiki/User:Kumarpraveen http://fedoraproject.org/ http://kumar-pravin.blogspot.com -- https://mail.python.org/mailman/listinfo/python-list

ThreadPoolExecutor - callback guaranteed to run in same thread as the submitted function?

2014-09-24 Thread Praveen Gollakota
s not seem like we switch the thread to the main thread before we run the callback. But just wanted to be sure. Any insight would be appreciated! Thanks, Praveen -- https://mail.python.org/mailman/listinfo/python-list

Re: text to DB

2010-08-16 Thread Praveen
On Aug 14, 11:15 am, Dennis Lee Bieber wrote: > On Fri, 13 Aug 2010 09:46:34 -0700 (PDT), Praveen > declaimed the following in > gmane.comp.python.general: > > > I have a text file in this format > > PRA 1:13 2:20 3:5 > > SRA 1:45 2:75 3:9 > > TRA

text to DB

2010-08-13 Thread Praveen
I have a text file in this format PRA 1:13 2:20 3:5 SRA 1:45 2:75 3:9 TRA 1:2 2:65 3:45 pattern is- Book Chapter:Verses now i have my DB schema like this book_id chapter_id versed_id 1 1 13 1 2 20 1 3

Re: finding contents from string

2010-02-16 Thread Praveen Boppana
It looks like you want to extract the query parameters from standard url's. There is a standard Python module to accomplish this: http://www.python.org/doc/2.5.2/lib/module-urlparse.html From: danin To: python-list@python.org Sent: Tue, 16 February, 2010 4:13:

Issues download 2.4 python (for windows) msi

2009-06-11 Thread Praveen Kariyanahalli
Hi I am having issues downloading any msi prior to the 3.X version. All of them appear to be truncated. My old scripts dont compile on the later versions. Can someone please fix this ASAP ? Thanks -Praveen -- http://mail.python.org/mailman/listinfo/python-list

Is there any way to use python scripts in mainframe environment?

2007-12-06 Thread Kolipaka, Praveen
Is there any way to use python scripts in mainframe environment? Regards, Praveen KK Sr.Software Engineer Hyderabad | India. -- http://mail.python.org/mailman/listinfo/python-list

AIX - Python - db2.py

2007-09-20 Thread Shilavantar, Praveen
e 455.41: 1506-045 (S) Undeclared identifier SQL_HANDLE_DBC. "_db2_module.c", line 480.27: 1506-275 (S) Unexpected text handle encountered. "_db2_module.c", line 480.47: 1506-275 (S) Unexpected text handleType encountered. "_db2_module.c", line 482.25: 1506-

How to get/read Hard disk label / drive label

2006-11-05 Thread Praveen
I want to read individual disk label for Hard disk (C: drive, D: drive disk label) and CD-ROM disk label Please provide some pointer to the code or document. Thanks in advance. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to access file last modified dates on each file in a directory

2006-10-29 Thread Praveen
stats[stat.ST_MTIME] print 'Last accessed: ' + time.ctime(accessed) print 'Last modified: ' + time.ctime(modified) Regards, Praveen On Oct 30, 8:00 am, [EMAIL PROTECTED] wrote: > Greetings, > > I am attempting to view all files in a directory and if tho

Calling the C API from Python and Python program from same C API - bidirectional

2005-03-16 Thread Praveen, Tayal (IE10)
Hi Guys, I am having problems in the following C API program where myOtim_system is callable from python function. The module is listed below - static PyObject * myOptim_system(PyObject *self, PyObject *args) { const char *command; double u0, v0, u1, v1, u2, v2, u3, v3; int sts;

(no subject)

2005-03-15 Thread praveen tayal
Hi Guys, I am having problems in the following C API program where myOtim_system is callable from python function. The module is listed below - static PyObject * myOptim_system(PyObject *self, PyObject *args) { const char *command; double u0, v0, u1, v1, u2, v2, u3, v3; int sts;