[Tutor] append, list and variables

Mary Morris marris1031 at gmail.com
Thu Jul 15 20:32:24 CEST 2010


Hi,
I'm working on a program that parses through all of our source code at my
office and i need to get my code to print a list of the decorators.  I used
a find(@) to locate all the decorators, but I need to assign them to a
variable somehow to get it to print a list. How do I do this? How do I
assign a variable to all the indexed strings after the @ symbol?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100715/c1308112/attachment.html>


More information about the Tutor mailing list