def get_resource_path(path: str) -> str: """\ 獲取Resources目錄裏的資源 :param path: :return: """ return os.path.abspath(os.path.normpath(f"resources/{path}"))
可以通過上面的方法獲取
可以瞭解下 os.path,os.getcwd(),pathlib庫的使用
def get_resource_path(path: str) -> str: """\ 獲取Resources目錄裏的資源 :param path: :return: """ return os.path.abspath(os.path.normpath(f"resources/{path}"))
可以通過上面的方法獲取
可以瞭解下 os.path,os.getcwd(),pathlib庫的使用
console.log('VITE_API_URL=' + import.meta.env.VITE_API_URL);
version: '3' services: mysql: image: mysql:tag environment: - MYSQL_LOWER_CASE_TABLE_NAMES=1 volume
day 0: VSCode官方教程 https://code.visualstudio.com/api/get-started/your-first-extension