Problems with 'scipy.sparse.linalg.dsolve.umfpack'

2010-05-03 Thread pp
Hello all, I have this equation to solve where variable LHS is a sparse matrix and RHS is an array . c = linsolve.spsolve(LHS, RHS) i get this error warn( 'scipy.sparse.linalg.dsolve.umfpack will be removed,'\ ' install scikits.umfpack instead' what is the reason for this and

Operations on sparse matrices

2010-04-19 Thread pp
I am currently dealing with sparse matrices and have doubts on whether we can use 1.) dot (for matrix multiplication) and inv (inverse) operations of numpy on sparse matrices of CSR format. I initially constructed my sparse matrix using COO format and then converted it to CSR format now I want to

Re: Operations on sparse matrices

2010-04-19 Thread pp
I tried csr_matrix.dot(A,N) where A and N are two sparse matrices. is it correct for multiplication of two sparse matrices ? I still do not now how to perform matrix inversion for a sparse matrix. Can anyone please help. Thanks!! On Apr 19, 12:03 am, pp parul.pande...@gmail.com wrote: I am

Re: Porblem with xlutils/xlrd/xlwt

2010-01-10 Thread pp
On Jan 9, 8:23 am, John Machin sjmac...@lexicon.net wrote: On Jan 9, 9:56 pm, pp parul.pande...@gmail.com wrote: On Jan 9, 3:52 am, Jon Clements jon...@googlemail.com wrote: On Jan 9, 10:44 am, pp parul.pande...@gmail.com wrote: On Jan 9, 3:42 am, Jon Clements jon...@googlemail.com

Append to an Excel file

2010-01-09 Thread pp
Hi All, How do I add a line to an existing file. This should append to the existing data in the excel file, which was saved previously. Thanks, PP -- http://mail.python.org/mailman/listinfo/python-list

Re: Append to an Excel file

2010-01-09 Thread pp
On Jan 9, 1:47 am, Jason Scheirer jason.schei...@gmail.com wrote: On Jan 9, 12:30 am, pp parul.pande...@gmail.com wrote: Hi All, How do I add a line to an existing file. This should append to the existing data in the excel file, which was saved previously. Thanks, PP http

Porblem with xlutils/xlrd/xlwt

2010-01-09 Thread pp
Whenever i run the code below I get the following error: AttributeError: 'Book' object has no attribute 'on_demand' WARNING: Failure executing file: copy.py Why is it so?? from xlrd import open_workbook from xlwt import easyxf from xlutils.copy import copy rb =

Re: Porblem with xlutils/xlrd/xlwt

2010-01-09 Thread pp
On Jan 9, 3:42 am, Jon Clements jon...@googlemail.com wrote: On Jan 9, 10:24 am, pp parul.pande...@gmail.com wrote: Whenever i run the code below I get the following error: AttributeError: 'Book' object has no attribute 'on_demand' WARNING: Failure executing file: copy.py Why

Re: Porblem with xlutils/xlrd/xlwt

2010-01-09 Thread pp
On Jan 9, 3:52 am, Jon Clements jon...@googlemail.com wrote: On Jan 9, 10:44 am, pp parul.pande...@gmail.com wrote: On Jan 9, 3:42 am, Jon Clements jon...@googlemail.com wrote: On Jan 9, 10:24 am, pp parul.pande...@gmail.com wrote: Whenever i run the code below I get the following

Re: firefox timestamp

2008-09-08 Thread abhilash pp
thanks Fredrik, yeah it works !!! On Mon, Sep 8, 2008 at 8:11 PM, Fredrik Lundh [EMAIL PROTECTED]wrote: abhilash pp wrote: I don't know if this question will fit on this section, any way my query is , i have used one script demork.py to extract details from Firefox history.dat file

firefox timestamp

2008-09-08 Thread abhilash pp
Hi all, I don't know if this question will fit on this section, any way my query is , i have used one script demork.py to extract details from Firefox history.dat file and now the problem is how to convert the TIMESTAMP given by that to normal date and time. example timestams are like this,

firefox timestamp

2008-09-07 Thread abhilash pp
hi all, -- http://mail.python.org/mailman/listinfo/python-list

how can i stop script from running on login ?

2008-05-30 Thread abhilash pp
Hi all, One of my friends played some tricky thing, and now I am in great trouble, please help Here is the scenario [windows xp ]: He wrote one login script and put it on the start program folder under 'All Users' The script is like this it will issue a log off command when we login; due to

Re: how can i stop script from running on login ?

2008-05-30 Thread abhilash pp
thanks Benjamin, i have to try it out On Fri, May 30, 2008 at 6:31 PM, Benjamin Kaplan [EMAIL PROTECTED] wrote: On Fri, May 30, 2008 at 8:44 AM, abhilash pp [EMAIL PROTECTED][EMAIL PROTECTED] wrote: Hi all, One of my friends played some tricky thing, and now I am in great trouble

Re: can someone with guessing a number

2008-05-22 Thread abhilash pp
On Wed, May 21, 2008 at 10:35 PM, Dan Upton [EMAIL PROTECTED] wrote: On Wed, May 21, 2008 at 12:55 PM, abhilash pp [EMAIL PROTECTED][EMAIL PROTECTED] wrote: On Wed, May 21, 2008 at 10:12 PM, garywood [EMAIL PROTECTED] wrote: I would just like the program to exit after guessing the amount

Re: can someone with guessing a number

2008-05-21 Thread abhilash pp
if tries 10: print 'you failed- give up' On Wed, May 21, 2008 at 10:12 PM, garywood [EMAIL PROTECTED] wrote: I would just like the program to exit after guessing the amount of numbers wrong # Guess My Number import random the_number = random.randrange(100) + 1 tries = 1 #

Re: can someone with guessing a number

2008-05-21 Thread abhilash pp
if tries 10: print 'you failed- give up' break --- use this On Wed, May 21, 2008 at 10:24 PM, abhilash pp [EMAIL PROTECTED][EMAIL PROTECTED] wrote: if tries 10: print 'you failed- give up' On Wed, May 21, 2008 at 10:12 PM, garywood [EMAIL

Re: AttributeError: module object has no attribute

2008-05-20 Thread abhilash pp
hai nikhil, please check your __init__ file if you had any cheers, abhilash On Tue, May 20, 2008 at 11:00 PM, Nikhil [EMAIL PROTECTED] wrote: I have recently written a small module. When I import the module, I always get the error only when I do from local.my.module import * --

is it possible to write python scripts in mainframe like REXX ??

2007-06-19 Thread abhilash pp
hai folks , i am extremely new to this list can anybody tell me where can i find docs that are related to sripting in mainframe using python or how can we use python instered of REXX in mainframe how can i run python scripts in mainframe any help will be appreciated. thanks in advance