diff --git a/README.md b/README.md index 3547db5..7a94ea0 100644 --- a/README.md +++ b/README.md @@ -3466,7 +3466,7 @@ $ pyinstaller script.py --onefile # Compiles into './dist/script' c $ pyinstaller script.py --windowed # Compiles into './dist/script' windowed app. $ pyinstaller script.py --add-data ':.' # Adds file to the root of the executable. ``` -* **Paths of files have to be changed to `'os.path.join(sys._MEIPASS, "")'`.** +* **File paths need to be changed to `'os.path.join(sys._MEIPASS, )'`.** ### Basic Script Template ```python diff --git a/index.html b/index.html index 7eab518..25900d1 100644 --- a/index.html +++ b/index.html @@ -2939,7 +2939,7 @@ $ pyinstaller script.py --add-data '<path>:.' -
  • Paths of files have to be changed to 'os.path.join(sys._MEIPASS, "<path>")'.
  • +
  • File paths need to be changed to 'os.path.join(sys._MEIPASS, <path>)'.
  • Basic Script Template

    #!/usr/bin/env python3
     #