Disconnected structures, such as salts or mixtures where components are not covalently bonded, are represented by separating the individual SMILES strings with a dot (.).
For example, sodium propionate is written as CCC(=O)[O-].[Na+]. The SMILES for acetate (CCC(=O)[O-]) is separated from the sodium ion ([Na+]) by a dot.
Code:
Sodiumpropionate = Chem.MolFromSmiles("CCC(=O)[O-].[Na+]")
Sodiumpropionate
Figure 1: Structure of Sodium propionate.