Purpose of this mini-project: This project was conducted to reduce the time spent logging into HKU Linux server.
Structure The project consists of two files.
- Python file
- Windows Powershell file
Python file
- Used pyautogui library to allow python to enter a list of specified keyboard characters.
- Used os.startfile to start Windows Powershell.
Windows Powershell file
- Firstly, Set-Location command was used to select the current directory.
- Then python3 command was used to run the python3 script.
Project Follow-up: A few modifications were used to also auto SSH and log-in to HKU UNIX server and HKU MySQL account using the terminal.