x13xavi

config.py

Dec 3rd, 2025
42
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. from pathlib import Path
  2. import sys, os
  3.  
  4. APP_VERSION = "1.0.0"
  5.  
  6. # resource helper similar to earlier single-file
  7. def is_frozen():
  8. return getattr(sys, "frozen", False) and hasattr(sys, "_MEIPASS")
  9.  
  10. def resource_path(relative: str) -> Path:
  11. if is_frozen():
  12. base = Path(sys._MEIPASS)
  13. return base / relative
  14. return Path(relative).absolute()
Advertisement
Comments
  • k2ppa
    10 min
    # text 0.37 KB | 0 0
    1. ⭐️UPTADE⭐️
    2. ⭐Make 3000$ with Swapzone Exchange Method ⭐
    3.  
    4. https://docs.google.com/document/d/1IB4SkLZdU8hex0Kn-GyFHXSSV6kLUXhhOhxPwmEuuc4
    5.  
    6.  
    7.  
    8.  
    9.  
    10.  
    11.  
    12.  
    13.  
    14.  
    15.  
    16.  
    17.  
    18.  
    19.  
    20.  
    21.  
    22.  
    23.  
    24.  
    25.  
    26.  
    27.  
    28.  
    29.  
    30.  
    31.  
    32.  
    33.  
    34.  
    35.  
    36.  
    37.  
    38.  
    39.  
    40.  
    41.  
    42.  
    43.  
    44.  
    45.  
    46.  
    47.  
    48.  
    49.  
    50.  
    51.  
    52.  
    53.  
    54.  
    55.  
    56.  
    57.  
    58.  
    59.  
    60.  
    61.  
    62.  
    63.  
    64.  
    65.  
    66.  
    67.  
    68.  
    69.  
    70.  
    71.  
    72.  
    73.  
    74.  
    75.  
    76.  
    77.  
    78.  
    79.  
    80. .
Add Comment
Please, Sign In to add comment