Re: Good editor for python

2018-11-11 Thread tommy yama
Komodo edit is enchanting personally,

On Mon, 12 Nov 2018, 06:06 Andrew Z  Brian, thank you for sharing. Looks very interesting.
>
> On Sun, Nov 11, 2018, 10:46 Brian J. Oney via Python-list <
> python-list@python.org wrote:
>
> > Hi Olivier
> >
> > I am glad you did not trigger an editor war. I don't know how familiar
> you
> > are
> > with emacs. The answer depends alot on your preference and future work.
> > Emacs
> > and vi have been around for a long time for good reasons.
> >
> > If you prefer an extensible and futureproof editor, I can wholeheartedly
> > recommend emacs or vi. I went from a happy emacs user to an even happier
> > spacemacs user. Spacemacs is a batteries-included emacs configuration
> which
> > lets you choose between emacs-like or vi keybindings, which are mnemonic,
> > efficient, consistent, and, above all, discoverable. Discoverability
> > allows a
> > person who has been using something for a while to find out even more
> > tricks
> > in the moment that those tricks would be useful. Spacemacs has tons of
> > bells
> > and whistles and still manages to be fast (through lazy configuration
> > loading).
> >
> > If you are looking at literate programming, Jupyter Notebooks are hard to
> > beat, especially if you want to share code with novices. In case you
> want a
> > medusa that eats everything else for lunch, look further. Such a beast
> can
> > be
> > harnessed with org-mode, an emacs mode which can be just about anything
> you
> > want it to be. You can do literate devops, literate programming, mix
> > programming languages, export to your grandma's toaster, and feed the dog
> > with
> > org-mode, if you want to play. Org-mode's syntax and power is unmatched,
> > to my
> > knowledge.
> >
> > That all depends on how far down the rabbit hole you want to dive. Emacs
> > with
> > pdb is pretty good though. To get the functionality you miss is pretty
> > simple
> > with spacemacs.  For more information and platform-specific instructions,
> > please see the following link.
> >
> > https://github.com/syl20bnr/spacemacs
> >
> > The basic template already activates python support.
> >
> > That's my two cents.
> >
> > Cheers
> > Brian
> >
> > On Sun, 2018-11-11 at 08:45 -0600, Spencer Graves wrote:
> > >People rave about Jupyter Notebooks, which reportedly allow you
> > > to mix narrative with code describing what you are doing and why.
> > >
> > >
> > >I primarily program in R, and RMarkdown Documents in RStudio
> > > allow me to mix narrative with R and Python code.  I explain what I'm
> > > doing and why, then write "```{python}" ... "```" to encapsulate a
> > > Python code snippet and "```{r}" ... "```" for an R code snippet. Or I
> > > just use the Idle editor that comes with Python.
> > >
> > >
> > >Someone suggested that Apache Zeppelin  and / or BeakerX might
> be
> > > able to do this also, but I've not tried or verified them.
> > >
> > >
> > >Spencer Graves
> > >
> > >
> > > On 2018-11-11 08:11, Andrew Z wrote:
> > > > If you do scripts - emacs/vi is the way to go.
> > > > If you need something more (like creating libraries,  classes) go
> with
> > > > pycharm. It is a professionally made IDE.
> > > >
> > > > Over past 2 years ive been trying to "downgrade" myself to something
> > with
> > > > less belts and whistles,  but come back to it all the time.
> > > >
> > > > On the other hand , if you already use emacs - u should not need
> > anything
> > > > else.
> > > >
> > > > On Sun, Nov 11, 2018, 04:15 Olive <
> diolu.remove_this_p...@bigfoot.com
> > wrote:
> > > >
> > > > > I am not a professional programmer but I use Python regularly for
> > custom
> > > > > scripts (and plot with matplotlib). I have just learned VBA for
> > Excel: what
> > > > > I found amazing was their editor: it is able to suggest on the spot
> > all the
> > > > > methods an object support and there is a well-integrated debugger.
> I
> > wonder
> > > > > if something similar exists for Python. For now I just use emacs
> > with the
> > > > > command line pdb. What do people use here? Ideally I would like to
> > have
> > > > > something that is cross platform Windows/Linux.
> > > > >
> > > > > Olivier
> > > > >
> > > > > --
> > > > > https://mail.python.org/mailman/listinfo/python-list
> > > > >
> > >
> > >
> > --
> > https://mail.python.org/mailman/listinfo/python-list
> >
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Good editor for python

2018-11-11 Thread Andrew Z
Brian, thank you for sharing. Looks very interesting.

On Sun, Nov 11, 2018, 10:46 Brian J. Oney via Python-list <
python-list@python.org wrote:

> Hi Olivier
>
> I am glad you did not trigger an editor war. I don't know how familiar you
> are
> with emacs. The answer depends alot on your preference and future work.
> Emacs
> and vi have been around for a long time for good reasons.
>
> If you prefer an extensible and futureproof editor, I can wholeheartedly
> recommend emacs or vi. I went from a happy emacs user to an even happier
> spacemacs user. Spacemacs is a batteries-included emacs configuration which
> lets you choose between emacs-like or vi keybindings, which are mnemonic,
> efficient, consistent, and, above all, discoverable. Discoverability
> allows a
> person who has been using something for a while to find out even more
> tricks
> in the moment that those tricks would be useful. Spacemacs has tons of
> bells
> and whistles and still manages to be fast (through lazy configuration
> loading).
>
> If you are looking at literate programming, Jupyter Notebooks are hard to
> beat, especially if you want to share code with novices. In case you want a
> medusa that eats everything else for lunch, look further. Such a beast can
> be
> harnessed with org-mode, an emacs mode which can be just about anything you
> want it to be. You can do literate devops, literate programming, mix
> programming languages, export to your grandma's toaster, and feed the dog
> with
> org-mode, if you want to play. Org-mode's syntax and power is unmatched,
> to my
> knowledge.
>
> That all depends on how far down the rabbit hole you want to dive. Emacs
> with
> pdb is pretty good though. To get the functionality you miss is pretty
> simple
> with spacemacs.  For more information and platform-specific instructions,
> please see the following link.
>
> https://github.com/syl20bnr/spacemacs
>
> The basic template already activates python support.
>
> That's my two cents.
>
> Cheers
> Brian
>
> On Sun, 2018-11-11 at 08:45 -0600, Spencer Graves wrote:
> >People rave about Jupyter Notebooks, which reportedly allow you
> > to mix narrative with code describing what you are doing and why.
> >
> >
> >I primarily program in R, and RMarkdown Documents in RStudio
> > allow me to mix narrative with R and Python code.  I explain what I'm
> > doing and why, then write "```{python}" ... "```" to encapsulate a
> > Python code snippet and "```{r}" ... "```" for an R code snippet. Or I
> > just use the Idle editor that comes with Python.
> >
> >
> >Someone suggested that Apache Zeppelin  and / or BeakerX might be
> > able to do this also, but I've not tried or verified them.
> >
> >
> >Spencer Graves
> >
> >
> > On 2018-11-11 08:11, Andrew Z wrote:
> > > If you do scripts - emacs/vi is the way to go.
> > > If you need something more (like creating libraries,  classes) go with
> > > pycharm. It is a professionally made IDE.
> > >
> > > Over past 2 years ive been trying to "downgrade" myself to something
> with
> > > less belts and whistles,  but come back to it all the time.
> > >
> > > On the other hand , if you already use emacs - u should not need
> anything
> > > else.
> > >
> > > On Sun, Nov 11, 2018, 04:15 Olive  wrote:
> > >
> > > > I am not a professional programmer but I use Python regularly for
> custom
> > > > scripts (and plot with matplotlib). I have just learned VBA for
> Excel: what
> > > > I found amazing was their editor: it is able to suggest on the spot
> all the
> > > > methods an object support and there is a well-integrated debugger. I
> wonder
> > > > if something similar exists for Python. For now I just use emacs
> with the
> > > > command line pdb. What do people use here? Ideally I would like to
> have
> > > > something that is cross platform Windows/Linux.
> > > >
> > > > Olivier
> > > >
> > > > --
> > > > https://mail.python.org/mailman/listinfo/python-list
> > > >
> >
> >
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Good editor for python

2018-11-11 Thread Brian J. Oney via Python-list
Hi Olivier

I am glad you did not trigger an editor war. I don't know how familiar you are
with emacs. The answer depends alot on your preference and future work. Emacs
and vi have been around for a long time for good reasons.

If you prefer an extensible and futureproof editor, I can wholeheartedly
recommend emacs or vi. I went from a happy emacs user to an even happier
spacemacs user. Spacemacs is a batteries-included emacs configuration which
lets you choose between emacs-like or vi keybindings, which are mnemonic,
efficient, consistent, and, above all, discoverable. Discoverability allows a
person who has been using something for a while to find out even more tricks
in the moment that those tricks would be useful. Spacemacs has tons of bells
and whistles and still manages to be fast (through lazy configuration
loading).

If you are looking at literate programming, Jupyter Notebooks are hard to
beat, especially if you want to share code with novices. In case you want a
medusa that eats everything else for lunch, look further. Such a beast can be
harnessed with org-mode, an emacs mode which can be just about anything you
want it to be. You can do literate devops, literate programming, mix
programming languages, export to your grandma's toaster, and feed the dog with
org-mode, if you want to play. Org-mode's syntax and power is unmatched, to my
knowledge.

That all depends on how far down the rabbit hole you want to dive. Emacs with
pdb is pretty good though. To get the functionality you miss is pretty simple
with spacemacs.  For more information and platform-specific instructions,
please see the following link.

https://github.com/syl20bnr/spacemacs

The basic template already activates python support.

That's my two cents.

Cheers
Brian

On Sun, 2018-11-11 at 08:45 -0600, Spencer Graves wrote:
>    People rave about Jupyter Notebooks, which reportedly allow you 
> to mix narrative with code describing what you are doing and why.
> 
> 
>    I primarily program in R, and RMarkdown Documents in RStudio 
> allow me to mix narrative with R and Python code.  I explain what I'm 
> doing and why, then write "```{python}" ... "```" to encapsulate a 
> Python code snippet and "```{r}" ... "```" for an R code snippet. Or I 
> just use the Idle editor that comes with Python.
> 
> 
>    Someone suggested that Apache Zeppelin  and / or BeakerX might be 
> able to do this also, but I've not tried or verified them.
> 
> 
>    Spencer Graves
> 
> 
> On 2018-11-11 08:11, Andrew Z wrote:
> > If you do scripts - emacs/vi is the way to go.
> > If you need something more (like creating libraries,  classes) go with
> > pycharm. It is a professionally made IDE.
> > 
> > Over past 2 years ive been trying to "downgrade" myself to something with
> > less belts and whistles,  but come back to it all the time.
> > 
> > On the other hand , if you already use emacs - u should not need anything
> > else.
> > 
> > On Sun, Nov 11, 2018, 04:15 Olive  > 
> > > I am not a professional programmer but I use Python regularly for custom
> > > scripts (and plot with matplotlib). I have just learned VBA for Excel: 
> > > what
> > > I found amazing was their editor: it is able to suggest on the spot all 
> > > the
> > > methods an object support and there is a well-integrated debugger. I 
> > > wonder
> > > if something similar exists for Python. For now I just use emacs with the
> > > command line pdb. What do people use here? Ideally I would like to have
> > > something that is cross platform Windows/Linux.
> > > 
> > > Olivier
> > > 
> > > --
> > > https://mail.python.org/mailman/listinfo/python-list
> > > 
> 
> 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Good editor for python

2018-11-11 Thread Spencer Graves
  People rave about Jupyter Notebooks, which reportedly allow you 
to mix narrative with code describing what you are doing and why.



  I primarily program in R, and RMarkdown Documents in RStudio 
allow me to mix narrative with R and Python code.  I explain what I'm 
doing and why, then write "```{python}" ... "```" to encapsulate a 
Python code snippet and "```{r}" ... "```" for an R code snippet. Or I 
just use the Idle editor that comes with Python.



  Someone suggested that Apache Zeppelin  and / or BeakerX might be 
able to do this also, but I've not tried or verified them.



  Spencer Graves


On 2018-11-11 08:11, Andrew Z wrote:

If you do scripts - emacs/vi is the way to go.
If you need something more (like creating libraries,  classes) go with
pycharm. It is a professionally made IDE.

Over past 2 years ive been trying to "downgrade" myself to something with
less belts and whistles,  but come back to it all the time.

On the other hand , if you already use emacs - u should not need anything
else.

On Sun, Nov 11, 2018, 04:15 Olive 
I am not a professional programmer but I use Python regularly for custom
scripts (and plot with matplotlib). I have just learned VBA for Excel: what
I found amazing was their editor: it is able to suggest on the spot all the
methods an object support and there is a well-integrated debugger. I wonder
if something similar exists for Python. For now I just use emacs with the
command line pdb. What do people use here? Ideally I would like to have
something that is cross platform Windows/Linux.

Olivier

--
https://mail.python.org/mailman/listinfo/python-list



--
https://mail.python.org/mailman/listinfo/python-list


Re: Good editor for python

2018-11-11 Thread Andrew Z
If you do scripts - emacs/vi is the way to go.
If you need something more (like creating libraries,  classes) go with
pycharm. It is a professionally made IDE.

Over past 2 years ive been trying to "downgrade" myself to something with
less belts and whistles,  but come back to it all the time.

On the other hand , if you already use emacs - u should not need anything
else.

On Sun, Nov 11, 2018, 04:15 Olive  I am not a professional programmer but I use Python regularly for custom
> scripts (and plot with matplotlib). I have just learned VBA for Excel: what
> I found amazing was their editor: it is able to suggest on the spot all the
> methods an object support and there is a well-integrated debugger. I wonder
> if something similar exists for Python. For now I just use emacs with the
> command line pdb. What do people use here? Ideally I would like to have
> something that is cross platform Windows/Linux.
>
> Olivier
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Good editor for python

2018-11-11 Thread Thomas Jollans
On 11/11/2018 10:14, Olive wrote:
> I am not a professional programmer but I use Python regularly for custom 
> scripts (and plot with matplotlib). I have just learned VBA for Excel: what I 
> found amazing was their editor: it is able to suggest on the spot all the 
> methods an object support and there is a well-integrated debugger. I wonder 
> if something similar exists for Python. For now I just use emacs with the 
> command line pdb. What do people use here? Ideally I would like to have 
> something that is cross platform Windows/Linux.

There are several popular full-featured IDEs, like PyCharm and Spyder.
AFAIK both also have some special support for a scientific workflow with
matplotlib integration.

If you're mainly using Python for scripts you invoke interactively to
create plots and such you might enjoy Jupyter Notebook or JupyterLab.
Completion works great, debugging with ipdb is, well, adequate.

For actual "editors", I'm sure there are ways to make vim or emacs
everything you could possibly want, but there are two popular, modern,
cross-platform programmers' editors that, to my mind, stand out at the
moment:

Sublime Text is a fantastic, powerful and (fairly) fast editor
(proprietary, shareware, 80 USD) with good support for Python with a
number of packages (plugins), chief among them "Anaconda", which gives
you linting and autocompletion.

Visual Studio Code (open source, from Microsoft) is younger and a bit
slower and more bloated, but it has fantastic Python support, including
a well-integrated visual debugger.

There are of course loads and loads of other options. Everything I've
mentioned runs at least on x86_64 Linux, OSX, and Windows.


-- Thomas
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Good editor for python

2018-11-11 Thread Daniele Forghieri

Il 11/11/2018 10:14, Olive ha scritto:

I am not a professional programmer but I use Python regularly for custom 
scripts (and plot with matplotlib). I have just learned VBA for Excel: what I 
found amazing was their editor: it is able to suggest on the spot all the 
methods an object support and there is a well-integrated debugger. I wonder if 
something similar exists for Python. For now I just use emacs with the command 
line pdb. What do people use here? Ideally I would like to have something that 
is cross platform Windows/Linux.

Olivier

    I use eclipse with pydev (the liclipse bundle, really, that is not 
free and is made up by the pydev author): it's multi platform and really 
powerful (but probably not the simple one to use or setup). Is 
constantly updated and lets you works with different interpreters, 
different python version or different virtualenved python (yiu can have 
a project made with python 2.7, another one with python 3.7 and gtk 3, 
another one with the same 3.7 python but different libraries and so on.


    The liclipse installer is simpler to deploy (for window is a single 
.exe file) and you can use it freely for 30 day to see if the system 
suits your need: at the end you can choose to buy it or switch to the 
Eclipse/Pydev and configure/install the stuff you need: git or svn 
extension to work with your version control system, install dBeaver in 
Eclipse (or in Liclipse) to work with database in the same environment 
you use for programming, ...


    There are also some other IDE that I don't use directly but I see 
when I worked with other python developers, namely PyCharm & Wing IDE


    For windows only there are some Visual Studio extension to work 
with Python (if you are used to Microsoft stuff this can be easier) and 
also the Microsoft VS Code editor (this should be multi platform) has 
the python extensions with intellisense but I never used them (I started 
to use Python before this stuff came out).


    With best regards

    Daniele Forghieri




--
https://mail.python.org/mailman/listinfo/python-list