make an py app to show what partion the py app is on
- User
make an py app to show what partion the py app is on
- Assistant
To create a Python application that shows the partition (drive) on which the application is running, you can use Python's built-in libraries. Below is a simple script that determines and prints out the partition where the script is located. This script should work across different operating systems, including Windows, Linux, and macOS:
python