do python's nifty indentation rules spell the death of one-liners?

A. Lloyd Flanagan alloydflanagan at attbi.com
Wed Apr 16 17:14:23 EDT 2003


grante at visi.com (Grant Edwards) wrote in message news:<3e9d9bb9$0$151$a1866201 at newsreader.visi.com>...
> In article <a8b7f07a.0304160946.73760d3a at posting.google.com>, A. Lloyd Flanagan wrote:
> > Dan Jacobson <jidanni at dman.ddts.net> wrote in message news:<87he90b8rp.fsf at jidanni.org>...
> > 
> > python << DONE
> > print 2
> > for i in (1,4):
> >      print i
> > DONE
> 
> But how do you do it in a Makefile?

Err.  Put it in a script file, and call the script file from make?  I
tried sticking it in a Makefile, can't get it to work.  So far.




More information about the Python-list mailing list