杜逸先 使用 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
Celery 2.5 Documentationstored for later retrieval (called its “tombstone”). 1.1.3 Example You probably want to see some code by now, so here’s an example task adding two numbers: from celery.task import task @task def add(x install Homebrew, you first need to install git. Download and install from the disk image at http://code.google.com/p/git-osx-installer/downloads/list?can=3 When git is installed you can finally clone the RetryTaskError exception is raised instead. Note: The retry() call will raise an exception so any code after the retry will not be reached. This is the celery.exceptions.RetryTaskError exception, it is0 码力 | 400 页 | 1.40 MB | 1 年前3
PyMuPDF 1.24.2 Documentationup with MuPDF and PyMuPDF code being compiled with different compiler versions. 9 PyMuPDF Documentation, Release 1.24.2 As of PyMuPDF-1.20.0, the required MuPDF source code is already in the sdist and performant (by saving mem- ory and file size) this image data should be referenced only once - see the code example and explanation on Page. insert_image() for the implementation. API reference • Page.bound() example you should ensure to be more performant by only referencing the image once if possible - see the code example and explanation on Page.insert_image(). 5.7. Adding a watermark to a 19 PyMuPDF Documentation0 码力 | 565 页 | 6.84 MB | 1 年前3
Celery 2.5 DocumentationThe recommended message broker is RabbitMQ [http://www.rabbitmq.com/], but support for Redis [http://code.google.com/p/redis/], MongoDB [http://mongodb.org/], Beanstalk [http://kr.github.com/beanstalkd/] can be stored for later retrieval (called its “tombstone”). Example You probably want to see some code by now, so here’s an example task adding two numbers: from celery.task import task @task def add(x install Homebrew, you first need to install git. Download and install from the disk image at http://code.google.com/p/git-osx-installer/downloads/list?can=3 When git is installed you can finally clone the0 码力 | 647 页 | 1011.88 KB | 1 年前3
PyMuPDF 1.12.2 documentationPage Pixmap Supported Input Image Types Details on Saving Images with writeImage() Pixmap Example Code Snippets Point Remark Point Algebra Examples Shape Usage Examples Common Parameters Rect on PyPI. There exist several demo and example programs in the main repository, ranging from simple code snippets to full-featured utilities, like text extraction, PDF joiners and bookmark maintenance. sure that the include directory is correctly set in sync with your directory structure the object code libraries are correctly defined Now perform a python setup.py install. Option 2: Install from Binaries0 码力 | 387 页 | 2.70 MB | 1 年前3
Celery 3.1 Documentationminute, hour, day of week, day of month, and month of year. Read more…. automatically reload source code as it changes, including inotify(7) support on Linux. Read more…. Autoscaling Dynamically resizing at why that is. When you send a task message in Celery, that message will not contain any source code, but only the name of the task you want to execute. This works similarly to how host names work on project already using these patterns extensively and you don’t have the time to refactor the existing code then you can consider specifying the names explicitly instead of relying on the automatic naming:0 码力 | 887 页 | 1.22 MB | 1 年前3
Celery 3.1 Documentationmore... . • Autoreloading In development workers can be configured to automatically reload source code as it changes, including inotify(7) support on Linux. Read more... . • Autoscaling Dynamically resizing at why that is. When you send a task message in Celery, that message will not contain any source code, but only the name of the task you want to execute. This works similarly to how host names work on project already using these patterns extensively and you don’t have the time to refactor the existing code then you can consider specifying the names explicitly instead of relying on the automatic naming:0 码力 | 607 页 | 2.27 MB | 1 年前3
Django 1.8.x DocumentationNamespacing URL names Writing your first Django app, part 4 Write a simple form Use generic views: Less code is better Writing your first Django app, part 5 Introducing automated testing Basic testing strategies Django Running Django’s test suite for the first time Writing some tests for your ticket Writing the code for your ticket Running Django’s test suite for the second time Writing Documentation Generating a Apache and mod_wsgi Get your database running Remove any old versions of Django Install the Django code Models and databases Models Making queries Aggregation Managers Performing raw SQL queries Database0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 1.8.x Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605 5.7 FAQ: Contributing code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 606 5.8 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . 932 6.9 Running management commands from your code . . . . . . . . . . . . . . . . . . . . . . . . . . . . 958 6.10 Django Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1615 10.9 The Django source code repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1625 10.10 How is0 码力 | 1685 页 | 6.01 MB | 1 年前3
共 563 条
- 1
- 2
- 3
- 4
- 5
- 6
- 57













