Skip to content
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

strange behavior when running on Windows #379

Open
stephane-archer opened this issue Aug 2, 2024 · 0 comments
Open

strange behavior when running on Windows #379

stephane-archer opened this issue Aug 2, 2024 · 0 comments

Comments

@stephane-archer
Copy link

stephane-archer commented Aug 2, 2024

On Windows youtube-upload --help open Firefox and display:

#!C:\Users\steph\AppData\Local\Programs\Python\Python310\python.exe

if __name__ == '__main__':
    
    #Allows you to a relative import from the parent folder
    import os.path, sys
    sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir))    
    
    from youtube_upload import main    
    main.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant