Skip to content

Instantly share code, notes, and snippets.

View megachickn101's full-sized avatar

megachickn101

View GitHub Profile
@umangahuja1
umangahuja1 / run python file without typing python and extension.md
Last active September 4, 2023 13:31
How to run python files without typing python and extension

How to run python files without typing python and extension (in Linux)

Steps to follow to run your python code without typing python filename.py.

You can simply run by typing filename if you follow these simple steps.

Step 1 : Add shebang line as first line in your python code