mracko / MSFS-Landing-Inspector

Freeware Tool for Analyzing Landings in Microsoft Flight Simulator 2020
MIT License
85 stars 6 forks source link

CMD opens and closes.. #6

Open Sleptix opened 3 years ago

Sleptix commented 3 years ago

so i installed this, unzipped it, go to launch the cmd and it just closes as soon as it opens.. help

Djones4822 commented 3 years ago

You execute python scripts by running python FILENAME.py within the files root directory. Double clicking the .py file itself will not launch.

Go to your start menu, type "cmd" in the search and run the "Command Prompt" application, type cd "C:\Users\Sleptix\Documents\.....\MSFS-Landing-Inspector" (update this to your actual directory of the mod), and then enter python msfs_landing_inspector.py

This will launch python and pass the msfs_landing_inspector.py file as the first argument, running the script. From there the command prompt will continue to run and you access the app by going to localhost:5000 in your browser.