杜逸先 使用 VS Code 开发 Python 项目的最佳实践使用VS Code进行Python开发 的最佳实践 杭州美登科技 杜逸先 目录 CONTENTS 什么是VS Code VS Code与Python 最佳实践 提问时间 什么是VS Code 什么是VS Code 什么是VS Code 什么是VS Code 1. 开源+跨平台 2. 轻量级+丰富的插件生态 3. 开箱即用+高度自定义(颜色主题、按键绑定、版本控制工具等) VS Code与Python VS Code与Python VS Code与Python——Autocomplete and IntelliSense VS Code与Python——Autocomplete and IntelliSense VS Code与Python——Refactoring(Extract Variable) VS Code与Python——Refactoring(Extract Method) VS Code与Python——Refactoring(Sort imports) VS Code与Python——Linting VS Code与Python——Linting VS Code与Python——Formatting VS Code与Python——Formatting VS Code与Python——Debugging VS Code与Python——Debugging0 码力 | 46 页 | 2.65 MB | 1 年前3
1 Python在Azure Notebook产品发展中的核心地位 以及通过Visual Studio Code的最佳Azure实践 韩骏Studio Code 在 人工智能应用中的最佳 Azure 实践 韩骏@formulahendry 自我介绍 • 微软研发工程师 @ Visual Studio China • IoT • VS Code • VS Code 代码贡献者 • 多款 VS Code 插件作者 • “玩转VS Code”知乎专栏 & 微信公众号作者 https://zhuanlan.zhihu.com/vs-code https://stackoverflow.blog/2017/09/14/python-growing-quickly/ 目录 •宠物识别 •垃圾分类 •展望未来 宠物识别 阿拉斯加雪橇犬 vs 西伯利亚哈士奇 惠比特犬 vs 意大利灵缇犬 深度学习 “黑盒” 狗 ? (0.96) 猫 ? Cat (0.03) 其他 (0.01) 需要解决的问题 深度学习 • 相对于机器学习,严重依赖于高端机,大量的 Stack Overflow 2019 开发者调查 Visual Studio Code • 开源 • 跨平台 • 轻量级 • 智能提示 (IntelliSense) • 代码调试 • 内置 Git 支持 • 多语言支持 • 丰富的插件 VS Code 最热门的插件是? 官宣!全球首秀 Visual Studio Code Python 插 件将提供 Jupyter Notebook 的原生支持0 码力 | 55 页 | 14.99 MB | 1 年前3
PyArmor Documentation v5.9.5Other Version Of Python . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.5 Run bootstrap code in plain scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.6 Let . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 7.3 Bootstrap Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 11.2 Obfuscating Code Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 11.3 Wrap0 码力 | 131 页 | 428.65 KB | 1 年前3
PyArmor Documentation v6.3.1following ways: Obfuscate code object to protect constants and literal strings. Obfuscate co_code of each function (code object) in runtime. Clear f_locals of frame as soon as code object completed execution Distributing Obfuscated Scripts To Other Platform Obfuscating Scripts By Other Python Version Run bootstrap code in plain scripts Let Python Interpreter Recognize Obfuscated Scripts Automatically Obfuscating Python Work with PyUpdater Binding obfuscated scripts to Python interpreter Customizing cross protection code Storing runtime file license.lic to any location Register multiple pyarmor in same machine How to0 码力 | 161 页 | 124.89 KB | 1 年前3
PyArmor Documentation v6.2.7following ways: Obfuscate code object to protect constants and literal strings. Obfuscate co_code of each function (code object) in runtime. Clear f_locals of frame as soon as code object completed execution Distributing Obfuscated Scripts To Other Platform Obfuscating Scripts By Other Python Version Run bootstrap code in plain scripts Let Python Interpreter Recognize Obfuscated Scripts Automatically Obfuscating Python Work with PyUpdater Binding obfuscated scripts to Python interpreter Customizing cross protection code Storing runtime file license.lic to any location Register multiple pyarmor in same machine How to0 码力 | 159 页 | 123.91 KB | 1 年前3
PyArmor Documentation v6.2.8Other Python Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.6 Run bootstrap code in plain scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.7 Let interpreter . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.20 Customizing cross protection code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.21 Storing runtime file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 7.3 Bootstrap Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 70 码力 | 153 页 | 483.38 KB | 1 年前3
Mypy 1.10.0+dev Documentationtype checker for Python. Type checkers help ensure that you’re using variables and functions in your code correctly. With mypy, add type hints (PEP 484 [https://peps.python.org/pep-0484/]) to your Python those types incorrectly. Python is a dynamic language, so usually you’ll only see errors in your code when you attempt to run it. Mypy is a static checker, so it finds bugs in your programs without even use the Python interpreter to run your code, even if mypy reports errors. Mypy is designed with gradual typing in mind. This means you can add type hints to your code base slowly and that you can always0 码力 | 318 页 | 270.84 KB | 1 年前3
Mypy 1.8.0 Documentationtype checker for Python. Type checkers help ensure that you’re using variables and functions in your code correctly. With mypy, add type hints (PEP 484 [https://peps.python.org/pep-0484/]) to your Python those types incorrectly. Python is a dynamic language, so usually you’ll only see errors in your code when you attempt to run it. Mypy is a static checker, so it finds bugs in your programs without even use the Python interpreter to run your code, even if mypy reports errors. Mypy is designed with gradual typing in mind. This means you can add type hints to your code base slowly and that you can always0 码力 | 318 页 | 271.55 KB | 1 年前3
PyArmor Documentation v6.4.4Other Python Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.7 Run bootstrap code in plain scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.8 Let interpreter . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.21 Customizing cross protection code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 i 3.22 Storing runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 7.3 Bootstrap Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 70 码力 | 167 页 | 510.99 KB | 1 年前3
The Python Handbook
Handbook 1. Introduction to Python 2. Installing Python 3. Running Python programs 4. Python 2 vs Python 3 5. The basics of working with Python 5.1. Variable 5.2. Expressions and statement 5.3 In particular, you have a distinction between using interactive prompts, where you type Python code and it's immediately executed, and saving a Python program into a file, and executing that. Let's (Read-Evaluate-Print-Loop) Notice the >>> symbol, and the cursor after that. You can type any Python code here, and press the enter key to run it. For example try defining a new variable using name =0 码力 | 93 页 | 7.31 MB | 1 年前3
共 569 条
- 1
- 2
- 3
- 4
- 5
- 6
- 57













