5 ms·
But not a texteditor. You can use this library for that: https://pypi.org/project/texteditor/ https://pypi.org/project/texteditor/ (Disclaimer: I’m the author
by jp_sc 5y ago
But not a texteditor.
You can use this library for that: https://pypi.org/project/texteditor/ https://pypi.org/project/texteditor/
(Disclaimer: I’m the author)
- diogenesjunior 5y agoThere's not really a reason for a built in text editor
- jp_sc 5y agoIs not a built in text editor, is a command to open programmatically your default text editor to edit a file (new or existing). There are several cases when you would want to do that, for example, think on the git CLI, that opens one so you can write a commit message, etc. And is not only about using the EDITOR variable, most non-programmers doesn’t have one defined or it points to vim or something equally terrible for non technical users.
- deleted 5y ago[deleted]
- BiteCode_dev 5y agoIdle
- ehsankia 5y agoYou missed the point of what the library does. Similar to webbrowser (which isn't a full browser), all it does is open your default text editor.