From takowl at gmail.com  Mon Nov  7 16:39:52 2016
From: takowl at gmail.com (Thomas Kluyver)
Date: Mon, 7 Nov 2016 13:39:52 -0800
Subject: [IPython-dev] Debugger behaviour - do you like the new 'smart
	command mode' feature?
Message-ID: <CAOvn4qjoN+wWwKbTkN4PBCESAg4ePdjz8VV7Xpu5O1L86CMQHw@mail.gmail.com>

The behaviour of the Python debugger changed a bit for 5.0. Previously, the
debugger commands (such as 'c' for continue) would shadow Python variables
with those names; so to show the variable c, you would have to type
print(c).

The new 'smart command mode', from pdb++, prefers the variable names. So if
a variable 'c' is defined, then entering 'c' in the debugger will show that
value rather than continuing. Any command can be used explicitly with a
prefix, e.g. '!!c'.

Some people have found this new behaviour awkward, and we're considering
reverting it. Whether you like the new feature or not, please go and vote
on this issue using the emoji on Github (thumbs up to go back to the old,
thumbs down to keep 'smart command mode'):

https://github.com/ipython/ipython/issues/10037

Thanks,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20161107/ee6e3637/attachment.html>

From alanwilter at gmail.com  Thu Nov 17 15:56:44 2016
From: alanwilter at gmail.com (Alan)
Date: Thu, 17 Nov 2016 20:56:44 +0000
Subject: [IPython-dev] How to convert ipython 2 notebooks to ipython 3?
Message-ID: <CAEznbznyPw2z92CPY5YHpBM_rYuO94BRAaThjM4V=M8TrOrpAQ@mail.gmail.com>

Is there any solution or workaround?

I have more than 60 notebooks, some fairly long and I cannot simply go
through all of them, so a 2to3 for *.ipynb would be right now my top sweet
spot.

Many thanks in advance,

Alan

-- 
Alan Wilter SOUSA da SILVA, DSc
Senior Bioinformatician, UniProt
European Bioinformatics Institute (EMBL-EBI)
European Molecular Biology Laboratory
Wellcome Trust Genome Campus
Hinxton
Cambridge CB10 1SD
United Kingdom
Tel: +44 (0)1223 494588
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20161117/0a81b87c/attachment.html>

From bussonniermatthias at gmail.com  Thu Nov 17 16:00:42 2016
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 17 Nov 2016 13:00:42 -0800
Subject: [IPython-dev] How to convert ipython 2 notebooks to ipython 3?
In-Reply-To: <CAEznbznyPw2z92CPY5YHpBM_rYuO94BRAaThjM4V=M8TrOrpAQ@mail.gmail.com>
References: <CAEznbznyPw2z92CPY5YHpBM_rYuO94BRAaThjM4V=M8TrOrpAQ@mail.gmail.com>
Message-ID: <CANJQusU=xLHUvtTMEqqOCs7GSv+RrqPigBhEZDcgRODfyKeZBw@mail.gmail.com>

Hello Alan,

If you install the recent beta of nbconvert (or wait a bit for it to
be stable), plus use https://pypi.python.org/pypi/jupytercontrib you
should be able to do :

    jupyter nbconvert --to 2to3 <mynotebook.ipynb>

This is based on
https://gist.github.com/takluyver/c8839593c615bb2f6e80 that can be ran
as a standalone script.

Hope that help and happy conversion to Python 3.
-- 
M

On Thu, Nov 17, 2016 at 12:56 PM, Alan <alanwilter at gmail.com> wrote:
> Is there any solution or workaround?
>
> I have more than 60 notebooks, some fairly long and I cannot simply go
> through all of them, so a 2to3 for *.ipynb would be right now my top sweet
> spot.
>
> Many thanks in advance,
>
> Alan
>
> --
> Alan Wilter SOUSA da SILVA, DSc
> Senior Bioinformatician, UniProt
> European Bioinformatics Institute (EMBL-EBI)
> European Molecular Biology Laboratory
> Wellcome Trust Genome Campus
> Hinxton
> Cambridge CB10 1SD
> United Kingdom
> Tel: +44 (0)1223 494588
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> https://mail.scipy.org/mailman/listinfo/ipython-dev
>


From alanwilter at gmail.com  Sat Nov 19 13:55:12 2016
From: alanwilter at gmail.com (Alan)
Date: Sat, 19 Nov 2016 18:55:12 +0000
Subject: [IPython-dev] How to convert ipython 2 notebooks to ipython 3?
In-Reply-To: <CANJQusU=xLHUvtTMEqqOCs7GSv+RrqPigBhEZDcgRODfyKeZBw@mail.gmail.com>
References: <CAEznbznyPw2z92CPY5YHpBM_rYuO94BRAaThjM4V=M8TrOrpAQ@mail.gmail.com>
 <CANJQusU=xLHUvtTMEqqOCs7GSv+RrqPigBhEZDcgRODfyKeZBw@mail.gmail.com>
Message-ID: <CAEznbz=6y87RdktyKgXNDJUYH-CBHzooozu+DASaV7mfznRWOA@mail.gmail.com>

Fantastic Matthias!

Many thanks,

Alan

On 17 November 2016 at 21:00, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> Hello Alan,
>
> If you install the recent beta of nbconvert (or wait a bit for it to
> be stable), plus use https://pypi.python.org/pypi/jupytercontrib you
> should be able to do :
>
>     jupyter nbconvert --to 2to3 <mynotebook.ipynb>
>
> This is based on
> https://gist.github.com/takluyver/c8839593c615bb2f6e80 that can be ran
> as a standalone script.
>
> Hope that help and happy conversion to Python 3.
> --
> M
>
> On Thu, Nov 17, 2016 at 12:56 PM, Alan <alanwilter at gmail.com> wrote:
> > Is there any solution or workaround?
> >
> > I have more than 60 notebooks, some fairly long and I cannot simply go
> > through all of them, so a 2to3 for *.ipynb would be right now my top
> sweet
> > spot.
> >
> > Many thanks in advance,
> >
> > Alan
> >
> > --
> > Alan Wilter SOUSA da SILVA, DSc
> > Senior Bioinformatician, UniProt
> > European Bioinformatics Institute (EMBL-EBI)
> > European Molecular Biology Laboratory
> > Wellcome Trust Genome Campus
> > Hinxton
> > Cambridge CB10 1SD
> > United Kingdom
> > Tel: +44 (0)1223 494588
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > https://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> https://mail.scipy.org/mailman/listinfo/ipython-dev
>



-- 
Alan Wilter SOUSA da SILVA, DSc
Senior Bioinformatician, UniProt
European Bioinformatics Institute (EMBL-EBI)
European Molecular Biology Laboratory
Wellcome Trust Genome Campus
Hinxton
Cambridge CB10 1SD
United Kingdom
Tel: +44 (0)1223 494588
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20161119/8951f8b6/attachment.html>

From ibotsis at isc.tuc.gr  Wed Nov 30 03:03:36 2016
From: ibotsis at isc.tuc.gr (Ioannis Botsis)
Date: Wed, 30 Nov 2016 10:03:36 +0200
Subject: [IPython-dev] IPython Clusters
Message-ID: <e4a4a589-d4a1-9250-fb9e-8002f785b8be@isc.tuc.gr>

Hello there,

I currently initiate ipcluster using PBS mode. In

c.BatchSystemLauncher.batch_template_file = 'mytemplate'

file i describe the commands to the PBS system. Everything works fine.

The
c.PBSEngineSetLauncher.batch_file_name = 'my_pbs_file'

is created according to the "mytemplate".

When i start the # of engines in the tab "IPython Clusters"  of jupyter 
my_pbs_file do not submited automaticaly.
If i submit my_pbs_file from the command prompt, everything works fine.

How can i adjust configuration files in order to my_pbs_file be submited 
automaticaly when i start engines form jupyter?

Thanks

jb


From benjaminrk at gmail.com  Wed Nov 30 03:59:07 2016
From: benjaminrk at gmail.com (MinRK)
Date: Wed, 30 Nov 2016 09:59:07 +0100
Subject: [IPython-dev] IPython Clusters
In-Reply-To: <e4a4a589-d4a1-9250-fb9e-8002f785b8be@isc.tuc.gr>
References: <e4a4a589-d4a1-9250-fb9e-8002f785b8be@isc.tuc.gr>
Message-ID: <CAHNn8BV=JafjKY_11ULoHs-HjCoTBqdadpu=YZ=Ru3QnUH5F9A@mail.gmail.com>

On Wed, Nov 30, 2016 at 9:03 AM, Ioannis Botsis <ibotsis at isc.tuc.gr> wrote:

Hello there,
>
> I currently initiate ipcluster using PBS mode. In
>
> c.BatchSystemLauncher.batch_template_file = 'mytemplate'
>
> file i describe the commands to the PBS system. Everything works fine.
>
> The
> c.PBSEngineSetLauncher.batch_file_name = 'my_pbs_file'
>
> is created according to the "mytemplate".
>
> When i start the # of engines in the tab "IPython Clusters"  of jupyter
> my_pbs_file do not submited automaticaly.
> If i submit my_pbs_file from the command prompt, everything works fine.
>
> How can i adjust configuration files in order to my_pbs_file be submited
> automaticaly when i start engines form jupyter?
>
> You will need to make PBS the default engine launcher in your
ipcluster_config.py file to use PBS by default:

c.IPClusterEngines.engine_launcher_class = 'PBS'

-MinRK

Thanks
>
> jb
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> https://mail.scipy.org/mailman/listinfo/ipython-dev
>
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20161130/7242673a/attachment.html>