jungleNZ Posted March 19, 2020 Share Posted March 19, 2020 Hi, Trying to learn ironpython, one by looking over existing scripts, two through net searches. What is/are good sites to look at? Also working on workshop mods, seeing some made and ready to use, I am trying to make the wreckfest one work. I have it where mod goes to folder, that part all good, but the .cfg file needs to have the fileid written into it. What is best way, do I use configparser or is that all wrong. I have tried to look at the ark one which writes to ini but does not seem to be for cfg. Guidance and/or help would be appreciated. jungle (James) Link to comment Share on other sites More sharing options...
LFA Posted March 19, 2020 Share Posted March 19, 2020 Look at the updated ark script. It uses regular expressions to update the .ini file. It should work for any cfg that uses the format variable=value You can learn iron python from any python tutorial. It's basically the same with the added benefit of being able to also use the .NET class library. I just started by learning the basic python syntax from Google and using the .NET classes. You will notice most of my scripts only use .NET unless I found python code that would do exactly what I needed. Link to comment Share on other sites More sharing options...
jungleNZ Posted March 19, 2020 Author Share Posted March 19, 2020 Thanks LFA. Will look around. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now