Hipace
|
Variables | |
filename = os.path.join( '.', 'relative_atomic_masses.txt' ) | |
text_data = f.read() | |
string | regex_command = 'Atomic Number = \d+\n' + \ |
list_of_tuples = re.findall( regex_command, text_data ) | |
dictionary | average_mass_dict = {} |
mass = float(tupel[1]) | |
string | cpp_str |
dictionary write_atomic_weight_cpp.average_mass_dict = {} |
string write_atomic_weight_cpp.cpp_str |
write_atomic_weight_cpp.filename = os.path.join( '.', 'relative_atomic_masses.txt' ) |
write_atomic_weight_cpp.list_of_tuples = re.findall( regex_command, text_data ) |
tuple write_atomic_weight_cpp.mass = float(tupel[1]) |
string write_atomic_weight_cpp.regex_command = 'Atomic Number = \d+\n' + \ |
write_atomic_weight_cpp.text_data = f.read() |