杜逸先 使用 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实践 韩骏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 年前3
Apache ShardingSphere v5.5.0 documentAppendix with SQL operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 8.3 Readwrite‐splitting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 8.3.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Readwrite‐splitting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 Transaction . . . . . . . . . . . . . . . . . . . 458 9.4 Error Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460 9.4.1 SQL Error Code . . . . . . . . . . . . . . . . . . . . .0 码力 | 602 页 | 3.85 MB | 1 年前3
Apache ShardingSphere 中文文档 5.3.29.1. ShardingSphere-JDBC 61 Apache ShardingSphere document 参数解释 读写分离 rules: - !READWRITE_SPLITTING dataSources:(+): # 读写分离逻辑数据源名称 write_data_source_name: # 写库数据源名称 read_data_source_names: 算法类型的详情,请参见内置负载均衡算法列表。 操作步骤 1. 添加读写分离数据源 2. 设置负载均衡算法 3. 使用读写分离数据源 配置示例 rules: - !READWRITE_SPLITTING dataSources: readwrite_ds: writeDataSourceName: write_ds readDataSourceNames: - read_ds_0 dialect-exception,数 据库网关的 PostgreSQL 实现 • org.apache.shardingsphere:shardingsphere-readwrite-splitting-core,读写分 离核心 • org.apache.shardingsphere:shardingsphere-shadow-core,影子库核心 • org.apache.shard 0 码力 | 508 页 | 4.44 MB | 1 年前3
Apache ShardingSphere 中文文档 5.4.19.1. ShardingSphere-JDBC 61 Apache ShardingSphere document 参数解释 读写分离 rules: - !READWRITE_SPLITTING dataSources:(+): # 读写分离逻辑数据源名称,默认使用 Groovy 的行表达式 SPI 实现来 解析 write_data_source_name: 算法类型的详情,请参见内置负载均衡算法列表。 操作步骤 1. 添加读写分离数据源 2. 设置负载均衡算法 3. 使用读写分离数据源 配置示例 rules: - !READWRITE_SPLITTING dataSources: readwrite_ds: writeDataSourceName: write_ds readDataSourceNames: - read_ds_0 dialect-exception,数 据库网关的 PostgreSQL 实现 • org.apache.shardingsphere:shardingsphere-readwrite-splitting-core,读写分 离核心 • org.apache.shardingsphere:shardingsphere-shadow-core,影子库核心 • org.apache.shard 0 码力 | 530 页 | 4.49 MB | 1 年前3
Apache ShardingSphere v5.5.0 中文文档9.1. ShardingSphere-JDBC 62 Apache ShardingSphere document 参数解释 读写分离 rules: - !READWRITE_SPLITTING dataSourceGroups:(+): # 读写分离逻辑数据源名称,默认使用 Groovy 的行表达式 SPI 实现来 解析 write_data_source_name: 算法类型的详情,请参见内置负载均衡算法列表。 操作步骤 1. 添加读写分离数据源 2. 设置负载均衡算法 3. 使用读写分离数据源 配置示例 rules: - !READWRITE_SPLITTING dataSourceGroups: readwrite_ds: writeDataSourceName: write_ds readDataSourceNames: - read_ds_0 dialect-exception,数 据库网关的 PostgreSQL 实现 • org.apache.shardingsphere:shardingsphere-readwrite-splitting-core,读写分 离核心 • org.apache.shardingsphere:shardingsphere-shadow-core,影子库核心 • org.apache.shard 0 码力 | 557 页 | 4.61 MB | 1 年前3
Apache ShardingSphere 中文文档 5.2.0ShardingSphere-JDBC 57 Apache ShardingSphere document, v5.2.0 参数解释 静态读写分离 rules: - !READWRITE_SPLITTING dataSources:(+): # 读写分离逻辑数据源名称 static-strategy: # 读写分离类型 write-data-source-name: (+): # 负载均衡算法名称 type: # 负载均衡算法类型 props: # 负载均衡算法属性配置 # ... 动态读写分离 rules: - !READWRITE_SPLITTING dataSources: (+): # 读写分离逻辑数据源名称 dynamic-strategy: # 读写分离类型 auto-aware-data-source-name: ShardingSphere document, v5.2.0 操作步骤 1. 添加读写分离数据源 2. 设置负载均衡算法 3. 使用读写分离数据源 配置示例 rules: - !READWRITE_SPLITTING dataSources: readwrite_ds: staticStrategy: writeDataSourceName: write_ds readDataSourceNames: 0 码力 | 449 页 | 5.85 MB | 1 年前3
Typescript, Angular, 和移动端的跨平台开发compiler (tsc) ○ tsconfig.json - configures compilation options for JS ○ Static type checking and code refactoring. ● Types are optional and can be inferred by tsc. ● Works with all the popular frameworks: browser and DOM types: lib.es6.d.ts ● DefinitelyTyped - 3000+ common .d.ts files ● Editors (i.e. VS Code) can understand npm modules that have type definitions. TypeScript Adoptions ● Google - All Angular default. ○ Google Express, Firebase, Analytics, Cloud, Finance, etc. ● Microsoft - Visual Studio Code ● Netflix - Many web browser products (i.e. video player) and internal services. ● Palantir, Slack0 码力 | 60 页 | 1.05 MB | 1 年前3
Blender v4.1 Manualcampaign sought to raise €100,000 so that the Foundation could buy the rights to the Blender source code and intellectual property rights from the NaN investors and subsequently release Blender to the open computer, are allowed to make no copies, and never see the source code. Free software allows incredible freedom to the end user. Since the source code is universally available, there are also many more chances aware of their rights under the license. You must include the source code or make the source code freely available. If you modify the code and distribute the modified version, you must license your modifications0 码力 | 6263 页 | 303.71 MB | 1 年前3
Blender v3.2 参考手册(简体中文版)每天更新的软件包,其中包括开发中的最新更改。尽管这些版本也是官⽅ 版,且通常并⾮⾼度试验性质,但由于未同稳定发⾏版⼀样经过完整测 试,可能会崩溃。 Note Blender's source code is available for free to either reference or to Build from Source. While normal users are not expected 它变成⼀个双向箭头,然后按下并拖动。 拆分 Splitting an area will create a new area. Placing the mouse cursor in an area corner will change the cursor to a cross (+) to indicate that pressing down LMB will activate splitting or joining will also turn into a cross when hovering over either end of the border between two areas. When splitting or joining, it's best not to start dragging from this border, but from a corner inside one of the0 码力 | 4448 页 | 258.34 MB | 1 年前3
共 696 条
- 1
- 2
- 3
- 4
- 5
- 6
- 70













