Python app setup

2021-06-01 Thread Murali Pa
MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> Thanks, Murali PA Disclaimer: The information in this email is the property of IBM and may be IBM Confidential

help for documentation and license

2009-05-05 Thread Murali kumar
hi all.. I finished my application using python 2.6 and wxpython 2.8.9 >> I want to generate documentation for my application.. please suggest me and provide links to generate documents in easy way.. >> I want to host my product as open source.. I'dont know about licensing.. help me

problem in with keyword

2009-05-01 Thread Murali kumar
hi all.. my application runs fine in windows xp using python 2.6 and wxpython 2.8.9 but in ubuntu 8.10 following error appears.. using python 2.5.2 and wxpython 2.8.9 /home/murali/Desktop/mathdemo-configfinal/manageprofile.py:63: Warning: 'with' will become a reserved keyword in

Re: communication between objects - help

2009-04-11 Thread Murali kumar
Thanks a lot for help.. On Sat, Apr 11, 2009 at 6:27 PM, Dave Angel wrote: > > > Murali kumar wrote: > >> thanks a lot.. >> >> I think passing the main object only by reference.. so, this does not >> causes >> any overhead.. >> >> am i cor

communication between objects - help

2009-04-11 Thread Murali kumar
thanks a lot.. I think passing the main object only by reference.. so, this does not causes any overhead.. am i correct..? On Fri, Apr 10, 2009 at 4:02 PM, Dave Angel wrote: > > > Murali kumar wrote: > >> hi all.. >> I'm posted in a word doc becoz to add

communication between objects - help

2009-04-10 Thread Murali kumar
hi all.. I'm posted in a word doc becoz to add a image to explain my problem.. also I think gmail automatically scans for attachments.. anyway.. here's my problem...( see the image) http://www.2shared.com/file/5299759/45e4c614/load.html Using : Python 2.6 , wxPython 2.8.9 *Scenario: *In my app

Re: config parser -help - anybody please immediately help for me...

2009-04-03 Thread Murali kumar
On Fri, Apr 3, 2009 at 3:59 PM, Murali kumar wrote: > Is there anyway to read all my configuration filenames with extension > (.cfg)? > > Advanced thanks.. > > > On Fri, Apr 3, 2009 at 3:15 PM, Murali kumar wrote: > >> hi all, >> >> i want to all my con

Re: config parser -help

2009-04-03 Thread Murali kumar
Is there anyway to read all my configuration filenames with extension (.cfg)? Advanced thanks.. On Fri, Apr 3, 2009 at 3:15 PM, Murali kumar wrote: > hi all, > > i want to all my configuration file names in current/user/home directory.. > > for that i came across follow

config parser -help

2009-04-03 Thread Murali kumar
hi all, i want to all my configuration file names in current/user/home directory.. for that i came across following function in configparser class.. Is it must to specify file names? or only directories enough.. if there anyway to read conf filenames in current/user directory... config.read(['si

python installer

2009-04-02 Thread Murali kumar
hi all.. To distribute my application.. what will be the best..? python installer.. or py2exe..? using : python 2.6 , wxpython 2.8.9 -- http://mail.python.org/mailman/listinfo/python-list

Re: speech recognition help

2009-04-02 Thread Murali kumar
hi all.. I tried following tools by ur advice.. 1. cmu sphinx: tried and managed run the demo programs.. but the accuracy is so bad. for that i tried for how to train the grammer. but for that i had no guidance.. docs give me the headache.. after 2 weeks.. i concluded that it will

Re: speech recognition help

2009-03-21 Thread Murali kumar
thanks for the reply.. now working on cmu sphinx project.. do u know which one 1. cmu sphinx 2. natural speaking 3. windows sapi is best ( in accuray and speed ) for predefined vocabulary.. and worth for learning as well.? -- http://mail.python.org/mailman/listinfo/python-list

speech recognition help

2009-03-20 Thread Murali kumar
hi all.. I want* to add speech recognition *to my application for *disabled persons*. (running in python 2.6 with wxpython 2.8.9..) *problem:* actually i have some buttons scanned one by one.. button name is 'add' and if i tell 'add' then add button click event must be performed.. For that i nee

Need script to download file from a server using python script

2009-01-23 Thread Murali Murali
The build number keeps changing. So how can i use wildchars(?) or something else to handle change in the build no.? Advance Thanks, Murali. -- http://mail.python.org/mailman/listinfo/python-list

Re: problem with special characters in filename

2009-01-23 Thread Murali Murali
Try this: import shutil,os file1 = open('a.dat','r') #opens file for reading for line in file1: print line ##old_name = line[0:len(line)-1] #gets rid of "\n" suffix ##print old_name line.strip() #gets rid of "\n" suffix print line os.rename('b.dat',line) #renames file file1.cl

Re: Interprocess communication woes

2007-07-20 Thread Murali
On Jul 19, 4:30 am, Nick Craig-Wood <[EMAIL PROTECTED]> wrote: > Murali <[EMAIL PROTECTED]> wrote: > > After some investigation, I found out that this problem had nothing to > > do with my GUI app not getting refreshed and I was able to reproduce > > this p

Interprocess communication woes

2007-07-18 Thread Murali
re a better or a preferred method for doing interprocess communication in Python. Thanks! Murali. -- http://mail.python.org/mailman/listinfo/python-list

Interprocess communication

2007-07-18 Thread Murali
script correct? Is there a better or a preferred method for doing interprocess communication in Python. Thanks! Murali. -- http://mail.python.org/mailman/listinfo/python-list

Reading stdout and stderr of an external program

2007-07-02 Thread Murali
Hi Python programmers, I need to be able to read the stdout and stderr streams of an external program that I launch from my python script. os.system( 'my_prog' + '>& err.log' ) and was planning on monitoring err.log and to display its contents. Is this the best way

message handling in Python / wxPython

2007-01-30 Thread murali iyengar
Thanks and Regards, Murali M.S -- http://mail.python.org/mailman/listinfo/python-list

Re: how to delete matplotlib data between ploting

2006-12-07 Thread Murali
pylab.clf() or some such thing clears the current canvas. [EMAIL PROTECTED] wrote: > I want to make few plots from CSV files. I have the code below - it > works - the first plot is ok, the second one has the first and the > current data set and so on - I can't delete the plot data between > plots

Re: Reverse function python? How to use?

2006-10-29 Thread Murali
Something like this? [code] foo = [x1,x2,x3,x4,x5] bar = [math.sqrt(math.fabs(x))+5*math.pow(x,3) for x in foo] bar.reverse() print bar [/code] frankie_85 wrote: > Ok I'm really lost (I'm new to python) how to use the reverse function. > > > I made a little program which basically the a, b, c, d,

Re: reusing parts of a string in RE matches?

2006-05-10 Thread Murali
27;aba', 'aba', 'aba', 'aba'] Wonderful and this works with any regexp, so import re def all_occurences(pat,str): return re.findall(r'(?=(%s))'%pat,str) all_occurences("a.a","abacadabcda") returns ["aba","aca","ada"] as required. - Murali -- http://mail.python.org/mailman/listinfo/python-list

Re: reusing parts of a string in RE matches?

2006-05-10 Thread Murali
( (x+m.start(),x+m.end())) # now ans is a list of pairs (p,q) where the substring string[p:q] matches pattern - Murali -- http://mail.python.org/mailman/listinfo/python-list

Re: append function problem?

2006-04-27 Thread Murali
A typo here? seed v/s seed1. Instead of "print(seed.append(5))", try "seed.append(5)" followed by "print seed" -- "print(seed)" also works. The append method does not return the appended value (like many C functions). - Murali -- http://mail.python.org/mailman/listinfo/python-list

Re: Make staticmethod objects callable?

2006-02-28 Thread Murali
@staticmethod def similar(regexp,string): self['similar'] = Callable(similar) The above did not work. The error message was still related to a staticmethod not being a callable. - Murali -- http://mail.python.org/mailman/listinfo/python-list

Re: Efficient Find and Replace

2006-01-28 Thread Murali
replace single items with lists e.g. L[x:x+1]= ["a","b","c"], It has to be a little more clever. But with good data structure design I beleive that this overhead can be amortized to O(1). The optional argument to lst.index also makes that an linear time code. Thanks f

Re: Efficient Find and Replace

2006-01-27 Thread Murali
(X), I mean search for X and then replace it with Y. Here every time the search starts from the beginning of the list. Hence the inefficiency. - Murali -- http://mail.python.org/mailman/listinfo/python-list

Efficient Find and Replace

2006-01-27 Thread Murali
allow me efficient serial access to the list elements. - Murali -- http://mail.python.org/mailman/listinfo/python-list

Re: Python String Substitution

2006-01-27 Thread Murali
. - Murali -- http://mail.python.org/mailman/listinfo/python-list

Re: good library for pdf

2006-01-26 Thread Murali
Pulling out pages from existing PDF files can be done with Open Source stuff. The simplest would be pdftk (PDF Toolkit). The most fancy will be using latex and the pdfpages package together with pdflatex. - Murali -- http://mail.python.org/mailman/listinfo/python-list

Re: generating method names 'dynamically'

2006-01-26 Thread Murali
rguments accepted by bar. Hope this answers your questions. - Murali -- http://mail.python.org/mailman/listinfo/python-list

Re: generating method names 'dynamically'

2006-01-26 Thread Murali
import inspect x = ABC() # create an instance of class ABC print inspect.getmembers(x,inspect.ismethod) Most of any introspection stuff can be done using the module "inspect". -- http://mail.python.org/mailman/listinfo/python-list

Python String Substitution

2006-01-26 Thread Murali
uot; % d Is there a way to print "Right" using % substitution? print "%((1,2))s" % d gives me "Wrong". Is there any syntax which will allow me to get "Right" using % substitution? - Murali -- http://mail.python.org/mailman/listinfo/python-list