newbie question: what does "<...>" or "<input>" signify?

Andrew Kuchling akuchlin at mems-exchange.org
Thu Jul 19 03:24:38 CEST 2001


doug_bartholomew99 at yahoo.com (doug) writes:
> i am new to python and i have seen references in its documentation and
> code to name strings with greater-than and less-than signs, such as
> filename="<input>".  i have looked high and low for an explanation of
> what a string with < and > on both ends means, but have found none. 

They don't mean anything special to Python; the author of the docs simply 
meant that you'd provide the filename for your input file as a string, 
filename="/tmp/input.txt" or whatever.

--amk



More information about the Python-list mailing list