Reputation: 7967
How do I set a boilerplate code for Python files in PyCharm? I have a set of comments that I need to add at the start of every file I author. It looks something like this-
# Author: El Salvador Bali
# Project: American Indo
# Date Created: 2000BC
# Objective: have fun
Upvotes: 1
Views: 1141
Reputation: 7579
Consider using File and Code Templates
(File - Settings - Editor - File and Code Templates - Python Script
). Here is the help page.
Upvotes: 2