This tool is really awesome, wanted throw my thanks out there. Makes life a hell of a lot easier, a few simple clicks rather than hunt and search through a bloated python script 
I saw someone request in the first post a way to convert from .txt to .py, and I was thinking how great that would be too. Any word on how to do that, or is still toil and grind for the compiling process?
Thanks again, this editor is a major time saver.
thanks for the comments, glad you like it and find it useful!
Creating a direct .txt to .py conversion would be somewhat difficult since you would loose a lot of the comments and other information that is only located in the python file. I thought about adding the ability for my program to export python information for troops that you could then cut-n-paste into the .py file. However, there seems to be two reasons why this didn't seem to make sense:
1) if somebody is comfortable using python then they can just edit the .py files directly. My editor is more for people who don't want to bother with python
2) if I exported troop data in a python format you'd loose some of the 'shortcuts' that are available. For example, right now you can just type wp(60), knows_common, swadian_face1, etc. If I exported troop information in a .py format I'd end up expanding everything to their specific values. So then you couldn't just make one change at the top of the file to a global variable you'd have to do a find replace or change each individual troop, etc.
So bottom line it seemed like if somebody is comfortable in python than its a lot better just to directly edit that file. If people really think it would be helpful to export information from my editor that you could then cut-n-paste into the python file then let me know and I can think about it.
