Why use backticks?

Greg Ewing (using news.cis.dfn.de) ckea25d02 at sneakemail.com
Thu May 8 20:40:49 EDT 2003


Paul Watson wrote:
> Do you think there would be any interest in having backticks mean the same
> thing as in Perl?
> 
> x = `ls -al`
> 
> would turn into x = os.popen('ls -al') with an rstrip('\n') on each line?

I'm pretty sure the BDFL would run away screaming from
this idea...

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list