Active11 months ago
- Sublime Text 3 Python Setup
- Setup Sublime Text 3 For Python Mac
- Sublime Text 3 Download Mac
- Sublime Text Python 3 Build
Sublime Text 3.0 Build 3160| Mac OS X| 12.65 MB. Sublime Text is a powerful complement API based on Python. Along with the API, it comes with an integrated Python to experience interactively in real time console. Customize anything.
![Text Text](/uploads/1/2/6/8/126891861/922312827.jpg)
I'm using a Mac (OS X 10.10.2), would like to use SublimeText rather than IDLE. My issue is that I want to use Python 3.4 and SublimeText uses the 2.x Python that comes on my Mac.
I've Googled all over and tried and tried to follow guides even on this website, but I'm at a loss since I have very little knowledge of what I'm doing.
All I want is a program that will let me write, run, interact with Python 3.4, and I feel like with some tweaking I can get SublimeText to fit the bill.
EDIT: Weird symbols for language.
Sorry guys I wrote this late the other night after spending hours messing with sublimetext, my brain was gravy.
Anyways I'll try to be more specific. I'm running OS X 10.10.2 with SublimeText2 and SublimeRepl installed. Currently, ST2 is running Python 2, but I want to run 3.4 (which I have installed from python.org) along with SublimeREPL, that way I can fully replace Python IDLE with ST2 for my class. How to center text vertically in word.
Quote from the thread linked above:
The first option would be to copy that Main.sublime-menu file into your local user configuration folder, if you already have one there, you will need to merge both contents. Replace all the python calls by python3, and adjust the caption properties to mention Python 3 (e.g. Python 3 - RUN current file).
Now, when you launch the command launcher via Cmd+Shift+P (should be the keyboard shortcut in OSX, right?), then you can type Python 3 and your new commands using the python3 executable should pop up.
Based on this, it seems I need to go into
main.sublime-menu
and copy the contents into my 'local user configuration folder', but I don't know if this means Preferences > Settings - User
or Preferences > Package Settings > SublimeREPL > Settings - User
Here is my
main.sublime-menu
as it sits. What all needs to be changed to python3 as mentioned in the quote above in order for ST2 to use python 3.4? [ { 'id': 'tools', 'children': [{ 'caption': 'SublimeREPL', 'mnemonic': 'r', 'id': 'SublimeREPL', 'children': [ {'caption': 'Python', 'id': 'Python',I hope this is a little more specific, I'm very new at this and have only the faintest grasp of what the hell I'm doing. Any help is greatly appreciated, if this isn't specific enough let me know. Thanks!
Sublime Text 3 Python Setup
Community♦
Cameron TedderCameron Tedder
2 Answers
This is what custom build systems are for. Here is my system for running python scripts without creating
.pyc
files: Talk to text app for mac.cmd
is the bash command to run, so you would replace python
with python3
, or the path to your python 3 executable. If you want to create .pyc
files, you can remove the -B
argument.Save this in a file called
Darrick HerweheDarrick Herwehepython3.sublime-build
, and place the file in your user package.2,93111 gold badge1616 silver badges2525 bronze badges
You need to make some change in this file: Main.Sublime-menu.
Setup Sublime Text 3 For Python Mac
1st step: find / -iname 'Main.sublime-menu' in the terminal to find out where this file is stored. you will get a big list of directories but you should find this one /Library/Application Support/Sublime Text 3/Packages/SublimeREPL/config/Python/Main.sublime-menu.
2nd step: open above Main.sublime-menu file. only change 'python' to 'python3' in the line starts with 'cmd'. Then save and try.
Hope you will get success.
Sublime Text 3 Download Mac
Cooper HAOCooper HAO