Skip to content Skip to sidebar Skip to footer
Showing posts with the label Input

Python: How Can I Read In The Characters From A Line In A File And Convert Them To Floats And Strs, Depending On If They Are Numbers Or Letters?

I have a file that looks like: 1 1 C C 1.9873 2.347 3.88776 1 2 C Si 4.887 9.009 1.21 I would lik… Read more Python: How Can I Read In The Characters From A Line In A File And Convert Them To Floats And Strs, Depending On If They Are Numbers Or Letters?