How to change the default module docstring in Spyder?

Abdulrahman Bres picture Abdulrahman Bres · Dec 3, 2017 · Viewed 8.7k times · Source

How to change the default template for new modules in Spyder IDE?

# -*- coding: utf-8 -*-
"""
Created on %(date)s

@author: X
"""

Answer

Abdulrahman Bres picture Abdulrahman Bres · Dec 3, 2017

Preferences > Editor > Advanced settings > Edit template for new modules

changing default docstring for modules in Spyder

Spyder default module