ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Python​Open​Module

by SublimeText ST2

Open python modules on sys.path and open folders in window

Details

  • 2012.10.13.02.50.34
  • github.​com
  • github.​com
  • 12 years ago
  • 2 hours ago
  • 13 years ago

Installs

  • Total 3K
  • Win 2K
  • Mac 908
  • Linux 881
Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Python Open Module

This plugin will open a python module file/directory present on sys.path and any open folders in the window.

Install

  1. Install PythonOpenModule through Package Control
  2. Set up the subl command on your system (required to open new sublime windows for module directories)

Virtual Environments

If you are using a virtual environment in your project, then set the python_executable in your project settings. This overrides the sys.path that is searched by the plugin.

For example:

{
    "settings": {
        "python_executable": "/Users/glen/.virtualenvs/monty/bin/python"
    }
}

Usage

After opening the input panel (by either “Open Python module” under the File menu, or a keyboard shortcut, type the package name (e.g. decimal or logging.config) into the input panel and press enter.