1.å¦ä½ä½¿ç¨Ansible 2çAPIåpythonå¼å
2.在Vant的重构基础上实现添加表单验证框架的方法示例
3.macåpythonç¨ä»ä¹è½¯ä»¶(macä¸å¥½ç¨çpythonè¯è¨ç¼ç¨è½¯ä»¶)
å¦ä½ä½¿ç¨Ansible 2çAPIåpythonå¼å
Ansible å SaltStack é½æä¾äº Python ç´æ¥è°ç¨çAPI, è¿æ¹ä¾¿äº Pythoner 对è¿äºè½¯ä»¶è¿è¡äºæ¬¡å¼ååæ´å, æ¤åè½çå®æ¹ä¾¿äºä¸å°, æ¯èµ· Python 代ç ä¸è°ç¨ shell ä¹ç¥æ¾ä¸ä¸!
ç¶è Ansible å¨2.0çæ¬åéæäºå¤§é¨åç代ç é»è¾, å¯ç¨äº2.0çæ¬ä¹åç Runner å Playbook ç±», 使å¾å¹¿å¤§åå¦ä¹åç代ç è¿è¡é误. æ©æ¥ä¸å¦ææ¥, ä»å¤©ä¸åå¯¹ç § å®æ¹çææ¡£ , ç»åæºä»£ç , 对2.0çæ¬ä¹åç Python API åäºä¸æ¢ç©¶
Adhoc
adhoc å ¶å®å°±æ¯æ§è¡ Ansible 模å, éè¿ adhoc æ们å¯ä»¥æ¹ä¾¿å¿«æ·çå®æä¸äºä¸´æ¶çè¿ç»´æä½.
2.0 ä¹åçè°ç¨
import ansible.runner
import json
runner = ansible.runner.Runner(
module_name='ping', # 模åå
module_args='', # 模ååæ°
pattern='all', # ç®æ æºå¨çpattern
forks=
)
datastructure = runner.run()
data = json.dumps(datastructure,indent=4)
å½ç¶è¿éä¼å»å è½½é»è®¤ç inventory
å¦æä¸æ³ä½¿ç¨ inventory æ件æè æ³ä½¿ç¨å¨æç inventory, åå¯ä»¥ä½¿ç¨ host_list åæ°ä»£æ¿
import ansible.runner
import json
runner = ansible.runner.Runner(
host_list=["..0.1"], # è¿éå¦ææç¡®æå®ä¸»æºéè¦ä¼ éä¸ä¸ªå表, æè æå®å¨æinventoryèæ¬
module_name='ping', # 模åå
module_args='', # 模ååæ°
extra_vars={ "ansible_ssh_user":"root","ansible_ssh_pass":"xx"},
forks=
)
datastructure = runner.run()
data = json.dumps(datastructure,indent=4)
2.0 ä¹åçè°ç¨
import json
from ansible.parsing.dataloader import DataLoader
from ansible.vars import VariableManager
from ansible.inventory import Inventory
from ansible.playbook.play import Play
from ansible.executor.task_queue_manager import TaskQueueManager
from ansible.executor.playbook_executor import PlaybookExecutor
loader = DataLoader() # ç¨æ¥å 载解æyamlæ件æJSONå 容,并ä¸æ¯ævaultç解å¯
variable_manager = VariableManager() # 管çåéçç±»,å æ¬ä¸»æº,ç»,æ©å±çåé,ä¹åçæ¬æ¯å¨ inventory ä¸ç
inventory = Inventory(loader=loader, variable_manager=variable_manager)
variable_manager.set_inventory(inventory) # æ ¹æ® inventory å 载对åºåé
class Options(object):
'''
è¿æ¯ä¸ä¸ªå ¬å ±çç±»,å 为ad-hocåplaybooké½éè¦ä¸ä¸ªoptionsåæ°
并ä¸æéè¦æ¥æä¸åçå±æ§,ä½æ¯å¤§é¨åå±æ§é½å¯ä»¥è¿åNoneæFalse
å æ¤ç¨è¿æ ·çä¸ä¸ªç±»æ¥çå»åå§å大ä¸å ç空å¼çå±æ§
'''
def __init__(self):
self.connection = "local"
self.forks = 1
self.check = False
def __getattr__(self, name):
return None
options = Options()
def run_adhoc():
variable_manager.extra_vars={ "ansible_ssh_user":"root" , "ansible_ssh_pass":"xxx"} # å¢å å¤é¨åé
# æ建pb, è¿éå¾æææ, æ°çæ¬è¿è¡ad-hocæplaybooké½éè¦æ建è¿æ ·çpb, åªæ¯æåè°ç¨playçç±»ä¸ä¸æ ·
# :param name: ä»»å¡å,类似playbookä¸tasksä¸çname
# :param hosts: playbookä¸çhosts
# :param tasks: playbookä¸çtasks, å ¶å®è¿å°±æ¯playbookçè¯æ³, å 为tasksçå¼æ¯ä¸ªå表,å æ¤å¯ä»¥åå ¥å¤ä¸ªtask
play_source = { "name":"Ansible Ad-Hoc","hosts":"..0.1","gather_facts":"no","tasks":[{ "action":{ "module":"shell","args":"w"}}]}
play = Play().load(play_source, variable_manager=variable_manager, loader=loader)
tqm = None
try:
tqm = TaskQueueManager(
inventory=inventory,
variable_manager=variable_manager,
loader=loader,
options=options,
passwords=None,
stdout_callback='minimal',
run_tree=False,
)
result = tqm.run(play)
print result
finally:
if tqm is not None:
tqm.cleanup()
if __name__ == '__main__':
run_adhoc()
Playbook
playbook åç±»ä¼¼äº SaltStack ä¸ç state
2.0 ä¹åçè°ç¨
from ansible import callbacks
from ansible import utils
from ansible.playbook import PlayBook
stats = callbacks.AggregateStats()
callback = callbacks.PlaybookCallbacks()
runner_callbacks = callbacks.PlaybookRunnerCallbacks(stats)
pb = ansible.playbook.PlayBook(
playbook="tasks.yml",
stats=stats,
callbacks=playbook_cb,
runner_callbacks=runner_cb,
check=True
)
pb.run()
2.0 ä¹åçè°ç¨
import json
from ansible.parsing.dataloader import DataLoader
from ansible.vars import VariableManager
from ansible.inventory import Inventory
from ansible.playbook.play import Play
from ansible.executor.task_queue_manager import TaskQueueManager
from ansible.executor.playbook_executor import PlaybookExecutor
loader = DataLoader() # ç¨æ¥å 载解æyamlæ件æJSONå 容,并ä¸æ¯ævaultç解å¯
variable_manager = VariableManager() # 管çåéçç±»,å æ¬ä¸»æº,ç»,æ©å±çåé,ä¹åçæ¬æ¯å¨ inventory ä¸ç
inventory = Inventory(loader=loader, variable_manager=variable_manager)
variable_manager.set_inventory(inventory) # æ ¹æ® inventory å 载对åºåé
class Options(object):
'''
è¿æ¯ä¸ä¸ªå ¬å ±çç±»,å 为ad-hocåplaybooké½éè¦ä¸ä¸ªoptionsåæ°
并ä¸æéè¦æ¥æä¸åçå±æ§,ä½æ¯å¤§é¨åå±æ§é½å¯ä»¥è¿åNoneæFalse
å æ¤ç¨è¿æ ·çä¸ä¸ªç±»æ¥çå»åå§å大ä¸å ç空å¼çå±æ§
'''
def __init__(self):
self.connection = "local"
self.forks = 1
self.check = False
def __getattr__(self, name):
return None
options = Options()
def run_playbook():
playbooks=['task.yaml'] # è¿éæ¯ä¸ä¸ªå表, å æ¤å¯ä»¥è¿è¡å¤ä¸ªplaybook
variable_manager.extra_vars={ "ansible_ssh_user":"root" , "ansible_ssh_pass":"xxx"} # å¢å å¤é¨åé
pb = PlaybookExecutor(playbooks=playbooks, inventory=inventory, variable_manager=variable_manager, loader=loader, options=options, passwords=None)
result = pb.run()
print result
if __name__ == '__main__':
run_playbook()
在Vant的基础上实现添加表单验证框架的方法示例
Vant 一套基于Vue的移动端UI框架,有赞出品。源码源代
因为UI设计的重构够漂亮,源码结构也比较清晰,源码源代算数题app源码插件定位也比较明确,重构重要是源码源代易语言简易源码实战过程中的使用体验不错。在最近的重构项目当中就使用 Vant 作为移动端的基础UI框架,但在实践过程中发现该框架和其他框架有不一样的源码源代地方。例如它不内置表单验证,重构接下来,源码源代我把自己实现验证框架的重构思路分享出来。
分析需求
我们找的源码源代插件主要能解决以下问题
支持中文 适应UI框架 分组验证 动态验证(数据动态,规则动态)
去网络上搜索了一些框架,重构易语言有趣源码推荐两款(在官方也有推.vuejs.org/v2/cookbook/form-validation.html )
vuelidate vee-validate
我的源码源代项目里使用的是 vee-validate
解决问题
安装及支持中文
npm install vee-validate --saveimport VeeValidate, { Validator } from 'vee-validate'import zh_CN from 'vee-validate/dist/locale/zh_CN';Validator.localize('zh_CN', zh_CN)Vue.use(VeeValidate)
中文问题可以解决,但是重构遇到个很恶心的问题,这样的flash短片制作源码错误提示会变成 title不能为空 这样的提示,实际展示效果是不好的。
所以这个需要重构下,自己来实现错误提示的ftp账号 源码下载内容
const formatFileSize = function (size) { let units = ['Byte', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']; let threshold = ; size = Number(size) * threshold; let i = size === 0 ? 0 : Math.floor(Math.log(size) / Math.log(threshold)); return (((size / Math.pow(threshold, i)).toFixed(2) * 1) + " " + (units[i]));}Validator.localize('zh_CN', { name: 'zh_CN', attributes: { } messages: { _default: () => `${ fieldName}无效`, after: (field, [target]) => `${ fieldName}必须在${ target}之后`, alpha_dash: () => `${ fieldName}能够包含字母数字字符、破折号和下划线`, alpha_num: () => `${ fieldName}只能包含字母数字字符`, alpha_spaces: () => `${ fieldName}只能包含字母字符和空格`, alpha: () => `${ fieldName}只能包含字母字符`, before: (field, [target]) => `${ fieldName}必须在${ target}之前`, between: (field, [min, max]) => `${ fieldName}必须在${ min}与${ max}之间`, confirmed: (field, [confirmedField]) => `${ fieldName}不能和${ confirmedField}匹配`, credit_card: () => `${ fieldName}格式错误`, date_between: (field, [min, max]) => `${ fieldName}必须在${ min}和${ max}之间`, date_format: (field, [format]) => `${ fieldName}必须符合${ format}格式`, decimal: (field, [decimals = '*'] = []) => `${ fieldName}必须是数字,且能够保留${ decimals === '*' ? '' : decimals}位小数`, digits: (field, [length]) => `${ fieldName}必须是数字,且精确到${ length}位数`, dimensions: (field, [width, height]) => `${ fieldName}必须在${ width}像素与${ height}像素之间`, email: () => `${ fieldName}不是一个有效的邮箱`, ext: () => `${ fieldName}不是一个有效的文件`, image: () => `${ fieldName}不是一张有效的`, included: () => `${ fieldName}不是一个有效值`, integer: () => `${ fieldName}必须是整数`, ip: () => `${ fieldName}不是一个有效的地址`, length: (field, [length, max]) => { if (max) { return `${ fieldName}长度必须在${ length}到${ max}之间` } return `${ fieldName}长度必须为${ length}` }, max: (field, [length]) => `${ fieldName}不能超过${ length}个字符`, max_value: (field, [max]) => `${ fieldName}必须小于或等于${ max}`, mimes: () => `${ fieldName}不是一个有效的文件类型`, min: (field, [length]) => `${ fieldName}必须至少有${ length}个字符`, min_value: (field, [min]) => `${ fieldName}必须大于或等于${ min}`, excluded: () => `${ fieldName}不是一个有效值`, numeric: () => `${ fieldName}只能包含数字字符`, regex: () => `${ fieldName}格式无效`, required: () => `${ fieldName}不能为空`, size: (field, [size]) => `${ fieldName}必须小于${ formatFileSize(size)}`, url: () => `${ fieldName}不是一个有效的url` }})Vue.use(VeeValidate)
适应UI框架
虽然Vant没有内置验证框架,但提供了错误的样式。
<van-field :error="." :error-message="."/>
用 vee-validate 可以这样解决
<van-field . name="title" v-validate="'required|max:'" :error="errors.has('title')" :error-message="errors.first('title')"/>this.$validator.validateAll().then((result) => { if(result){ // . }})
分组验证
<van-field name="title" data-vv-scope="group-1" v-validate="'required|max:'" :error="errors.has('group-1.title')" :error-message="errors.first('group-1.title')"/>this.$validator.validateAll('group-1').then((result) => { if(result){ // . }})
如此,基于 Vant 的验证框架问题就得以解决了,可以愉快的玩耍表单验证了。
macåpythonç¨ä»ä¹è½¯ä»¶(macä¸å¥½ç¨çpythonè¯è¨ç¼ç¨è½¯ä»¶)
Macä¸ç¨ä»ä¹åpython
Vimï¼æ¨èå¦ä¹ ï¼Pythonè§é¢æç¨ï¼
Vimå¯ä»¥è¯´æ¯Pythonæ好çIDEãVimæ¯é«çº§ææ¬ç¼è¾å¨ï¼æ¨å¨æä¾å®é çUnixç¼è¾å¨âViâåè½ï¼æ¯ææ´å¤æ´å®åçç¹æ§éãVimä¸éè¦è±è´¹å¤ªå¤çå¦ä¹ æ¶é´ï¼ä¸æ¦ä½ éè¦ä¸ä¸ªæ ç¼çç¼ç¨ä½éªï¼é£ä¹å°±ä¼æViméæå°ä½ çå·¥ä½æµä¸ã
EcppsewithPyDev
Ecppseæ¯é常æµè¡çIDEï¼èä¸å·²ç»æäºå¾ä¹ çåå²ãEcppsewithPydevå 许å¼åè å建æç¨å交äºå¼çWebåºç¨ãPyDevæ¯Ecppseå¼åPythonçIDEï¼æ¯æPythonï¼JythonåIronPythonçå¼åã
SubpmeText
SubpmeTextæ¯å¼åè ä¸ææµè¡çç¼è¾å¨ä¹ä¸ï¼å¤åè½ï¼æ¯æå¤ç§è¯è¨ï¼èä¸å¨å¼åè 社åºé常å欢è¿ãSubpmeæèªå·±çå 管çå¨ï¼å¼åè å¯ä»¥ä½¿ç¨TAæ¥å®è£ ç»ä»¶ï¼æ件åé¢å¤çæ ·å¼ï¼ææè¿äºé½è½æåä½ çç¼ç ä½éªã
Emacs
GNUEmacsæ¯å¯æ©å±ï¼èªå®ä¹çææ¬ç¼è¾å¨ï¼çè³æ¯æ´å¤çåè½ãEmacsçæ ¸å¿æ¯EmacsLisp解æå¨ï¼ä½æ¯æ¯æææ¬ç¼è¾ãå¦æä½ å·²ç»ä½¿ç¨è¿Vimï¼å¯ä»¥å°è¯ä¸ä¸Emacsã
KomodoEdit
KomodoEditæ¯é常干åï¼ä¸ä¸çPythonIDEã
PyCharm
PyCharmæ¯JetBrainså¼åçPythonIDEãPyCharmç¨äºä¸è¬IDEå ·å¤çåè½ï¼æ¯å¦ï¼è°è¯ãè¯æ³é«äº®ãProject管çã代ç 跳转ãæºè½æ示ãèªå¨å®æãåå æµè¯ãçæ¬æ§å¶â¦â¦å¦å¤ï¼PyCharmè¿æä¾äºä¸äºå¾å¥½çåè½ç¨äº[Django]å¼åï¼åæ¶æ¯æGoogleAppEngineï¼æ´é ·çæ¯ï¼PyCharmæ¯æ[IronPython]ï¼
Wing
WingwareçPythonIDEå ¼å®¹Python2.xå3.xï¼å¯ä»¥ç»åDjango,matplotpb,Zope,Plone,AppEngine,PyQt,PySide,wxPython,PyGTK,Tkinter,mod_wsgi,pygame,Maya,MotionBuilder,NUKE,Blenderåå ¶ä»Pythonæ¡æ¶ä½¿ç¨ãWingæ¯ææµè¯é©±å¨å¼åï¼éæäºåå æµè¯ï¼noseåDjangoæ¡æ¶çæ§è¡åè°è¯åè½ãWingIDEå¯å¨åè¿è¡çé度é½é常快ï¼æ¯æWindows,Linux,OSXåPythonversiã
PyScripter
PyScripteræ¯æ¬¾å è´¹å¼æºçPythonéæå¼åç¯å¢ï¼IDEï¼ã
TheEricPythonIDE
Ericæ¯å ¨åè½çPythonåRubyç¼è¾å¨åIDEï¼æ¯ä½¿ç¨Pythonç¼åçãEricåºäºè·¨å¹³å°çGUIå·¥å ·å Qtï¼éæäºé«åº¦çµæ´»çScintillaç¼è¾å¨æ§ä»¶ãEricå æ¬ä¸ä¸ªæ件系ç»ï¼å 许ç®åç对IDEè¿è¡åè½æ§æ©å±ã
InteractiveEditorforPython
IEPæ¯è·¨å¹³å°çPythonIDEï¼æ¨å¨æä¾ç®åé«æçPythonå¼åç¯å¢ãå æ¬ä¸¤ä¸ªéè¦çç»ä»¶ï¼ç¼è¾å¨åShellï¼å¹¶ä¸æä¾æä»¶å·¥å ·éä»å个æ¹é¢æ¥æé«å¼å人åçæçã
æ´å¤Pythonç¸å ³ææ¯æç« ï¼è¯·è®¿é®Pythonæç¨æ ç®è¿è¡å¦ä¹ ï¼ä»¥ä¸å°±æ¯å°ç¼å享çå ³äºMacä¸ç¨ä»ä¹åpythonç详ç»å 容å¸æ对大家ææ帮å©ï¼æ´å¤æå ³pythonæç¨è¯·å ³æ³¨ç¯çéè¤å ¶å®ç¸å ³æç« ï¼
pythonç¨ä»ä¹è½¯ä»¶ãPython3.9.7软件ãç¾åº¦ç½çèµæºå è´¹ä¸è½½:
é¾æ¥:
pwd=nhfcæåç :nhfcPython3.9.7ææ°æ£å¼çæ¯ä¸ç§é¢å对象ãç´è¯å¼è®¡ç®æºç¨åºè®¾è®¡è¯è¨ï¼ä¹æ¯ä¸ç§åè½å¼ºå¤§èå®åçéç¨åè¯è¨ï¼å·²ç»å ·æåå¤å¹´çåå±åå²ï¼æçä¸ç¨³å®ãpythonå ·æé常ç®æ·èæ¸ æ°çè¯æ³ç¹ç¹ï¼ä¸å ä¹å¯ä»¥å¨ææçæä½ç³»ç»ä¸è¿è¡ï¼é常éåå®æåç§é«å±ä»»å¡ï¼éçä¸æçæ´æ°ä¼åï¼éæ¸è¢«ç¨äºç¬ç«çã大å项ç®çå¼åï¼åªä¸ºç»ç¨æ·æ´å å®ç¾çæä½ä½éªã
æä»ä¹è½¯ä»¶å¯ä»¥åpythonç¼åpythonæºä»£ç ç软件.é¦æ¨çPycharmã
PyCharmç¨äºbaiä¸è¬IDEå ·å¤çåè½ï¼æ¯å¦ï¼è°è¯ãè¯æ³é«äº®ãProject管çãdu代ç 跳转ãæºè½æ示ãèªå¨å®zhiæãåå æµè¯ãçæ¬æ§å¶
å¦å¤ï¼PyCharmè¿æä¾äºä¸äºå¾å¥½çåè½ç¨äºDjangoå¼åï¼åæ¶æ¯æGoogleAppEngineï¼æ´é ·çæ¯ï¼PyCharmæ¯æIronPythonã
å ¶æ¬¡æ¯sublimetextï¼SublimeTextæ¯æå¤ç§ç¼ç¨è¯è¨çè¯æ³é«äº®ãæ¥æä¼ç§ç代ç èªå¨å®æåè½ï¼è¿æ¥æ代ç ç段(Snippetï¼çåè½ï¼å¯ä»¥å°å¸¸ç¨ç代ç ç段ä¿åèµ·æ¥ï¼å¨éè¦æ¶éæ¶è°ç¨ãæ¯æVIM模å¼ï¼å¯ä»¥ä½¿ç¨Vim模å¼ä¸çå¤æ°å½ä»¤ãæ¯æå®ï¼ç®åå°è¯´å°±æ¯ææä½å½å¶ä¸æ¥æè èªå·±ç¼åå½ä»¤ï¼ç¶åææ¾åæå½å¶çæä½æè å½ä»¤ã
è¿æJupyter,JupyterNotebook(æ¤å被称为IPythonnotebook)æ¯ä¸ä¸ªäº¤äºå¼ç¬è®°æ¬ï¼æ¯æè¿è¡å¤ç§ç¼ç¨è¯è¨ã
æåå°±æ¯æåºæ¬çnopad++ï¼æå¼å§çæ¶åæ¯å®ç¨è¿æ¬¾ä½ä¸ºå¼åå·¥å ·è¿è¡åºç¡ç»ä¹ ã
wingproæªæ³¨åéå¶
WingProforMac(Pythonå¼åå·¥å ·)æªæ³¨åéå¶æ¿æ´»ç
--
é 读
WingPro(Pythonå¼åç¯å¢)å ¨åWingIDEPro,软件åºäºpythonç¼ç¨è¯è¨å¼åç¯å¢ï¼æ¥æé常å¤pythonideçåè½ï¼æ以软件ä¹æ¯æå¼åpython项ç®ï¼è½¯ä»¶å°å·§ç®åï¼å°±ç®è¿è¡å¤æ代ç ä¹ä¸ä¼è¶ è¿Må åï¼éåä¸äºæ§è½æ¯è¾å·®ççµèï¼WingProæ¯æè°è¯å°æ¹æ¡çè½å°ï¼æ¯ä¸æ¬¾é常强大çç¼ç¨è½¯ä»¶ã
mac软件ä¸è½½ï¼WingProforMac
WingPromacçåè½ä»ç»
强大çè°è¯å¨
WingIDEProforMacç ´è§£ççè°è¯å¨å¯ä»¥è½»æ¾ä¿®å¤é误并以交äºæ¹å¼ç¼åæ°ä»£ç ã使ç¨æ¡ä»¶æç¹æ¥é离é®é¢ï¼ç¶åéæ¥æ§è¡ä»£ç ï¼æ£æ¥æ°æ®ï¼è§å¯å¼ï¼ä»DebugProbeçå½ä»¤è¡è¿è¡äº¤äºï¼ä»¥åéå½è°è¯ãæ¨å¯ä»¥è°è¯ä»IDEå¯å¨çå¤è¿ç¨åå¤çº¿ç¨ä»£ç ï¼æ管å¨Webæ¡æ¶ä¸ï¼ä»åµå ¥å¼Pythonå®ä¾è°ç¨æå¨è¿ç¨ç³»ç»ä¸è°ç¨ã
æºè½ç¼è¾å¨
WingIDEProforMacç ´è§£ççç¼è¾å¨éè¿éåä¸ä¸æçèªå¨å®æåææ¡£ï¼è°ç¨è¾ å©ï¼èªå¨ç¼è¾ï¼éæï¼ä»£ç æå ï¼å¤éï¼å¯èªå®ä¹çå è代ç ç段ï¼ä¹¦ç¾çæ¥å é交äºå¼Pythonå¼åãWingå¯ä»¥æ¨¡æviï¼emacsï¼Eclipseï¼VisualStudioåXcodeã
ç®åç代ç 导èª
WingIDEProforMacç ´è§£çéè¿goto-definitionï¼æ¥æ¾ç¨éï¼å¨é¡¹ç®ä¸æ¥æ¾ç¬¦å·ï¼ç¼è¾å¨ç¬¦å·ç´¢å¼ï¼æºæµè§å¨ä»¥å强大çå¤æ件æç´¢ï¼å¯ä»¥è½»æ¾ç»è¿ä»£ç ã
综ååå æµè¯
WingIDEProforMacç ´è§£çæ¯æ使ç¨unittestï¼doctestï¼noseï¼pyteståDjangoæµè¯æ¡æ¶è¿è¡æµè¯é©±å¨çå¼åã使ç¨Wing强大çè°è¯å¨å¯ä»¥è½»æ¾ä¿®å¤å¤±è´¥çæµè¯ã
è¿ç¨å¼å
WingIDEProforMacç ´è§£ççå¿«éé ç½®è¿ç¨å¼åæ¯æ使æ¨å¯ä»¥ä½¿ç¨å¨è¿ç¨ä¸»æºï¼VMæ容å¨ä¸è¿è¡çPython代ç æ ç¼ï¼å®å ¨å°ä½¿ç¨Wingçææåè½ã
å¯å®å¶åå¯æ©å±