杜逸先 使用 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 年前31 Python在Azure Notebook产品发展中的核心地位 以及通过Visual Studio Code的最佳Azure实践 韩骏
Python 与 Visual Studio Code 在 人工智能应用中的最佳 Azure 实践 韩骏@formulahendry 自我介绍 • 微软研发工程师 @ Visual Studio China • IoT • VS Code • VS Code 代码贡献者 • 多款 VS Code 插件作者 • “玩转VS Code”知乎专栏 & 微信公众号作者 https://zhuanlan https://zhuanlan.zhihu.com/vs-code • https://github.com/formulahendry/955.WLB • Speaker @ 2018 微软技术暨生态大会 • CodeLab @ Google Developer Group • Speaker @ 2019 GitHub 中国官方见面会 我开发的插件 Python 与人工智能 “Python的快速发展的一个主要增 Stack Overflow 2019 开发者调查 Visual Studio Code • 开源 • 跨平台 • 轻量级 • 智能提示 (IntelliSense) • 代码调试 • 内置 Git 支持 • 多语言支持 • 丰富的插件 VS Code 最热门的插件是? 官宣!全球首秀 Visual Studio Code Python 插 件将提供 Jupyter Notebook 的原生支持0 码力 | 55 页 | 14.99 MB | 1 年前32 张孝峰 Python与云 AWS的Python原生应用浅析
JavaScript for Web AWS Command Line Interface pip install awscli 基于SDK for Python (boto3)开发 Show me the code 你甚至可以管理你的卫星 更真实的业务场景 VPC 用户访问 www.mydomain.com ECS Cluster 应用负载均衡器 OAuth Task Weather Task • 摆脱无差异化的工作 • 数分钟全球化部署 Infrastructure as Code AWS CloudFormation 这个样例模板,通过500多行JSON代码完整的描述了一个LAMP网站 包括私有网络架构,数据库,和根据业务量自动伸缩的能力 Infrastructure as Code Infrastructure is Code vs AWS Cloud Development0 码力 | 42 页 | 8.12 MB | 1 年前33 在AWS部署与发布你面向全球的Python Serverless应用 谢洪恩
Real-time Amazon CloudWatch Events Decouple state from code using messaging Track status of data and execution Remove redundant code Build workflows to orchestrate everything Submit Job Wait compute engine for containers Long-running Bring existing code Fully-managed orchestration AWS Fargate Serverless event-driven code execution Short-lived All language runtimes Data source integrations integrations AWS Lambda Serverless for Functions and Containers Lambda layers Let functions easily share code; upload layer once, reference within any function Layer can be anything: Dependencies, training0 码力 | 53 页 | 24.15 MB | 1 年前3Flask-RESTful Documentation Release 0.3.10
we’ve enabled Flask debugging [http://flask.pocoo.org/docs/quickstart/#debug-mode] mode to provide code reloading and better error messages. $ python api.py * Running on http://127.0.0.1:5000/ * Restarting a response, including raw Flask response objects. Flask-RESTful also support setting the response code and response headers using multiple return values, as shown below: class Todo1(Resource): def get(self): # Set the response code to 201 return {'task': 'Hello world'}, 201 class Todo3(Resource): def get(self): # Set the response code to 201 and return custom headers0 码力 | 42 页 | 84.60 KB | 1 年前3Flask-RESTful Documentation Release 0.3.10
and run it using your Python interpreter. Note that we’ve enabled Flask debugging mode to provide code reloading and better error messages. $ python api.py * Running on http://127.0.0.1:5000/ * Restarting a response, including raw Flask response objects. Flask-RESTful also support setting the response code and response headers using multiple return values, as shown below: class Todo1(Resource): def get(self): Todo2(Resource): def get(self): # Set the response code to 201 return {'task': 'Hello world'}, 201 class Todo3(Resource): def get(self): # Set the response code to 201 and return custom headers return {'task':0 码力 | 39 页 | 212.29 KB | 1 年前3Flask-RESTful Documentation Release 0.3.6
and run it using your Python interpreter. Note that we’ve enabled Flask debugging mode to provide code reloading and better error messages. $ python api.py * Running on http://127.0.0.1:5000/ * Restarting a response, including raw Flask response objects. Flask-RESTful also support setting the response code and response headers using multiple return values, as shown below: class Todo1(Resource): def get(self): Todo2(Resource): def get(self): # Set the response code to 201 return {'task': 'Hello world'}, 201 class Todo3(Resource): def get(self): # Set the response code to 201 and return custom headers return {'task':0 码力 | 46 页 | 245.60 KB | 1 年前3Flask-RESTful Documentation Release 0.3.6
we’ve enabled Flask debugging [http://flask.pocoo.org/docs/quickstart/#debug-mode] mode to provide code reloading and better error messages. $ python api.py * Running on http://127.0.0.1:5000/ * Restarting a response, including raw Flask response objects. Flask-RESTful also support setting the response code and response headers using multiple return values, as shown below: class Todo1(Resource): def get(self): # Set the response code to 201 return {'task': 'Hello world'}, 201 class Todo3(Resource): def get(self): # Set the response code to 201 and return custom headers0 码力 | 49 页 | 91.90 KB | 1 年前3Flask-RESTful Documentation Release 0.3.7
and run it using your Python interpreter. Note that we’ve enabled Flask debugging mode to provide code reloading and better error messages. $ python api.py * Running on http://127.0.0.1:5000/ * Restarting a response, including raw Flask response objects. Flask-RESTful also support setting the response code and response headers using multiple return values, as shown below: class Todo1(Resource): def get(self): Todo2(Resource): def get(self): # Set the response code to 201 return {'task': 'Hello world'}, 201 class Todo3(Resource): def get(self): # Set the response code to 201 and return custom headers return {'task':0 码力 | 50 页 | 253.09 KB | 1 年前3Flask-RESTful Documentation Release 0.3.8
and run it using your Python interpreter. Note that we’ve enabled Flask debugging mode to provide code reloading and better error messages. $ python api.py * Running on http://127.0.0.1:5000/ * Restarting a response, including raw Flask response objects. Flask-RESTful also support setting the response code and response headers using multiple return values, as shown below: class Todo1(Resource): def get(self): Todo2(Resource): def get(self): # Set the response code to 201 return {'task': 'Hello world'}, 201 class Todo3(Resource): def get(self): # Set the response code to 201 and return custom headers return {'task':0 码力 | 50 页 | 253.64 KB | 1 年前3
共 563 条
- 1
- 2
- 3
- 4
- 5
- 6
- 57