python Programming Glossary: stardict
All instances of a class have the same dict as an attribute in Python 3.2 http://stackoverflow.com/questions/15489567/all-instances-of-a-class-have-the-same-dict-as-an-attribute-in-python-3-2 the galactic position offset times the size of a sector. stardict dict Then the generator code populates each sector 100 of them.. sector 100 of them at the moment with 75 stars kept in stardict. thesector Sector size size 2 #Generate stars for t in range.. #name Star str t name generate_name .capitalize thesector.stardict name Star name random.randint size size random.randint size..
|