19 lines
305 B
Python
19 lines
305 B
Python
import os
|
|
from dotenv import load_dotenv
|
|
load_dotenv()
|
|
|
|
import phoenix as px
|
|
|
|
|
|
session = px.launch_app(use_temp_dir=False)
|
|
|
|
import msvcrt
|
|
|
|
def wait_for_keypress():
|
|
print("Press any key to continue...")
|
|
msvcrt.getch() # 等待按键
|
|
print("\nKey pressed!")
|
|
|
|
wait_for_keypress()
|
|
|
|
px.close_app() |