Re: Application monitoring

2011-08-16 Thread Nitin Pawar
://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: How good is security via hashing

2011-06-07 Thread Nitin Pawar
is switched to fastcgi and the initialization is only carried out once and then say 50 rrr values are generated. -- Robin Becker -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: The pythonic way equal to whoami

2011-06-07 Thread Nitin Pawar
like to know it, so the program will run with the right privileges. Is there any standard function on python, that will do it? -- goto /dev/null -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: Running a Python script on a web server

2011-06-07 Thread Nitin Pawar
scripts in .py format rather than py2exeing them all. Chris Angelico -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: How to stop iteration

2011-06-05 Thread Nitin Pawar
final_result = [] def strsplit(stri, spa): s = stri[:spa] final_result.append(s) stri = stri[spa:] strsplit(stri,spa) return final_result c = strsplit(string,space) print 'The final result is: ', c -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar

Re: Passing array from java to python

2011-06-02 Thread Nitin Pawar
-- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: How to Use Setuptools, Alternatives?

2011-05-31 Thread Nitin Pawar
working directory. Hope that helps, Doug -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: Converting an array of string to array of float

2011-03-25 Thread Nitin Pawar
solution? Thanks in advance. Best Regards, Subhabrata. -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: Python fails on math

2011-02-22 Thread Nitin Pawar
: 2.0 * e * sqrt(3.0) - 2.0 * e 3.9798408154464964 #2: 2.0 * e * (sqrt(3.0) -1.0) 3.979840815446496 I was wondering what exactly is failing here. The math module? Python, or the IEEE specifications? -- -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http

Re: Newbie getting desperate with for

2011-02-17 Thread Nitin Pawar
what I am doing wrong. Best Regards Werner Dahn -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: Would like to add an upload facility to my web site

2011-01-31 Thread Nitin Pawar
. In case the file uploads are small the simple upload feature works fine but for larger files you may need to write a chunk read/write api http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: trouble installing MySQLdb (cygwin) + Bonus question

2011-01-25 Thread Nitin Pawar
on important concepts and still accomplish tasks. Thank you for your reply. Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comHTTP://wlfraed.home.netcom.com/ -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http

Re: Graphing API,

2011-01-05 Thread Nitin Pawar
you can check pywebgraph On Wed, Jan 5, 2011 at 3:49 PM, Slie stacks...@gmail.com wrote: Is there a graphing API, someone suggests? -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: lxml etree question

2010-12-24 Thread Nitin Pawar
/listinfo/python-list You can check this http://codespeak.net/pipermail/lxml-dev/2006-February/000920.html -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: O'Reilly Python Certification

2010-12-16 Thread Nitin Pawar
/ Holden Web LLC http://www.holdenweb.com/ -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: python-parser running Beautiful Soup needs to be reviewed

2010-12-11 Thread Nitin Pawar
leading and trailing spaces: trimmed_text = text.strip() This should give us: print trimmed_text This is a sample text as desired. What do you think about the code? I love to hear from you!? greetings matze -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar

Re: packaging python code in zip file

2010-12-09 Thread Nitin Pawar
package it better? thanks, mark -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: another newbie question

2010-11-14 Thread Nitin Pawar
enter 'from _future_ import division' at the command line, I get the ImportError, no module named _future_. How can I rectify this? Sorry for this basic question, but I don't know where else to turn. Thanks, Scott -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http

Re: List index out of range, but list has enough elements

2010-11-09 Thread Nitin Pawar
something? Are you sure the output you get from the print j is from the same loop iteration as the print i[0]? Try adding i to the output. Stefan -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http

Re: How on Factorial

2010-10-27 Thread Nitin Pawar
- 1)) works . -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: Python3: Is this a bug in urllib?

2010-10-19 Thread Nitin Pawar
nicht öffentlich! Ah, der neueste und bis heute genialste Streich unsere großen Kosmologen: Die Geheim-Vorhersage. - Karl Kaos über Rüdiger Thomas in dsa hidbv3$om...@speranza.aioe.org -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman

Re: parse xml

2010-10-15 Thread Nitin Pawar
. -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: 2D List

2010-10-11 Thread Nitin Pawar
codes show the following error. and how to overcome it. Traceback (most recent call last): File pyshell#10, line 3, in module a[i].append(j) AttributeError: 'int' object has no attribute 'append' -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http

Re: how to write an xml file without dom.ext?

2010-10-07 Thread Nitin Pawar
if there is a way to avoide ext and prittyprint and still write a file to the disk? Happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: how to write an xml file without dom.ext?

2010-10-07 Thread Nitin Pawar
...@gmail.com wrote: On Thursday 07 October 2010 03:49 PM, Nitin Pawar wrote: why not just convert it to string with print pretty and then normal write to a file Can you give an example. happy hacking. Krishnakant. On Thu, Oct 7, 2010 at 3:36 PM, hackingKK hackin...@gmail.com wrote: Hello

Re: Help on formatting xml document

2010-10-04 Thread Nitin Pawar
output, I need to format the xml output and write it to a file. rawdata= head body nameSantosh/name age29/age placeBangalore/place /body /head I would appreciate your help. Thanks, Santosh -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http

Re: scheduler or infinite loop

2010-09-29 Thread Nitin Pawar
-- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: python call a procedure at the specified time

2010-09-15 Thread Nitin Pawar
o'clock, then sleep these seconds and call my method,I think there could be an elegant way to resolve this. Regards, -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: python call a procedure at the specified time

2010-09-15 Thread Nitin Pawar
://code.google.com/appengine/docs/python/config/cron.html#About_cron_yaml Thanks, Nitin On Wed, Sep 15, 2010 at 11:54 AM, Von von...@gmail.com wrote: Hi Nitin,I need a python solution for that. On Wed, Sep 15, 2010 at 2:15 PM, Nitin Pawar nitinpawar...@gmail.comwrote: are you looking

Re: python call a procedure at the specified time

2010-09-15 Thread Nitin Pawar
at 2:35 PM, Nitin Pawar nitinpawar...@gmail.comwrote: I think to do so either you will need to schedule a cron or write a daemon process which will run continuously. Assuming that its running only once a day or say timely manner daemon will be a costly affair for system resources To schedule

Re: How to Convert IO Stream to XML Document

2010-09-10 Thread Nitin Pawar
return answer -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: accessing a text file

2010-09-05 Thread Nitin Pawar
(word) with the content of a text file (word_list). i want to see if word is in word_list. let's assume the TXT file is stored in the same directory as the PY file. def is_valid_word(word, word_list) thanks Baba -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar

Re: Can't find elements using ElementTree find method

2010-08-31 Thread Nitin Pawar
:) comp = root.find( './/component' ) name = root.find( './/name' ) print 'comps =', comps print 'comp =', comp print 'name =', name Thanks, Brendan. -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: passing variables as object attributes

2010-08-16 Thread Nitin Pawar
not have attribute varname. Please tell me how can I use variables as objects attributes. Thanks. -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: Urrlib2 IncompleteRead error

2010-07-27 Thread Nitin Pawar
raise IncompleteRead(''.join(value)) IncompleteRead: IncompleteRead(3235 bytes read) Dirk -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: Urrlib2 IncompleteRead error

2010-07-27 Thread Nitin Pawar
import socket # timeout in seconds timeout = 10 socket.setdefaulttimeout(timeout) On Tue, Jul 27, 2010 at 10:09 PM, Dirk Nachbar dirk...@gmail.com wrote: Thanks, I don't think it's redirecting, how can I increase the timeout? On 27 July 2010 16:56, Nitin Pawar nitinpawar...@gmail.com wrote

Re: suitable py2app.

2010-07-27 Thread Nitin Pawar
://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: Accumulate function in python

2010-07-19 Thread Nitin Pawar
] What is the best way (or pythonic way) to get this. Regards, -Dhruv. -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: Is python suitable for my needs?

2010-07-15 Thread Nitin Pawar
and Oracle? Get JMX metrics from Weblogic Server (Weblogic Server is provided with a scripting tool based on Jython) Thanks for your hints. Simon -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list

Re: Netbeans plugin and Python 3

2010-07-12 Thread Nitin Pawar
want to change system's default encoding, what should I do? Thanks in advance -- http://mail.python.org/mailman/listinfo/python-list -- Nitin Pawar -- http://mail.python.org/mailman/listinfo/python-list