[IPython-User] indentation on notebook?

Brian Granger ellisonbg@gmail....
Fri Jun 8 14:09:44 CDT 2012


Hmm, I am on FF 12 as well and I don't see this.  Can anyone else
confirm this issue?

On Fri, Jun 8, 2012 at 11:27 AM, Chao YUE <chaoyuejoy@gmail.com> wrote:
> Thanks Brian, then which browser are you using? I am using firefox 12.0 in
> which select several lines then TAB doesn't work...
>
> cheers,
>
> Chao
>
> 2012/6/8 Brian Granger <ellisonbg@gmail.com>
>>
>> In the notebook:
>>
>> * Hitting TAB will insert 4 spaces.
>> * Selecting multiple lines of text and hitting TAB will indent all of
>> then 4 spaces.  SHIFT-TAB will dedent.
>>
>> Cheers,
>>
>> Brian
>>
>> On Fri, Jun 8, 2012 at 11:10 AM, Chao YUE <chaoyuejoy@gmail.com> wrote:
>> > Dear all,
>> >
>> > how do you do indentation in notebook? suppose write my code line by
>> > line in
>> > interactive way, now I finish testing and I want to indent them and
>> > give them a function name? Normally I adjust them manually by hitting
>> > whitespace key line by line. But I have to say, notebook is fantastic!
>> >
>> > cheers,
>> >
>> > Chao
>> > --
>> >
>> > ***********************************************************************************
>> > Chao YUE
>> > Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
>> > UMR 1572 CEA-CNRS-UVSQ
>> > Batiment 712 - Pe 119
>> > 91191 GIF Sur YVETTE Cedex
>> > Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
>> >
>> > ************************************************************************************
>> >
>> >
>> > _______________________________________________
>> > IPython-User mailing list
>> > IPython-User@scipy.org
>> > http://mail.scipy.org/mailman/listinfo/ipython-user
>> >
>>
>>
>>
>> --
>> Brian E. Granger
>> Cal Poly State University, San Luis Obispo
>> bgranger@calpoly.edu and ellisonbg@gmail.com
>> _______________________________________________
>> IPython-User mailing list
>> IPython-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user
>
>
>
>
> --
> ***********************************************************************************
> Chao YUE
> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
> UMR 1572 CEA-CNRS-UVSQ
> Batiment 712 - Pe 119
> 91191 GIF Sur YVETTE Cedex
> Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
> ************************************************************************************
>
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu and ellisonbg@gmail.com


More information about the IPython-User mailing list