see below!
On Fri, Aug 24, 2012 at 2:58 PM, Aaron Meurer <[email protected]> wrote:
> I'm assuming you're running IPython in emacs. If so, you might look
> at this thread:
> http://mail.scipy.org/pipermail/ipython-user/2012-August/010935.html.
>
> By the way, I'm curious about what exact commands you use to invoke
> isympy in emacs.
M-x shell
cd <right directory>
./bin/isympy
¿Are there other ways to do it?
By the way, I finally solved my problem. There were two issues:
1) I had for i in range(3):
for j in range(3):
....
which should have been
for i in range(3):
for j in range(3):
....
2) I hade to make sure %autoindent is OFF. For some reason,
%autoindent ON mangles things. ¿Why?
Kjetil
>
> Aaron Meurer
>
> On Thu, Aug 23, 2012 at 8:21 PM, Kjetil brinchmann Halvorsen
> <[email protected]> wrote:
>> see below.
>>
>> On Thu, Aug 23, 2012 at 9:43 PM, [email protected]
>> <[email protected]> wrote:
>>>> In [65]: for i in range(3):
>>>> ....: for j in range(3):
>>>> ....: if i <= j:
>>>> ....: for l in range(6):
>>>> ....: J[k,l] = diff(Y[i,j], vars[l])
>>>> ....: k=k+1
>>>> ....:
>>>> IndentationError: expected an indented block
>>>
>>> Is the indentation consistent - It seems like it varies between 3 and
>>> 4 spaces. Do you use tab instead of a space or mix tab and space?
>>>
>>
>> I do think the indentation is consistent, I am using only spaces!
>>
>> Kjetil
>>
>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "sympy" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/sympy?hl=en.
>>>
>>
>>
>>
>> --
>> "If you want a picture of the future - imagine a boot stamping on the
>> human face - forever."
>>
>> George Orwell (1984)
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sympy" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/sympy?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
>
--
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."
George Orwell (1984)
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.