so I know you can append a string. But how do you *prepend* a string,
as shown in the following code

#dirList = ['depth1','depth2','depth3']
#string = """position"""
#for x in len(dirList):
#   string += '>> %s'%dirList.pop()    #(????????????)
#

to return
position>> depth1 >> depth2 >> depth3

rather than
position>> depth3 >> depth2 >> depth1


I really hope this feature exists =)

-thanks

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to