This is UEFIPY-USB, a ready made UEFI Python Firmware which can be extracted to a USB to make the USB into
a bootable UEFI Python device.
/EFI contains all firmware and standard libraries for Python.
/EFI/BOOT/BOOTX64.EFI is the actual booting firmware.
/EFI/Tools/Python.efi is the Python EFI file.
/EFI/StdLib/ has all libraries Python needs. (May be very less functional than modern Python 3.14.6)
/startup.nsh is the startup shell script that is COMPULSORY to run to set directory and set Python variables.
Skipping startup.nsh will lead to possible malfunction.
/python.nsh is the actual shell script you will run for running python files, python interactive, modules etc.
Please note that python.nsh is only available if your directory is 'FS0:' and then you can type 'python -arg1 -arg2' or simply just 'python'.
If you're not on 'FS0:', you will need to write 'FS0:/python.nsh -arg1 -arg2' as python.nsh is not present anywhere else.
Also note that any OS-Dependent modules like msvcrt will be unavailable to use, as in the UEFI env, there is no OS booted!

On booting, startup.nsh will finish and then you can ensure that you are on 'FS0:', and then enter 'python' to enter your UEFIPY Environment.

Made by Aarsh Garg.
Credits to EDK2 for the EFI Boot file, and CHIPSEC for the pre-compiled EDK2-based Python EFI File and StdLib.

Enjoy!