-
Notifications
You must be signed in to change notification settings - Fork 0
Imports
Rajesh Gautam edited this page Jun 12, 2026
·
1 revision
import{"packagename", nickname}\
Then use it as nickname.method{...}.
import{"math", m}\
pcAI is built-in — no import needed. It is always available.
If you want to use it under a different name:
import{"pcAI", mybot}\
mybot.ask{"Hello!"}\
This creates a fresh pcAI instance under the nickname mybot.
You can import any Python standard library package or any pip-installed package:
import{"random", r}\
import{"os", operating_system}\
import{"json", j}\