Skip to content
This repository was archived by the owner on Dec 21, 2019. It is now read-only.
This repository was archived by the owner on Dec 21, 2019. It is now read-only.

How can we send argument to python project #7

Description

@codaman

i've create second char array

i'm using youtube-dl project

NSString* main_script2 = @" -g https://www.youtube.com/watch?v=B3eAMGXFw1o";
const char *c = [main_script2 cStringUsingEncoding:NSUTF8StringEncoding];

python_argv[1] = _Py_char2wchar(c, NULL);

output:

Unable to open main.py, abort.
Leaving

how can we send an argument to main.py

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions