How To Make a Python Program Executable in Linux

Video is ready, Click Here to View ×

This video will show you how to create an executable python program in linux


  1. I am new to Linux, and trying to make this work on a Raspberry Pi. I have my program, and I have made it executable, however, when I run it, it is telling my that my modules used in the program are not there.

    using your ./ command I get the error.

    If I use python3 the program runs fine.

    Any idea what the issue might be?

  2. Sir , I have a python script which included some bash commands in os.system() method .
    If I convert this python script to exe, will this exe file work properly in windows or will I face any issues since Windows can't run bash commands ?

Leave a Reply

Your email address will not be published.