1.
testPath = '/here/is/my/path/here/is/my/path/here/is/my/path'
I want to get this path from the variable above.
/here/is/my/path/here/is/my/path/here/is/my/
I could use testPath.split('/') then manually create the path but i
think they may be an easier way to generate the string.2. I'm reading in an xml file and would like to get the version '6' from the string below. How would you do that efficiently? Again I may use split function but i'm sure there are more convenient ways <xmlTest test1="myPic" test2="1234" myVersion="6"> Thanks for reading. -- http://groups.google.com/group/python_inside_maya
