x13xavi

config

Dec 3rd, 2025
54
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.38 KB | None | 0 0
  1. config.py
  2. from pathlib import Path
  3. import sys, os
  4.  
  5. APP_VERSION = "1.0.0"
  6.  
  7. # resource helper similar to earlier single-file
  8. def is_frozen():
  9.     return getattr(sys, "frozen", False) and hasattr(sys, "_MEIPASS")
  10.  
  11. def resource_path(relative: str) -> Path:
  12.     if is_frozen():
  13.         base = Path(sys._MEIPASS)
  14.         return base / relative
  15.     return Path(relative).absolute()
Advertisement
Comments
  • k2ppa
    7 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. .
  • k2ppa
    7 min
    # text 0.30 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