Hi Alan,

I think geany is not available for debian linux.  We have talked about this 
some time ago and that is when I settled on using drpython, although I am 
not totally happy with it.

I will go take another look for geany for debian linux.

Comer

On Tuesday, April 17, 2012 1:31:04 PM UTC-4, brombo wrote:
>
>  On 04/17/2012 11:49 AM, Comer wrote: 
>
> Sergiu, 
>
>  Thanks for the response.  I have grabbed the fixinddent code and tried 
> it out on a copy of matrices.py. It does 'fix' some stuff in the 
> dual_matrix() method, but the resulting code does not pass python's 
> indentation daemon, who is ever lurking.  Clean code is clearly my 
> objective but so far I have not seen just what silliness is being 
> committed...
>
>  Thanks for trying to code and reporting what you saw.
>
>  Comer
>
> On Tuesday, April 17, 2012 10:43:53 AM UTC-4, scolobb wrote: 
>>
>> Hello, 
>>
>> On Tue, Apr 17, 2012 at 5:30 PM, Comer <comer.dun...@gmail.com> wrote:
>> >
>> > I am having a problem with indentation in my current version of the
>> > dual_matrix method.  I have been working on the new methods in ipython
>> > notebooks (ver .13 dev), which I have found to be a very productive
>> > environment.  The newest version of the method works in the notebook.
>> > However, when I key it in using my default editor TextWranger in 
>> matrices.py
>> > and run test_matrices.py it complains about indendation.  But not in the
>> > notebook.  I said keyed in above since I am a bit leary to paste code 
>> from
>> > one app to another.  However, apparently I still have made some 
>> indentation
>> > error(s).  Very annoying.  I am attaching the code. Can you take a look 
>> and
>> > give me some idea about which part of the georgraphy is inducing a 
>> stumble?
>>
>> For me, Python chews rather happily the piece of code you have shown.
>> I have even tried dual_matrix(None) to get an error (obviously).
>>
>> However, I have noticed that, at times, you use spaces for indenting,
>> and at times there are tabs.  For example, line 21 is indented using a
>> tab, while line 22 is indented with spaces only; lines 25 and 26 are
>> indented with spaces at first and then with tabs, etc.  While I don't
>> have any trouble getting this code to run, I distinctly remember that
>> mixing spaces and tabs caused me some problems in a different
>> language.
>>
>> This guy [0] says that mixing spaces and tabs can be bad, too :-)
>>
>> Sergiu
>>
>> [0] 
>> http://www.cogsci.nl/blog/tutorials/136-fix-mixed-tabspace-indentation-in-python-code
>>  
>  -- 
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/sympy/-/1lGDNyilzGUJ.
> To post to this group, send email to sympy@googlegroups.com.
> To unsubscribe from this group, send email to 
> sympy+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/sympy?hl=en.
>
> You might want to consider using "geany" as an editor.  It automatically 
> converts tabs to spaces (go to the edit preferences tabs for the editor and 
> files).
>  

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sympy/-/4J1t_iO9WEUJ.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to