kenneth reitz_Python社区对Kenneth Reitz的采访

2024-03-17 02:30

本文主要是介绍kenneth reitz_Python社区对Kenneth Reitz的采访,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

kenneth reitz

This week, I’m excited to be interviewing the prolific Kenneth Reitz!

本周,我很高兴采访多产的肯尼思·雷茨(Kenneth Reitz) !

Kenneth is the author of the extremely popular requests and pipenv libraries. Join us as we talk about his latest projects and the most challenging code he’s written to date.

肯尼斯(Kenneth)是极受欢迎的requestspipenv库的作者。 加入我们,讨论他的最新项目和他迄今为止编写的最具挑战性的代码。

Ricky: Let’s start at the beginning… How did you get into programming, and when did you start using Python?

Ricky:让我们从头开始……您是如何开始编程的,什么时候开始使用Python的?

Kenneth Reitz

Kenneth: I started programming at a young age. My dad was a programmer, and I taught myself BASIC and C (with this help) at the age of 9. I started using Python in college, when I took my first CS course. Shortly after, I dropped out and learned many other programming languages, but I always kept coming back to Python.

肯尼斯:我从小就开始编程。 我父亲是一名程序员,在我9岁的时候,我就自学了BASIC和C语言(在这个帮助下)。我上大学的第一门CS课程开始使用Python。 不久之后,我退学了,学习了许多其他编程语言,但是我始终回到Python。

Ricky: Congratulations on your new job with Digital Ocean. You’re the senior member of the Developer Relations team. How are you finding the change in role from your previous job at Heroku, and what can we expect from Digital Ocean moving forward in the Python space?

瑞奇:祝贺您在Digital Ocean上的新工作。 您是开发人员关系小组的高级成员。 您如何在以前在Heroku的工作中找到角色的变化,以及我们对Digital Ocean在Python领域的发展有何期待?

Kenneth: Thanks! I’m really enjoying the new role and the opportunity to serve the entire development community, not just the Python community. However, my latest work, Responder, has been a Digital Ocean project, so there’s room to expect more from us in the Python space 😊

肯尼斯:谢谢! 我真的很享受这个新角色,也有机会为整个开发社区服务,而不仅仅是Python社区。 但是,我的最新作品Responder一直是Digital Ocean项目,因此在Python领域还有更多的期望给我们😊

Ricky: You are, of course, most famous for writing the extremely popular requests library and the new pipenv library. Python.org now recommends the use of pipenv for dependency management. How has the community received pipenv? Have you seen much resistance from the community with developers preferring to stick to venv or older methods of dependency management?

Ricky:当然,您以编写非常流行的requests库和新的pipenv库而pipenv 。 Python.org现在建议使用pipenv进行依赖项管理。 社区如何获得pipenv ? 您是否在社区中看到了很多抵制,因为开发人员倾向于坚持使用venv或更旧的依赖管理方法?

Kenneth: The community has received pipenv very well, and even companies like GitHub are using its standards for security vulnerability scanning. I haven’t seen much resistance from the community at all, aside from some hatred on reddit. It took me a while to realize that /r/python doesn’t represent the Python community as much as it represents redditors who use Python.

肯尼斯(Kenneth):社区已经很好地接受了pipenv ,甚至像GitHub这样的公司都在使用其标准进行安全漏洞扫描。 除了对Reddit的仇恨之外,我还没有看到社区的任何阻力。 我花了一段时间才意识到/ r / python并不代表Python社区,而是代表使用Python的Redditor。

Ricky: Now hitting 300 million downloads on your requests library is cool and all, but as a guitarist, what I’m more excited about is your latest project PyTheory. Can you tell us a little about it and your plans for the project going forward?

Ricky:现在您的请求库中的下载量达到了3亿,这很酷,但是作为吉他手,我最激动的是您的最新项目PyTheory 。 您能告诉我们一些有关您以及该项目未来的计划吗?

Kenneth: PyTheory is a very interesting library that attempts to encapsulate all known musical systems into a library. Currently, there is one system: Western. It can render all the different scales for the Western system, programmatically, and tell you the pitches of the notes (either in decimal or symbolic notation). In addition, there are fretboards and chord charts, so you can specify a custom tuning for your guitar, and generate chord charts with it. It’s very abstract.

肯尼斯: PyTheory是一个非常有趣的库,它试图将所有已知的音乐系统封装到一个库中。 当前,有一个系统:西方。 它可以以编程方式呈现Western系统的所有不同音阶,并告诉您音符的音高(以十进制或符号表示)。 此外,还有指板和和弦图,因此您可以为吉他指定自定义调音,并使用它生成和弦图。 非常抽象。

Definitely the most challenging thing I’ve ever written.

绝对是我写过的最具挑战性的东西。

Ricky: So after recently ditching your Mac for a PC, and turning to Microsoft’s (amazing) VS Code for your Python development, are you happy and proud to be a Windows user? For those who may be reading who haven’t used Windows since Windows ‘95, what are they missing?

Ricky:因此,在最近放弃Mac转向PC并转而使用Microsoft的(惊人的) VS Code进行Python开发之后,成为Windows用户感到高兴和自豪吗? 对于那些可能阅读自Windows '95以来就没有使用过Windows的人,他们缺少了什么?

Kenneth: I love the Mac and prefer it to Windows. I’m just currently bored with my setup and decided to challenge myself by running Windows. I’m very happy and productive, though. Feels right at home.

肯尼斯:我爱Mac,并且更喜欢Windows。 我目前对设置感到无聊,因此决定通过运行Windows来挑战自己。 不过,我感到非常高兴和富有成效。 感觉就像在家里一样。

Windows isn’t what it used to be. It’s a real solid piece of operating system now. I’m running it on my iMac Pro, and it hums like a dream.

Windows不再是以前的样子。 现在,它是真正可靠的操作系统。 我正在iMac Pro上运行它,它像梦一样嗡嗡作响。

Ricky: I know you’re a keen photographer. How long have you been into it, and what’s your favorite photo you’ve taken? Do you have any other hobbies and interests, aside from Python?

瑞奇:我知道你是一位敏锐的摄影师。 您玩了多久了?您最喜欢的照片是什么? 除了Python,您还有其他爱好和兴趣吗?

Kenneth: I’ve been into photography seriously for about 10 years. My favorite photo I’ve ever taken is probably this one. It was taken on a film camera, after I had a migraine for several weeks, and it was my first time being able to walk outside.

肯尼斯:我已经认真从事摄影工作约十年了。 我拍过的最喜欢的照片可能就是这张 。 我偏头痛好几个星期后,它是用胶卷相机拍摄的,这是我第一次能走到外面。

Ricky: Finally, any parting words of wisdom? Anything you’d like to share and/or plug?

瑞奇:最后,还有智慧的话吗? 您想分享和/或插入任何内容吗?

Kenneth: Responder! My new web service framework for Python. It’s ASGI, it’s familiar looking, it’s fast, and it’s easier to use than Flask! Great for building APIs. Check it out!

肯尼思:回应者! 我的新的Python Web服务框架。 它是ASGI,外观熟悉,速度快,而且比Flask易于使用! 非常适合构建API。 看看这个!



Thank you, Kenneth, for joining me this week. It’s been great to watch the development of Responder happen in realtime on Twitter. You can follow its development or raise an issue here.

谢谢肯尼斯,本周加入我的行列。 很高兴在Twitter上实时观看Responder的开发。 您可以按照其发展或提出问题在这里 。

As always, if there is someone you would like me to interview in the future, reach out to me in the comments below, or send me a message on Twitter.

与往常一样,如果您将来希望有人采访我,请在下面的评论中与我联系,或者在Twitter上给我发送消息 。

翻译自: https://www.pybloggers.com/2018/11/python-community-interview-with-kenneth-reitz/

kenneth reitz

这篇关于kenneth reitz_Python社区对Kenneth Reitz的采访的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!


原文地址:https://blog.csdn.net/cumei1658/article/details/107361339
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.chinasem.cn/article/817531

相关文章

python常见环境管理工具超全解析

《python常见环境管理工具超全解析》在Python开发中,管理多个项目及其依赖项通常是一个挑战,下面:本文主要介绍python常见环境管理工具的相关资料,文中通过代码介绍的非常详细,需要的朋友... 目录1. conda2. pip3. uvuv 工具自动创建和管理环境的特点4. setup.py5.

Python常用命令提示符使用方法详解

《Python常用命令提示符使用方法详解》在学习python的过程中,我们需要用到命令提示符(CMD)进行环境的配置,:本文主要介绍Python常用命令提示符使用方法的相关资料,文中通过代码介绍的... 目录一、python环境基础命令【Windows】1、检查Python是否安装2、 查看Python的安

Python UV安装、升级、卸载详细步骤记录

《PythonUV安装、升级、卸载详细步骤记录》:本文主要介绍PythonUV安装、升级、卸载的详细步骤,uv是Astral推出的下一代Python包与项目管理器,主打单一可执行文件、极致性能... 目录安装检查升级设置自动补全卸载UV 命令总结 官方文档详见:https://docs.astral.sh/

Python并行处理实战之如何使用ProcessPoolExecutor加速计算

《Python并行处理实战之如何使用ProcessPoolExecutor加速计算》Python提供了多种并行处理的方式,其中concurrent.futures模块的ProcessPoolExecu... 目录简介完整代码示例代码解释1. 导入必要的模块2. 定义处理函数3. 主函数4. 生成数字列表5.

Python中help()和dir()函数的使用

《Python中help()和dir()函数的使用》我们经常需要查看某个对象(如模块、类、函数等)的属性和方法,Python提供了两个内置函数help()和dir(),它们可以帮助我们快速了解代... 目录1. 引言2. help() 函数2.1 作用2.2 使用方法2.3 示例(1) 查看内置函数的帮助(

Python虚拟环境与Conda使用指南分享

《Python虚拟环境与Conda使用指南分享》:本文主要介绍Python虚拟环境与Conda使用指南,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一、python 虚拟环境概述1.1 什么是虚拟环境1.2 为什么需要虚拟环境二、Python 内置的虚拟环境工具

Python实例题之pygame开发打飞机游戏实例代码

《Python实例题之pygame开发打飞机游戏实例代码》对于python的学习者,能够写出一个飞机大战的程序代码,是不是感觉到非常的开心,:本文主要介绍Python实例题之pygame开发打飞机... 目录题目pygame-aircraft-game使用 Pygame 开发的打飞机游戏脚本代码解释初始化部

Python pip下载包及所有依赖到指定文件夹的步骤说明

《Pythonpip下载包及所有依赖到指定文件夹的步骤说明》为了方便开发和部署,我们常常需要将Python项目所依赖的第三方包导出到本地文件夹中,:本文主要介绍Pythonpip下载包及所有依... 目录步骤说明命令格式示例参数说明离线安装方法注意事项总结要使用pip下载包及其所有依赖到指定文件夹,请按照以

Python实现精准提取 PDF中的文本,表格与图片

《Python实现精准提取PDF中的文本,表格与图片》在实际的系统开发中,处理PDF文件不仅限于读取整页文本,还有提取文档中的表格数据,图片或特定区域的内容,下面我们来看看如何使用Python实... 目录安装 python 库提取 PDF 文本内容:获取整页文本与指定区域内容获取页面上的所有文本内容获取

基于Python实现一个Windows Tree命令工具

《基于Python实现一个WindowsTree命令工具》今天想要在Windows平台的CMD命令终端窗口中使用像Linux下的tree命令,打印一下目录结构层级树,然而还真有tree命令,但是发现... 目录引言实现代码使用说明可用选项示例用法功能特点添加到环境变量方法一:创建批处理文件并添加到PATH1