Tuesday, May 27, 2014

Prepare your IDE SublimeText before learn Python




Prepare
  1. Download SublimeText in here 
  2. Following this settings :
  3. Install Package Control [ ctrl + ` ], after finish, close and open again your sublimetext
  4. Install Package [ ctrl + shift + p ] : All Autocomplete
  5. Install Package [ ctrl + shift + p ] : TrailingSpace
  6. Install Package [ ctrl + shift + p ] : AutoPEP8
  7. Install Package [ ctrl + shift + p ] : Theme - SolarizedDark
  8.  Following this settings 
{
    "font_size": 10,
    "ignored_packages":
    [
        "Vintage",
        "Theme - Soda SolarizedDark"
    ],
    "tab_size": 2,
    "theme": "Soda Dark.sublime-theme",
    "translate_tabs_to_spaces": true
}

Now, create new file, and save in your directory such as test.py and write standard code like

print "hello world"

and go to tools - Build System - Automatic / Python and Build or [ ctrl + b ]

No comments:

Post a Comment