-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing Modules #2 #8
Comments
Basically, you add the path to the module, then import it.
See https://github.com/kewlbear/YoutubeDL-iOS/blob/811ea597014bc483f44737a1d80c54d0896c36b0/Sources/YoutubeDL/YoutubeDL.swift#L147 for more sophisticated example. |
Thank you! And what is the major version of your PythonKit package? I put 0.0.1 in swift package manager, but it gave me an error |
You should not use my fork. Use https://github.com/pvieito/PythonKit. |
Thank you |
I would like to know how to import Python modules. I tried to use it like this:
override func viewDidLoad() {
super.viewDidLoad()
PythonSupport.initialize()
}
extension PlayerViewController: PlayerDelegate {
The text was updated successfully, but these errors were encountered: