web and standalone access

2010-08-03 Thread S.Selvam
Hi all, I have a case where my application needs to run as a standalone application and also allow web based access. What could the best python framework to implement it. Note : I found Openobject( openerp ) to be of this kind. I hope i can get more ideas here . -- Regards, S.Selvam I

Capturing running Application

2010-08-02 Thread S.Selvam
focussed application, update the time spent in some format and display it graphically. I am not sure about the modules that need to be used.I welcome your ideas. -- Regards, S.Selvam I am because we are -- http://mail.python.org/mailman/listinfo/python-list

Re: How to pass the shell in Python

2010-07-20 Thread S.Selvam
On Tue, Jul 20, 2010 at 7:11 AM, Ranjith Kumar ranjitht...@gmail.comwrote: Hi Folks, Can anyone tell me how to run shell commands using python script. For simple work, i generally use os.system call. -- Regards, S.Selvam I am because we are -- http://mail.python.org/mailman

Re: web sound recording with python

2010-03-16 Thread S.Selvam
? -- Regards, S.Selvam I am because we are -- http://mail.python.org/mailman/listinfo/python-list

Re: zope server on ubuntu 9.10

2009-12-29 Thread S.Selvam
On Tue, Dec 29, 2009 at 1:30 AM, Chris Withers ch...@simplistix.co.ukwrote: S.Selvam wrote: I am using Ubuntu 9.10 and when i tried to install Zope application server with the following , sudo easy_install -i http://download.zope.org/Zope2/index/2.12.1 Zope2 i got an error as shown below

zope server on ubuntu 9.10

2009-12-26 Thread S.Selvam
packages or download links found for zope.browsermenu error: Could not find suitable distribution for Requirement.parse('zope.browsermenu') -- Any suggestions would be helpful . Note: i have installed python-dev as recommended. -- Regards, S.Selvam -- http://mail.python.org/mailman

Re: Mechanize - Click a table row to navigate to detail page

2009-12-25 Thread S.Selvam
(which of course you have to parse yourself out of the code) In firefox you can install LiveHttp Headers addon and can find the needed url. Diez -- http://mail.python.org/mailman/listinfo/python-list -- Regards, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Re: webscrapping ringcentral.com using mechanize

2009-12-17 Thread S.Selvam
-click-a-button -- Regards, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Re: regex help

2009-12-17 Thread S.Selvam
(rpayload.*\/payload) s1=pat.sub(,s1) -- Regards, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

regex remove closest tag

2009-11-12 Thread S.Selvam
both the a tag. -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Re: regex remove closest tag

2009-11-12 Thread S.Selvam
On Fri, Nov 13, 2009 at 12:47 AM, MRAB pyt...@mrabarnett.plus.com wrote: S.Selvam wrote: Hi all, 1) I need to remove the a tags which is just before the keyword(i.e some_text2 ) excluding others. 2) input string may or may not contain a tags. 3) Sample input: inputstr = start

Re: how to remove the same words in the paragraph

2009-11-08 Thread S.Selvam
/mailman/listinfo/python-list -- Yours, S.Selvam Sent from Bangalore, KA, India -- http://mail.python.org/mailman/listinfo/python-list

Re: how to remove the same words in the paragraph

2009-11-04 Thread S.Selvam
tokens. -tkc -- http://mail.python.org/mailman/listinfo/python-list -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Re: emptying a list

2009-10-02 Thread S.Selvam
://mail.python.org/mailman/listinfo/python-list -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Re: recommendation for webapp testing?

2009-09-17 Thread S.Selvam
. -- http://mail.python.org/mailman/listinfo/python-list -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Re: Issue with writelines

2009-09-02 Thread S.Selvam
of strings why can't you print/analyse the 'z ' value on except block. -- http://mail.python.org/mailman/listinfo/python-list -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

pulldom extracting records from recordset

2009-08-07 Thread S.Selvam
' number of Records. I have been struggling to figure it out.I would be happy to get a solution for this. -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Re: pulldom extracting records from recordset

2009-08-07 Thread S.Selvam
On Fri, Aug 7, 2009 at 6:10 PM, S.Selvam s.selvams...@gmail.com wrote: Hi all, I am using pulldom to handle large xml files.It works fine, but i do not know how to store a particular set of records(as xml) out of the recordset. -code- from xml.dom import pulldom

Re: Itext for Python

2009-07-27 Thread S.Selvam
works.There are some other modules for pdf work but might not be as standard as iText.Surely some senior programmers will suggest you better way to proceed further. With anticipation, SanthoshVKumar. -- http://mail.python.org/mailman/listinfo/python-list -- Yours, S.Selvam -- http

Re: Generic web parser

2009-05-18 Thread S.Selvam
On Mon, May 18, 2009 at 1:59 PM, Jeremiah Dodds jeremiah.do...@gmail.comwrote: On Sat, May 16, 2009 at 2:18 PM, S.Selvam s.selvams...@gmail.com wrote: Hi all, I have to design web parser which will visit the given list of websites and need to fetch a particular set of details. It has

Generic web parser

2009-05-16 Thread S.Selvam
is, if such thing is already available please let me know ,also your suggestions are welcome. Note: I planned to use BeautifulSoup for parsing. -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Language detection with python

2009-04-17 Thread S.Selvam
. I need a best way to detect english text . I welcome your suggestions ... -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Reading only headers

2009-04-09 Thread S.Selvam
('xml') == -1: raise Its not xml! else: Read the content and process ... Is this the good way to read headers ? ,as i do not want the content ,unless it is xml. Please suggest me,if there are some other good methods to read only the headers. -- Yours, S.Selvam -- http

python php/html file upload issue

2009-03-21 Thread S.Selvam Siva
']['name']* in response is always empty...I can not guess what went wrong with my code , I will be happy, if you can figure out the problem. -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Need to store dictionary in file

2009-02-23 Thread S.Selvam Siva
cPickle,bsddb can be used for this purpose,but i want to know the best solution which runs *faster*. -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Re: Levenshtein word comparison -performance issue

2009-02-19 Thread S.Selvam Siva
On Sat, Feb 14, 2009 at 3:01 PM, Peter Otten __pete...@web.de wrote: Gabriel Genellina wrote: En Fri, 13 Feb 2009 08:16:00 -0200, S.Selvam Siva s.selvams...@gmail.com escribió: I need some help. I tried to find top n(eg. 5) similar words for a given word, from a dictionary

Levenshtein word comparison -performance issue

2009-02-13 Thread S.Selvam Siva
suggestions are welcome... -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

BeautifulSoup -converting unicode to numerical representaion

2009-02-09 Thread S.Selvam Siva
representation like rsquo; to its numeric equivalent #8217; Thanks in advance. *Note:* The reason for the above requirement is i need a standard way to post to SOLR to avoid errors. -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

string replace for back slash

2009-02-05 Thread S.Selvam Siva
Hi all, I tried to do a string replace as follows, s=hi people s.replace(,\) 'hi \\ people' but i was expecting 'hi \ people'.I dont know ,what is something different here with escape sequence. -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Re: string replace for back slash

2009-02-05 Thread S.Selvam Siva
On Thu, Feb 5, 2009 at 5:59 PM, rdmur...@bitdance.com wrote: S.Selvam Siva s.selvams...@gmail.com wrote: I tried to do a string replace as follows, s=hi people s.replace(,\) 'hi \\ people' but i was expecting 'hi \ people'.I dont know ,what is something different here

importing module-performance

2009-02-02 Thread S.Selvam Siva
performance? -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Re: importing module-performance

2009-02-02 Thread S.Selvam Siva
On Mon, Feb 2, 2009 at 3:11 PM, Chris Rebert c...@rebertia.com wrote: On Mon, Feb 2, 2009 at 1:29 AM, S.Selvam Siva s.selvams...@gmail.com wrote: Hi all, I have a small query, Consider there is a task A which i want to perform. To perform it ,i have two option. 1)Writing a small

Re: date handling problem

2009-01-29 Thread S.Selvam Siva
On Thu, Jan 29, 2009 at 2:27 PM, M.-A. Lemburg m...@egenix.com wrote: On 2009-01-29 03:38, Gabriel Genellina wrote: En Wed, 28 Jan 2009 18:55:21 -0200, S.Selvam Siva s.selvams...@gmail.com escribió: I need to parse rss-feeds based on time stamp,But rss-feeds follow different

date handling problem

2009-01-28 Thread S.Selvam Siva
Hi all, I need to parse rss-feeds based on time stamp,But rss-feeds follow different standards of date(IST,EST etc). I dont know,how to standardize this standards.It will be helpful if you can hint me. -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Re: String comparision

2009-01-25 Thread S.Selvam Siva
Thank You Gabriel, On Sun, Jan 25, 2009 at 7:12 AM, Gabriel Genellina gagsl-...@yahoo.com.arwrote: En Sat, 24 Jan 2009 15:08:08 -0200, S.Selvam Siva s.selvams...@gmail.com escribió: I am developing spell checker for my local language(tamil) using python. I need to generate alternative

String comparision

2009-01-24 Thread S.Selvam Siva
. Any suggestion for this problem is welcome. -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

python resource management

2009-01-20 Thread S.Selvam Siva
Hi all, I have found the actual solution for this problem. I tried using BeautifulSoup.SoupStrainer() and it improved memory usage to the greatest extent.Now it uses max of 20 MB(earlier it was 800 MB on 1GB RAM system). thanks all. -- Yours, S.Selvam -- http://mail.python.org

Re: python resource management

2009-01-20 Thread S.Selvam Siva
with each feed. --Tim I have found the actual solution for this problem. I tried using *BeautifulSoup.SoupStrainer()* and it improved memory usage to the greatest extent.Now it uses max of 20 MB(earlier it was 800 MB on 1GB RAM system). thanks all. -- Yours, S.Selvam -- http

python resource management

2009-01-19 Thread S.Selvam Siva
comes down to 0% (may be due to excessive paging). We tried 'del soup_object' and used 'gc.collect()'. But, no improvement. Please guide me how to limit python's memory-usage or proper method for handling BeautifulSoup object in resource effective manner -- Yours, S.Selvam -- http

Re: Extracting real-domain-name (without sub-domains) from a given URL

2009-01-13 Thread S.Selvam Siva
On Tue, Jan 13, 2009 at 1:50 PM, Chris Rebert c...@rebertia.com wrote: On Mon, Jan 12, 2009 at 11:46 PM, S.Selvam Siva s.selvams...@gmail.com wrote: Hi all, I need to extract the domain-name from a given url(without sub-domains). With urlparse, i am able to fetch only the domain-name

Extracting real-domain-name (without sub-domains) from a given URL

2009-01-12 Thread S.Selvam Siva
or huffingtonpost.de** * Please suggest me some ideas regarding this problem. -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

pygtkspell-help

2009-01-01 Thread S.Selvam Siva
by googling.It will be nice if someone can direct me in right way(may be by giving appropriate links or example program) -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Posting File as a parameter to PHP/HTML using HTTP POST

2008-12-02 Thread S.Selvam Siva
: value attribute is readonly But, When uploading is done using browser, it works. -- Yours, S.Selvam -- http://mail.python.org/mailman/listinfo/python-list

Re: Posting File as a parameter to PHP/HTML using HTTP POST

2008-12-02 Thread S.Selvam Siva
, Dec 2, 2008 at 1:33 PM, S.Selvam Siva [EMAIL PROTECTED]wrote: I am trying to post file from python to php using HTTP POST method. I tried mechanize but not able to pass the file object. from mechanize import Browser br=Browser() response=br.open(http://localhost/test.php;) br.select_form

parsing javascript

2008-10-12 Thread S.Selvam Siva
I have to do a parsing on webpagesand fetch urls.My problem is ,many urls i need to parse are dynamically loaded using javascript function (onload()).How to fetch those links from python? Thanks in advance. -- http://mail.python.org/mailman/listinfo/python-list