sublime text 3 mac how to import 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!

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
<xml? ? Version = "1.0" encoding = "UTF-8">
! <DOCTYPE plist the PUBLIC "- // // DTD the Apple pLIST 1.0 // EN" "http://www.apple.com/DTDs/PropertyList-1.0. DTD ">
<the plist Version =" 1.0 ">
<dict>
<Key> scope </ Key>
<String> source.python </ String>
<Key> Settings </ Key>
<dict>
<Key> cancelCompletion </ Key >
<String> ^ (* \ B (and |. or) $) | (\ S * (Pass | return | and | or | (class | DEF) \ S * [A-zA-Z ~ 0-9] +) $) </ String>
</ dict>
</ dict>
</ the plist>

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.
These are the small series bring the sublime text 3 mac tutorial on how to import the module, we want to help!

Guess you like

Origin www.cnblogs.com/milimac123/p/11084171.html