Jump to content

IronPyton - trying to learn


jungleNZ

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 90 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use