No, import operations are not supported in the Script connectors.
You can use any of the operations in these libraries without an 'import' statement.
The Python script connector includes all default libraries in version 3.6 (our connector is currently running on ver 3.8). However, we do not support custom/ad-hoc ones created by the user. Please see the documentation below for further details.
Python Script Connector