¡@

Home 

python Programming Glossary: my_test_dict

how to extract a text file into a dictionary

http://stackoverflow.com/questions/13486203/how-to-extract-a-text-file-into-a-dictionary

Orbital Radius 18128500 Radius 1737000.10 Period 27.321582 my_test_dict for x in nk.splitlines if ' ' in x if x.split ' ' 0 .strip 'RootObject'.. x.split ' ' 1 .strip elif x.split ' ' 0 .strip 'Object' my_test_dict x.split ' ' 1 .strip current_dict x.split ' ' 1 .strip if x.split.. ' ' 1 .strip if x.split ' ' 1 .strip root_obj for x1 in my_test_dict if 'Satellites' in my_test_dict x1 if x.split ' ' 1 .strip..