Library import corner analysis

Hello!

I am not familiar with English so if there is something not clear, please ask me!!

I am trying to import library file using corner analysis
The code below is what I wish to use in NgSpice text

.lib 'mm018.l' TT

Since there is “TT” added for typical type analysis,
I can’t use the library import using the code below in pyspice

spice_library = SpiceLibrary('./library_to_add')

I have no idea how I should solve this problem, please help me