Skip to content
/ python Public

Python2/Python3 Plugin for GNU TeXmacs

Notifications You must be signed in to change notification settings

texmacs/python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python plugin

Join the chat at https://gitter.im/texmacs/Lobby

Installation

It is a built-in plugin in TeXmacs. If you need to customize it, please install it under the $TEXMACS_HOME_PATH:

# For GNU/Linux or macOS:
git clone git@github.com:texmacs/python.git $HOME/.TeXmacs/plugins/python

# For Windows:
git clone git@github.com:texmacs/python.git %APPDATA%\TeXmacs\plugins\python

Change the Python Interpreter

Install the Python plugin to $TEXMACS_HOME_PATH/plugins and then change the python launcher in $TEXMACS_HOME_PATH/plugins/python/progs/init-python.scm.

If you have permissions for $TEXMACS_PATH/plugins/python/progs/init-python.scm, you may also change the system one.

Here is the detailed example of changing the python command:

(define (python-command) "python3")

By default, we use python3. To use a specific python version, just change the return value of the (python-commond) function.

(define (python-command) "/path/to/python")

About

Python2/Python3 Plugin for GNU TeXmacs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published