sublimetext3

Anaconda Python: where are the virtual environments stored?

Anaconda Python: where are the virtual environments stored? Question: I am new to Anaconda Python and I am setting up a project in Sublime Text 3. I have installed Anaconda and created a virtual environment using: conda create -n python27 python=2.7 anaconda conda create -n python35 python=3.5 anaconda I am having trouble setting up the …

Total answers: 9

use conda environment in sublime text 3

use conda environment in sublime text 3 Question: Using Sublime Text 3, how can I build a python file using a conda environment that I’ve created as in http://conda.pydata.org/docs/using/envs.html Asked By: BolzanoW || Source Answers: NOTE: This will work for virtual environments created with conda as well as venv or virtualenv, you just need to …

Total answers: 4

Support for Python and Django autocompletion in Sublime Text

Support for Python and Django autocompletion in Sublime Text Question: I have been using Pycharm for a while as only an editor for Python and Django development. I love its support for autocompletion. However, I don’t really use any of its IDE features, as I most frequently use my Mac terminal instead (eg for git). …

Total answers: 2

How can I have autocomplete for python libraries in sublime

How can I have autocomplete for python libraries in sublime Question: Currently when I import some code, for example: from datetime import datetime I can’t see what methods it has. How could I know that there is utcnow() for example. It would be great if there is some plugin for sublime so that I have …

Total answers: 2

Stop Sublime Text from executing infinite loop

Stop Sublime Text from executing infinite loop Question: When I do something like while True: print(‘loop’) and execute that code in sublime I am not able to stop it. I have to manually kill the process and restart sublime. Is there a way of setting some kind of ‘max_execution_time’ or any other workaround which allow …

Total answers: 7

Sublime text3 and virtualenvs

Sublime text3 and virtualenvs Question: I have different virtualenv‘s (made with virtualenwrapper) and I’d like to be able to specify which virtualenv to use with each project. Since I’m using the SublimeREPL plugin for custom builds, how can I specify which python installation to build my project with? For example, when I work on project …

Total answers: 5

Set up Python 3 build system with Sublime Text 3

Set up Python 3 build system with Sublime Text 3 Question: I want to configure Sublime Text 3 to build Python 3, but I don’t seem to understand how the builds work. Many tutorials have told me to make a build file containing code such as: { ‘cmd’: [‘/usr/bin/python3’, ‘-u’, ‘$file’], ‘file_regex’: ‘^[ ]*File “(…*?)”, …

Total answers: 10

Can't send input to running program in Sublime Text

Can't send input to running program in Sublime Text Question: I’m trying to get Sublime Text 3 to run a Python script. A simple two liner var = raw_input("Enter something: ") print("You entered " + var) which asks for input, waits for it, then prints it out in windows console prompt. Seeing the number of …

Total answers: 5