Hi,

This is a generic Python question, not really a Spyder one, so it would be 
better to post it on http://stackoverflow.com  That's a very useful forum and 
usually helpful.

DN

On 03/05/2013, at 8:25 PM, Jeonghoon Choi <[email protected]> wrote:

> Hi, I have something to ask. I think it's very easy question.
> 
> This  is related to Spyder. Actually I am used to using matlab, so I am using 
> spyder because it provides very similar environment to matlab.
> 
> I made a scipt, 'abc.py' in which function abs(A,B,C) is defined.
> 
> This function returns matrices K and S.
> 
> I am now running this program by following steps.
> 
> 1. type on the console as 
> >>> runfile(r'abc.py')
> 
> => Then I can declare the function abc(A,B,C)
> 
> 2. Now, I retype (I already have the input matrices A, B and C)
> >>> (K,S) = abc(A,B,C)
> 
> => Then I can get the resulting matrices, K and S.
> 
> I think there would be one way to run this program by one step.
> 
> If in matlab, after I made a function file, I just type >> (K,S) = abc(A,B,C).
> 
> Please help.
> 
> Thanks.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "spyder" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/spyderlib?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to