First time here? Check out the FAQ!
1

File Document Info
 

Is there an option to set up a template so every time you open a new file it has certain information on top of the file as you get with Spyder3

""" Spyder Editor

This is a temporary script file. """

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
asked 4 years ago
This post is a wiki. Anyone with karma >75 is welcome to improve it.

Comments

see more comments

1 Answer

0

You can use the Snippets tool for this. The default set of snippets defined there can be modified, or you can add others. Then they appear in the auto-completer. For for example, for a file you can type 'file' and choose the file snippet in the completer to get the snippet placed into the file. Docs are at https://wingware.com/doc/edit/snippets

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Wingware Support's avatar
4.2k
Wingware Support
answered 4 years ago
link

Comments

see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)