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

A. Lloyd Flanagan alloydflanagan at
Wed Apr 16 23:14:23 CEST 2003

grante at (Grant Edwards) wrote in message news:<3e9d9bb9$0$151$a1866201 at>...
> In article <a8b7f07a.0304160946.73760d3a at>, A. Lloyd Flanagan wrote:
> > Dan Jacobson <jidanni at> wrote in message news:<87he90b8rp.fsf at>...
> > 
> > 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