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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
re a better or a preferred method for
doing interprocess communication in Python.
Thanks!
Murali.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
Thanks and Regards,
Murali M.S
--
http://mail.python.org/mailman/listinfo/python-list
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
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,
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
( (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
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
@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
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
(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
allow me efficient serial access to the list elements.
- Murali
--
http://mail.python.org/mailman/listinfo/python-list
.
- Murali
--
http://mail.python.org/mailman/listinfo/python-list
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
rguments accepted
by bar.
Hope this answers your questions.
- Murali
--
http://mail.python.org/mailman/listinfo/python-list
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
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
34 matches
Mail list logo