How can you copy (clone) a string?

Janko Hauser jhauser at ifm.uni-kiel.de
Tue Oct 3 11:10:03 EDT 2000


Why do you not use a list and append to the list. The range function
returns a ready made list of numbers. The memory ovehead of lists is
not so big, so you would have a fine measure for the used memory.

HTH,
__Janko

-- 
  Institut fuer Meereskunde             phone: 49-431-597 3989
  Dept. Theoretical Oceanography        fax  : 49-431-565876
  Duesternbrooker Weg 20                email: jhauser at ifm.uni-kiel.de
  24105 Kiel, Germany



More information about the Python-list mailing list