sublime text 3 mac Edition tutorial method of introducing the module

Use sublime text3 write python code into modules (import), without prompting, Hard Knocks is too difficult to achieve, the following small series brings Mac sublime text tutorial takes you solve this problem, look at it!02105838_037a85e04d.jpeg

1.Preferances -> Brows packages to the next folder, create a new Python folder, and then use the sublime create a new Completion Rules.tmPreferences for the file names, and then put the following in the Completion Rules.tmPreferences file




scope
Source. Python
Settings

cancelCompletion
^ (* \ B (and |. or) $) | (\ S * (Pass | return | and | or | (class | DEF) \ S * [A-zA-Z ~ 0-9] +) $ )


02105933_20dc70d100.jpeg

The Completion Rules.tmPreferences file created in sublime python into just created folder, then restart sublie has been poured into the discovery suggests
if you are a python text2 may enter Brows packages already include a Python file, which when you just can also create a file name, the other steps are the same

Guess you like

Origin blog.51cto.com/14370425/2443863