Category Archives: Python

Convert Python into EXE file

Scenario : We want to convert a python application into standalone windows application.   Required Package :   https://pyinstaller.readthedocs.io/en/stable/   What is Pyinstaller : PyInstaller bundles a Python application and all its dependencies into a single package. The user can run the packaged app without installing a Python interpreter or any modules. PyInstaller supports Python 2.7 and Python 3.4+,… Read More »

Python – Check TensorFlow Using GPU

To check weather Tensorflow using GPU follow these steps:   from tensorflow.python.client import device_lib print(device_lib.list_local_devices()) If GPU support is not enabled you will see the output as follows If you have GPU support enabled then you will see the output as follows.   Run Below code to assign specific GPU to your code if you… Read More »