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
&qu
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
On Tue, Jul 20, 2010 at 7:11 AM, Ranjith Kumar wrote:
> 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/m
On Fri, Oct 9, 2009 at 1:10 PM, Michel Claveau - MVP
wrote:
> Hi!
>
> On windows, you can record sound who play on the local sound-card.
> It is not really Python scripting, but Python can launch it.
>
Does python do not have support for voice recording ?
--
Regards,
S.S
On Tue, Dec 29, 2009 at 1:30 AM, Chris Withers wrote:
> 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
>&
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.o
which parameters. Then
> construct that url based on the parameters in the table row's javascript
> (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://
this :
>
>
>
>
> 123
> 456
>
>
>
>
>
> for some reason my regex doesn't work correctly :
>
> r"().*?( .*?>).*?(?:(.*?)|)?.*?()?"
>
>
If all you need is to remove payload node ,this could be useful,
s1="123456..."
pat=re.compile(r"")
s1=pat.sub("",s1)
--
Regards,
S.Selvam
--
http://mail.python.org/mailman/listinfo/python-list
eful,
http://stackoverflow.com/questions/1806238/mechanize-python-click-a-button
--
Regards,
S.Selvam
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Nov 13, 2009 at 12:47 AM, MRAB wrote:
> S.Selvam wrote:
>
>> Hi all,
>>
>>
>> 1) I need to remove the tags which is just before the keyword(i.e
>> some_text2 ) excluding others.
>>
>> 2) input string may or may not contain tags.
>&g
lowing regex,
p=re.compile(r'(?P.*?)(\s*keyword|\s*keyword)(?P.*)',re.DOTALL|re.I)
s=p.search(inputstr)
but second group matches both tags,while i need to match the recent
one only.
I would like to get your suggestions.
Note:
If i leave group('good1') as greedy,
ex may come handy,
p=re.compile(r'(.+) .*\1')#note the space
s=p.search("python and i love python")
s.groups()
(' python',)
But that matches for only one double word.Someone else could light up here
to extract all the double words.Then they can be removed from the original
paragraph.
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Yours,
S.Selvam
Sent from Bangalore, KA, India
--
http://mail.python.org/mailman/listinfo/python-list
turn w
> ...
> >>> r.sub(Dedupe(), p)
>
> where I leave the definition of "r" to the student. Also beware of
> case-differences for which you might have to normalize.
>
> You'll also want to use more descriptive variable names than my one-letter
> tokens.
>
> -tkc
>
>
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Yours,
S.Selvam
--
http://mail.python.org/mailman/listinfo/python-list
[1, 2, 3, 4] [1, 2, 3, 4]
> >>> x = []
> >>> print x, y
> [] [1, 2, 3, 4]
> >>> x = y
> >>> print x, y
> [1, 2, 3, 4] [1, 2, 3, 4]
> >>> del x[:]
> >>> print x, y
> [] []
>
> Cheers,
> Jon.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Yours,
S.Selvam
--
http://mail.python.org/mailman/listinfo/python-list
imple to use.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Yours,
S.Selvam
--
http://mail.python.org/mailman/listinfo/python-list
opy_text()
>
> Traceback:
>
> File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework
> \scriptutils.py", line 310, in RunScript
>exec codeObject in __main__.__dict__
> File "C:\Query\DQL Vault Revision Check.py", line 34, in
>program_uno()
> File "C:\Query\DQL Vault Revision Check.py", line 20, in program_uno
>f = ofile.writelines(z)
> TypeError: writelines() argument must be a sequence 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
On Fri, Aug 7, 2009 at 6:10 PM, S.Selvam 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 pul
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
.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-
On Mon, May 18, 2009 at 1:59 PM, Jeremiah Dodds wrote:
>
>
> On Sat, May 16, 2009 at 2:18 PM, S.Selvam 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.
>&g
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
cient.
I need a best way to detect english text .
I welcome your suggestions ...
--
Yours,
S.Selvam
--
http://mail.python.org/mailman/listinfo/python-list
;,'').find('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
;post">
Please enter a file name :
But the *$_FILES['datafile']['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
ct your ideas/suggestions.
Note:I think 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
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
code could be improved to work
efficiently.Your suggestions are welcome...
--
Yours,
S.Selvam
--
http://mail.python.org/mailman/listinfo/python-list
o want to convert html representation like ’ to its numeric
equivalent ’
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
On Thu, Feb 5, 2009 at 5:59 PM, wrote:
> "S.Selvam Siva" wrote:
> > I tried to do a string replace as follows,
> >
> > >>> s="hi & people"
> > >>> s.replace("&","\&")
> > 'hi \\& peo
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
On Mon, Feb 2, 2009 at 3:11 PM, Chris Rebert wrote:
> On Mon, Feb 2, 2009 at 1:29 AM, S.Selvam Siva
> 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.
> >
performance?
--
Yours,
S.Selvam
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Jan 29, 2009 at 2:27 PM, M.-A. Lemburg wrote:
> On 2009-01-29 03:38, Gabriel Genellina wrote:
> > En Wed, 28 Jan 2009 18:55:21 -0200, S.Selvam Siva
> > escribió:
> >
> >> I need to parse rss-feeds based on time stamp,But rss-feeds follow
> >> diffe
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
Thank You Gabriel,
On Sun, Jan 25, 2009 at 7:12 AM, Gabriel Genellina
wrote:
> En Sat, 24 Jan 2009 15:08:08 -0200, S.Selvam Siva
> escribió:
>
>
> I am developing spell checker for my local language(tamil) using python.
>> I need to generate alternative word list for a m
.
Any suggestion for this problem is welcome.
--
Yours,
S.Selvam
--
http://mail.python.org/mailman/listinfo/python-list
th
> 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
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.
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
--
On Tue, Jan 13, 2009 at 1:50 PM, Chris Rebert wrote:
>
> On Mon, Jan 12, 2009 at 11:46 PM, S.Selvam Siva
> 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 domai
or huffingtonpost.de**
*
Please suggest me some ideas regarding this problem.
--
Yours,
S.Selvam
--
http://mail.python.org/mailman/listinfo/python-list
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
ilename="newurl-ideas.txt",name="uploadedfile")
>
On Tue, 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.
>
ntform-0.2.9-py2.5.egg\ClientForm.py",
line 2880, in __setitem__
ValueError: value attribute is readonly
But,
When uploading is done using browser, it works.
--
Yours,
S.Selvam
--
http://mail.python.org/mailman/listinfo/python-list
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
45 matches
Mail list logo