plug_license
#
Plugs license from the specified file path.
@staticmethod
def plug_license(path):
...
| Parameter |
Type |
Description |
| path |
str |
The path to the license file. |
Examples
#
slidize.License.plug_license("MyLicense.lic")
Exceptions
#
| Exception |
Description |
| RuntimeError(Proxy error(ArgumentException)) |
|
plug_license
#
Plugs license from the specified stream.
@staticmethod
def plug_license(stream):
...
| Parameter |
Type |
Description |
| stream |
io.RawIOBase |
The stream from which to read the license data. |
Examples
#
with open("MyLicense.lic", "rb") as my_stream:
slidize.License.plug_license(my_stream)
Exceptions
#
| Exception |
Description |
| RuntimeError(Proxy error(ArgumentException)) |
|
See Also
#