PyConChina2022-上海-Python启动加速探索及实践-严懿宸## Python for Good >>> PyCon China 2022 Python 启动加速 探索及实践 主讲人:严懿宸-阿里云 Python  HELLO WORLD 严懿宸 曾于 Oracle Labs Labs 参与 GraalVM 开发 毕业后加入阿里云-编译器 目前负责 Python / Node.js 的 Runtime 优化 • Python 启动速度简析 • PyCDS 设计与实现 • 更多讨论 • 62% - python ○ 55.9% - main() -> pymain_main() ■ 47.7% - pymain_init() -> init_import_site() -> deep stack with 4+ imports and many Python calls ■ 8% - init_importlib_external() -> deep stack with 2+ imports and many Python calls ■ 5% - ... -> builtin_exec()0 码力 | 21 页 | 3.18 MB | 2 年前3
《玩转webpack》第五章 进阶篇: webpack 构建速度和体积优化策略| 基础篇:webpack 基础用法 03 | 基础篇:webpack 进阶用法 04 | 进阶篇:编写可维护的webpack 构建配置 05 | 进阶篇:webpack 构建速度和体积优化策略 06 | 原理篇:通过源码掌握webpack 打包原理 07 | 原理篇:编写 Loader 和插件 08 | 实战篇:React 全家桶 和webpack 开发商城项目 error(stats.toString("errors-only")); } console.log(stats); }); 颗粒度太粗,看不出问题所在 ## 速度分析:使用 speed-measure-webpack-plugin ## 代码示例 const SpeedMeasurePlugin = require("speed-measure- sass-loader took 24.012 secs module count = 192 coffee-loader took 5.337 secs module count = 29 ## 速度分析插件作用 分析整个打包总耗时 每个插件和loader的耗时情况 ## webpack-bundle-analyzer 分析体积 ## 代码示例 const BundleAnalyzerPlugin0 码力 | 36 页 | 8.13 MB | 2 年前3
古月《ROS入门21讲》19.launch启动文件的使用方法.pdf### 19. launch启动文件的使用方法 主讲人:古月 ## Launch文件Launch文件:通过XML文件实现多节点的配置和启动(可自动启动ROS Master) ## • Launch文件语法0 码力 | 8 页 | 1.03 MB | 2 年前3
The Python Handbook## PYTHON HANDBOOK # Table of Contents Preface The Python Handbook Conclusion ## Preface The Python Handbook follows the 80/20 rule: learn in 20% of the time the 80% of a topic. In particular, the the goal is to get you up to speed quickly with Python. This book is written by Flavio. I publish programming tutorials on my blog flaviocopes.com and I organize a yearly bootcamp at bootcamp.dev. You Enjoy! ## The Python 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. Variable0 码力 | 93 页 | 7.31 MB | 2 年前3
Python AdminUIPython AdminUI 2022 年 06 月 25 日 Powered by TCPDF (www.tcpdf.org) ## 目录 1 安装和快速入门 1.1 基本概念和示例解析 1.2 Use FastAPI instead of Flask 2 创建表单 2.1 List of Form Controls 2.2 Callback when form item 59 15 索引和表格 61 索引 63 ## 使用 Python 制作专业的 Web 前端界面 本 Python 包适用于想要制作简单的前端界面,但却不想处理 HTML, CSS, React, Angular, Webpack 和其他 Javascript 前端代码的情况。你可以直接用 Python 完成网页、表单、图标和仪表盘界面。 一些应用场景:数据项目;运维工具和脚本;简单 带有分页的数据表 • 适配小屏幕和移动设备 - 不需要使用 HTML, CSS 或者 JS 安装和快速入门 使用 pip 安装包: pip install adminui 为您的项目创建一个 python 文件,例如 example.py: from adminui import * app = AdminApp() def on_submit(form_data): print(form_data)0 码力 | 67 页 | 653.37 KB | 2 年前3
1 Beautiful PythonBEAUTIFUL PYTHON Great ideas of language design that make Python enjoyable and useful to so many people. ## O ## FLUENT PYTHON ## O'REILLY TURING 图灵程序设计丛书 流畅的 Python Fluent Python PSF研究员、知名PyCon演讲者心血之作 PSF研究员、知名PyCon演讲者心血之作 全面深入,对Python语言关键特性剖析到位 Published in 9 languages so far: Chinese (simplified) Chinese (traditional) • English French Japanese • Korean • Polish • Portuguese • Russian Book signing happiness. — Walter Gropius (1883–1969), founder of Bauhaus School >>> import this The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better0 码力 | 109 页 | 34.99 MB | 2 年前3
Objeet Oriented Python
Tutorial# Object Oriented Python ## tutorialspoint SIMPLY EASY LEARNING www.tutorialspoint.com ## About the Tutorial Python has been an object-oriented language since it existed. In this tutorial we will try get in-depth features of OOPS in Python programming. ## Audience This tutorial has been prepared for the beginners and intermediate to help them understand the Python Oops features and concepts through Understanding on basic of Python programming language will help to understand and learn quickly. If you are new to programming, it is recommended to first go through “Python for beginners” tutorials. ##0 码力 | 111 页 | 3.32 MB | 2 年前3
Google Python Style Guide## Google Python Style Guide Revision 2.59 Amit Patel Antoine Picard Eugene Jhong Jeremy Hylton Matt Smart Mike Shields Each style point has a summary for which additional information is available You may toggle all summaries with the big arrow button: Toggle all summaries Table of Contents |Python Language Rules|Lint Imports Packages ExceptionsGlobal variables Nested/Local/InnerClasses and Functions DeprecatedLanguage Features Lexical ScopingFunction and Method Decorators Threading Power Features| |---|---| |Python Style Rules|Semicolons Line length Parentheses| |---|---| ||Indentation Blank Lines Whitespace| ||Shebang0 码力 | 30 页 | 94.81 KB | 2 年前3
Python in Azure Functions 基于Python的Azure Functions实践 赵健24fb90d74755f6f59626fe84b055/p1_2.jpg) ## Python in Azure Functions ## 基于Python的Azure Functions实践 赵健 - Microsoft 目录 CONTENTS >> >> Python 在 Azure 中无处不在 >> 粘合剂 – Azure Functions ments/a/5/8/6/a58624fb90d74755f6f59626fe84b055/p3_2.jpg) ## Python 在 Azure 中无处不在 |Rank|Language|Type|Score| |---|---|---|---| |1|Python|☑|100.0| ||||| |2|Java|☑|96.3| ||||| |3|C|☑|94.4| ||||| |4|C++|☑|87 jpg)  Azure SDK for Python  Ansible Azure Module0 码力 | 28 页 | 12.57 MB | 2 年前3
Hello 算法 1.1.0 Python版FELLO FELLO FELLO FELLO FELLO FELLO FELLO >Hello算法 动画图解、一键运行的数据结构与算法教程 靳宇栋 (@krahets) Hello 算法 Python 语言版 作者:靳宇栋 (@krahets) 












