ya this isnt a pymel thing, just a python thing, what kinda text file is it? if just plain text or csv, you can do what haiddaslami said. But if it is more complex Data like XML or JSON you can use ElemeantTree for parsing XML data or python's JSON module. if you can provide a sample of the data, and how it needs to be…
Hey Lamont, is the data stored in an xml or another nice format to do stuff like splintlines or split by delimiters ( space tab / whatever fancy symbol) ? This wouldnt be a pymel thing by the way. Just how to do stuff with Python. Cant remember what version python Maya uses think its 2.7 so heres the doc for strings.…
I am new to PyMel and Python as a whole, I am trying to load a text file and parse through it. I can load a text file and read what is in it, I want to look for exact strings. select text an so on. If you know the page in the documentation I can find this, it would be helpful. Or posting a small code sample (even more…