话题编程语言 › Python

编程语言:Python

探索Python中的任务优化利器

任务优化是Python应用中提高效率的关键。通过Celery与Redis的协同作用,实现异步处理、分布式执行、可靠存储与自动重试。任务委托给Celery异步执行,以Redis作为消息代理,可降低人力成本,同时提高了执行效率。

通过Python脚本支持OC代码重构实践(三):数据项使用模块接入数据通路的适配

本文通过Python脚本实现对OC类中的成员属性的调用进行分析作为实践示例,作为熟悉业务及技术现状时,重构影响评估依据。

一门号称比Python快68000倍的新型AI编程语言

Modular 公司在 9 月正式对外发布了 Mojo,这是一门面向 AI 领域的新型编程语言,号称比 python 快 68000 倍,而且会“着火”,真有那么猛吗?跟随着这篇文章咱来一探究竟......

通过Python脚本支持OC代码重构实践(二):数据项提供模块接入数据通路的代码生成

本文通过Python脚本实现对OC类中的成员属性的调用进行分析作为实践示例,作为熟悉业务及技术现状时,重构影响评估依据。

通过Python脚本支持OC代码重构实践(一):模块调用关系分析

本文通过Python脚本实现对OC类中的成员属性的调用进行分析作为实践示例,作为熟悉业务及技术现状时,重构影响评估依据。

Using A Python Markdown Ast To Find All Paragraphs

In looking for a way to automatically generate descriptions for pages I stumbled into a markdown ast in python. It allows me to go over the markdown page and get only paragraph text. This will ignore headings, blockquotes, and code fences.

比Mojo慢68000倍,Python性能差的锅该给GIL吗?

别了,Python GIL。

深度知识追踪(DKT)详解与Python实现

之前总结过了知识追踪的发展历程,2015年Chris Piech等人第一次将深度学习应用于知识追踪,效果显著,自此出现了大量改进的DKT模型。深度知识追踪模型可以实现对学生的知识状态的动态追踪,相比于之前只能针对测评数据静态诊断的模型,更适用于当前的测评场景。

Best practices for containerizing Python applications with Docker

In this post, we’ll attend to those concerns and take a look at some 6 best practices when containerizing Python applications with Docker.

Using Fuzzy Matching to Search by Sound with Python

When you're writing code to search a database, you can't rely on all those data entries being spelled correctly. Doug Hellmann, developer at DreamHost and author of The Python Standard Library by Example, reviews available options for searching databases by the sound of the target's name, rather than relying on the entry's accuracy.

浅谈Python+requests+pytest接口自动化测试框架的搭建

浅谈Python+requests+pytest接口自动化测试框架的搭建。

浅谈Python+reqest+pytest接口自动化测试框架的搭建

浅谈Python+reqest+pytest接口自动化测试框架的搭建。

Python subprocess模块项目实战

我们日常测试中存在大量重复的造数操作,且流程较长,为了提升测试效率,我们搭建了数据构造平台。平台采用了前端+脚本分离的形式,数据构造脚本独立存在,页面和脚本的关联关系通过页面配置进行绑定。页面配置中,包含了脚本的路径以及启动命令,因此,运行脚本的时候需要在服务器上启动子进程中去执行脚本命令。为了能够了解脚本的执行情况,还需要获取脚本的执行状态以及执行日志。平台后端语言是Python,因此,选择了Python中的subprocess模块,本文重点阐述subprocess模块在项目实战中遇到的问题以及解决方案。

PYTHON自动化操作PPT实践

PPT已经是生活和工作中不可或缺的重要工具,尤其在汇报工作,产品介绍,提案申请等方面,能够帮助用户更加清晰的表达主题。文章重点讲解通过结合PPT模板和大数据分析结果,实现自动化生成PPT文件的过程,极大程度降低人工处理的复杂度,节约成本,提高时效性。

Addressing Python Dependency Confusion at Pinterest

One major issue that put us at risk of dependency confusion was using multiple index endpoints for our Python “pip” config, using the configuration flag — extra-index-url. Pinterest Python artifacts were partially stored on our own custom repository, open-sourced as Pinrepo, and some of our Python packages were stored in JFrog’s Artifactory.

There is a major danger in the usage of the — extra-index-url flag: it will not honor any sort of priority ordering. This has been extensively discussed on Github and Stack Overflow. The short summary is that the volunteer team that manages the pip open-source project does not consider repository index prioritization within the scope of the pip tool. They instead recommend using a single server endpoint that manages priorities on the backend.

Python3 cpython 优化 支持解释器并行

本文介绍了对cpython解释器的并行优化,使其支持真正的多解释器并行执行的解决方案。

首页 - Wiki
Copyright © 2011-2025 iteam. Current version is 2.148.2. UTC+08:00, 2025-12-26 14:45
浙ICP备14020137号-1 $访客地图$