Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #66250 > unrolled thread

Re: better and user friendly IDE recommended?

Started byMartin Schöön <martin.schoon@gmail.com>
First post2014-02-13 21:27 +0000
Last post2014-03-09 19:58 -0400
Articles 6 — 3 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: better and user friendly IDE recommended? Martin Schöön <martin.schoon@gmail.com> - 2014-02-13 21:27 +0000
    Re: better and user friendly IDE recommended? Rustom Mody <rustompmody@gmail.com> - 2014-02-13 19:52 -0800
      Re: better and user friendly IDE recommended? Martin Schöön <martin.schoon@gmail.com> - 2014-02-14 21:35 +0000
        Re: better and user friendly IDE recommended? Martin Schöön <martin.schoon@gmail.com> - 2014-03-09 23:22 +0000
          Re: better and user friendly IDE recommended? Michael Weylandt <michael.weylandt@gmail.com> - 2014-03-09 20:01 -0400
          Re: better and user friendly IDE recommended? Michael Weylandt <michael.weylandt@gmail.com> - 2014-03-09 19:58 -0400

#66250 — Re: better and user friendly IDE recommended?

FromMartin Schöön <martin.schoon@gmail.com>
Date2014-02-13 21:27 +0000
SubjectRe: better and user friendly IDE recommended?
Message-ID<bm4rlhFl3i0U1@mid.individual.net>
Den 2013-09-17 skrev rusi <rustompmody@gmail.com>:
> On Wednesday, September 11, 2013 7:44:04 PM UTC+5:30, 
> mnishpsyched wrote:
>> Hey i am a programmer but new to python. Can anyone guide 
>> me in knowing which is a better IDE used to develop web 
>> related apps that connect to DB using python?
>
> Just saw this
> http://www.youtube.com/watch?v=1-dUkyn_fZA
>
> Yeah... scientific programming and web programming are hardly the same :-)
> Still it might be worth 20 minutes of your time

I have started testing this. It is early days so too early to pass
judgement.

Anyone out there using Emacs + Python + Orgmode like this?
I might to need ask some questions :-)

/Martin

[toc] | [next] | [standalone]


#66279

FromRustom Mody <rustompmody@gmail.com>
Date2014-02-13 19:52 -0800
Message-ID<7eab4785-4db6-416f-9bc2-56470ab9d7db@googlegroups.com>
In reply to#66250
On Friday, February 14, 2014 2:57:13 AM UTC+5:30, Martin Schöön wrote:
> Den 2013-09-17 skrev rusi 
> > On Wednesday, September 11, 2013 7:44:04 PM UTC+5:30, 
> > mnishpsyched wrote:
> >> Hey i am a programmer but new to python. Can anyone guide 
> >> me in knowing which is a better IDE used to develop web 
> >> related apps that connect to DB using python?
> > Just saw this
> > http://www.youtube.com/watch?v=1-dUkyn_fZA
> > Yeah... scientific programming and web programming are hardly the same :-)
> > Still it might be worth 20 minutes of your time

> I have started testing this. It is early days so too early to pass
> judgement.

> Anyone out there using Emacs + Python + Orgmode like this?
> I might to need ask some questions :-)

The speaker -- Kitchin -- is quite active on the org mode list.
And a bunch of other babel users. You should try there.
And please do report back your findings!

[toc] | [prev] | [next] | [standalone]


#66331

FromMartin Schöön <martin.schoon@gmail.com>
Date2014-02-14 21:35 +0000
Message-ID<bm7ghfF7nodU1@mid.individual.net>
In reply to#66279
Den 2014-02-14 skrev Rustom Mody <rustompmody@gmail.com>:
> On Friday, February 14, 2014 2:57:13 AM UTC+5:30, Martin Schöön wrote:
>> Den 2013-09-17 skrev rusi 
>> > On Wednesday, September 11, 2013 7:44:04 PM UTC+5:30, 
>> > mnishpsyched wrote:
>> > Just saw this
>> > http://www.youtube.com/watch?v=1-dUkyn_fZA
>> > Yeah... scientific programming and web programming are hardly the same :-)
>> > Still it might be worth 20 minutes of your time
>
>> I have started testing this. It is early days so too early to pass
>> judgement.
>
>> Anyone out there using Emacs + Python + Orgmode like this?
>> I might to need ask some questions :-)
>
> The speaker -- Kitchin -- is quite active on the org mode list.
> And a bunch of other babel users. You should try there.
> And please do report back your findings!

Right. I expected this response. I hoped to keep a cap on the
number of cyberpubs I hang out in :-)

And I prefer the usenet above all other alternatives.

OK, I will dive into the Orgmode pond and I will report back but
please be patient. This is a pure spare time activity.

/Martin

[toc] | [prev] | [next] | [standalone]


#68106

FromMartin Schöön <martin.schoon@gmail.com>
Date2014-03-09 23:22 +0000
Message-ID<bo4bdhF6retU1@mid.individual.net>
In reply to#66331
Den 2014-02-14 skrev Martin Schöön <martin.schoon@gmail.com>:
> Den 2014-02-14 skrev Rustom Mody <rustompmody@gmail.com>:
>> On Friday, February 14, 2014 2:57:13 AM UTC+5:30, Martin Schöön wrote:
>>> Den 2013-09-17 skrev rusi 
>>> > On Wednesday, September 11, 2013 7:44:04 PM UTC+5:30, 
>>> > mnishpsyched wrote:
>>> > Just saw this
>>> > http://www.youtube.com/watch?v=1-dUkyn_fZA
>>> > Yeah... scientific programming and web programming are hardly the same :-)
>>> > Still it might be worth 20 minutes of your time
>>
>>> I have started testing this. It is early days so too early to pass
>>> judgement.
>>
>>> Anyone out there using Emacs + Python + Orgmode like this?
>>> I might to need ask some questions :-)
>>
>> The speaker -- Kitchin -- is quite active on the org mode list.
>> And a bunch of other babel users. You should try there.
>> And please do report back your findings!
>
> OK, I will dive into the Orgmode pond and I will report back but
> please be patient. This is a pure spare time activity.
>
Here is a first 'report' on this.

First some background on me. My formal programming training dates
back to 1980 and covered Fortran 77 on an IBM mainframe computer.
Later some Pascal and Rocky Mountain Basic was added. I wrote much
of my PhD thesis using vi and LaTeX. Post PhD I used Matlab some
and got exposed to Emacs. I am clearly not a programmer and use
code I write myself very occasionally for supporting my work. I
started to learn Python for fun but have found it useful. All modern
stuff like test drive design, IDEs, object oriented programming
etc are new to me. So now you know why I get things wrong below :-)

Until now I have only used Org-mode in an attempt to organize myself.
I have picked up some neat ideas from Bernt Hansen:
http://doc.norang.ca/org-mode.html
Still my use is very primitive.

Then I came across this thread and the abovementioned talk...

The Orgmode mailing list is a busy place and it seems to me
everyone is very advanced, trying to do things I have problems
fathoming and coding elisp and all. So, I have been lurking and
picking up some ideas on what is possible and I have been
checking them out in the manual and by testing.

My experience of combining Emacs, Orgmode and Python (and
LaTeX) is that it forms a pretty neat system for creating
documented programs, code-enhanced documents and for 
Literate programming. Exporting to PDF and 'tangling' code
seems to work as advertised (so far problems have been my
creations). You can have code with or without row numbers.
You can hide code if you only want to show the results in
your exported document.

What you don't get as far as I can see is code completion,
syntax highlighting etc since Emacs is doing this with
respect to Orgmode and not the programming language you
use.

The following two papers have been helpful/inspiring:

"Acive Documets with Org-mode" by Eric Schulte and 
Dan Davison, Computing in Science & Engineering,
May/June 2011.

"A Multi-Language Computing Environment for Literate
Programming and Reproducible Research" by Eric Schulte,
Dan Davison, Thomas Dye and Carsten Dominik, Journal
of Statistical Software, January 2012, vol. 46, Issue 3.

/Martin

[toc] | [prev] | [next] | [standalone]


#68108

FromMichael Weylandt <michael.weylandt@gmail.com>
Date2014-03-09 20:01 -0400
Message-ID<mailman.7973.1394409676.18130.python-list@python.org>
In reply to#68106

On Mar 9, 2014, at 19:58, Michael Weylandt <michael.weylandt@gmail.com> wrote:

> On Mar 9, 2014, at 19:22, Martin Schöön <martin.schoon@gmail.com> wrote:
>> What you don't get as far as I can see is code completion,
>> syntax highlighting etc since Emacs is doing this with
>> respect to Orgmode and not the programming language you
>> use.
> 
> Put 
> 
> (setq org-src-fontify-natively t)
> 
> In your ~/.emacs or ~/.emacs.d/init.el file for syntax highlighting. 
> 
> To get the 'regular' code editing, move point into a BEGIN_SRC block and type "C-c ' " (Control-C followed by single quote). That will give you your normal python setup in a sub-buffer. Getting Python autocompletion in Emacs is a bit tricky, but there are many options. 

For Python, you'll also want

(setq org-src-preserve-indentation t)

[toc] | [prev] | [next] | [standalone]


#68109

FromMichael Weylandt <michael.weylandt@gmail.com>
Date2014-03-09 19:58 -0400
Message-ID<mailman.7974.1394409925.18130.python-list@python.org>
In reply to#68106
On Mar 9, 2014, at 19:22, Martin Schöön <martin.schoon@gmail.com> wrote:
> What you don't get as far as I can see is code completion,
> syntax highlighting etc since Emacs is doing this with
> respect to Orgmode and not the programming language you
> use.

Put 

(setq org-src-fontify-natively t)

In your ~/.emacs or ~/.emacs.d/init.el file for syntax highlighting. 

To get the 'regular' code editing, move point into a BEGIN_SRC block and type "C-c ' " (Control-C followed by single quote). That will give you your normal python setup in a sub-buffer. Getting Python autocompletion in Emacs is a bit tricky, but there are many options. 

Michael

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web