So, you have a python script and want to make it a project? Or you have an idea of a project and want to get up and running quickly?
Let me show you how you can kickstart a python project with minimal effort!
Step 1
Run the following command in your favourite terminal:
curl -sSL https://install.python-poetry.org | python3 -
Step 2
cd
into the folder where you want your project to be in (eg. Desktop/Projects)
Step 3
Run the following command replacing PROJECT_NAME with the name of your project:
poetry new PROJECT_NAME
Note: Make sure you stick toPEP-8while naming your project.
Step 4
cd PROJECT_NAME
to go inside your project.
Conclusion
Now you can open your favourite IDE in this folder and voilà you’ll see all the required boilerplate files right there!
Happy coding!