mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-30 01:39:30 +02:00
This works: import klayout.db import klayout.lib print(klayout.db.Library.library_names()) # says ["Basic"] Also works: from klayout import * Does not work: # import klayout.lib needs to be done before the libraries # are used initially import klayout.db print(klayout.db.Library.library_names()) # says [] import klayout.lib print(klayout.db.Library.library_names()) # says []
5 lines
75 B
Plaintext
5 lines
75 B
Plaintext
# klayout library definition file
|
|
|
|
__all__ = [ "tl", "db", "lib", "rdb" ]
|
|
|