[Tutor] how to express shift+enter in python

Steven D'Aprano steve at pearwood.info
Sun Sep 28 18:25:12 CEST 2014


On Sun, Sep 28, 2014 at 11:11:26PM +0800, lei yang wrote:
> Hi Chris,
> 
> I just use "xlwt" lib to newline in one cell, I find it display with one
> line in windows but works in linux, so I guess it maybe"shift+enter" to
> newline

I am afraid I have no idea what you are talking about. Can you show some 
code, and the expected result?

Regards,

Steve

> Lei
> 
> 
> On Sun, Sep 28, 2014 at 11:04 PM, Chris “Kwpolska” Warrick <
> kwpolska at gmail.com> wrote:
> 
> > On Sun, Sep 28, 2014 at 4:53 PM, lei yang <yanglei.fage at gmail.com> wrote:
> > > Hi expert,
> > >
> > > How to express shift+enter in python ?
> > >
> > > Thanks
> >
> > What do you want to express, exactly?  This key combination can have
> > multiple meanings and ways to achieve it, depending on your needs.  Do
> > you want to send the key combination to an app?  What is it, exactly,
> > that you want to do?  What app uses Shift+Enter in the way you want to
> > use it?
> >
> > --
> > Chris “Kwpolska” Warrick <http://chriswarrick.com/>
> > PGP: 5EAAEA16
> > stop html mail | always bottom-post | only UTF-8 makes sense
> >

> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list