how can i load and split a file seprated by // to key value pairs dictionary

  • Thread starter Thread starter elfenliedtopfan2
  • Start date Start date
E

elfenliedtopfan2

Guest
hello all i am trying my best to load and split this file here that is seprated by // to key value pairs


so key // value

this is the file in question.

File i want to parse

the file is all one line.


but i need to miss out WEAPONFILE at the start as thats just explaining what the file is form there i need to do parse methord but i not sure how to populate the dictionary when you load a file in or how to split them at the // i have tryied string.split

but it dont seem to work the way i would want it to

if anyone could help would be so much appeicated

Continue reading...
 
Back
Top