You are not logged in. Please login at CSPathshala to post your questions!


executable file in python

How can I create an executable file in Python?

asked 30 Jul '18, 12:21

ymsheth's gravatar image

accept rate: 0%

If I understood it right you are asking to run the Python program, For that you can save Python code with the file extension .py. You can run this file using command prompt by following the steps given here:

In case you are looking to convert the .py code to .exe file, then you can follow the tutorial here:


answered 05 Aug '18, 10:24

pallavi's gravatar image

accept rate: 0%

edited 05 Aug '18, 10:27

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol



Asked: 30 Jul '18, 12:21

Seen: 830 times

Last updated: 05 Aug '18, 10:27

Related questions