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的采访的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/817531

相关文章

Python获取C++中返回的char*字段的两种思路

《Python获取C++中返回的char*字段的两种思路》有时候需要获取C++函数中返回来的不定长的char*字符串,本文小编为大家找到了两种解决问题的思路,感兴趣的小伙伴可以跟随小编一起学习一下... 有时候需要获取C++函数中返回来的不定长的char*字符串,目前我找到两种解决问题的思路,具体实现如下:

python连接本地SQL server详细图文教程

《python连接本地SQLserver详细图文教程》在数据分析领域,经常需要从数据库中获取数据进行分析和处理,下面:本文主要介绍python连接本地SQLserver的相关资料,文中通过代码... 目录一.设置本地账号1.新建用户2.开启双重验证3,开启TCP/IP本地服务二js.python连接实例1.

基于Python和MoviePy实现照片管理和视频合成工具

《基于Python和MoviePy实现照片管理和视频合成工具》在这篇博客中,我们将详细剖析一个基于Python的图形界面应用程序,该程序使用wxPython构建用户界面,并结合MoviePy、Pill... 目录引言项目概述代码结构分析1. 导入和依赖2. 主类:PhotoManager初始化方法:__in

Python从零打造高安全密码管理器

《Python从零打造高安全密码管理器》在数字化时代,每人平均需要管理近百个账号密码,本文将带大家深入剖析一个基于Python的高安全性密码管理器实现方案,感兴趣的小伙伴可以参考一下... 目录一、前言:为什么我们需要专属密码管理器二、系统架构设计2.1 安全加密体系2.2 密码强度策略三、核心功能实现详解

Python Faker库基本用法详解

《PythonFaker库基本用法详解》Faker是一个非常强大的库,适用于生成各种类型的伪随机数据,可以帮助开发者在测试、数据生成、或其他需要随机数据的场景中提高效率,本文给大家介绍PythonF... 目录安装基本用法主要功能示例代码语言和地区生成多条假数据自定义字段小结Faker 是一个 python

Python实现AVIF图片与其他图片格式间的批量转换

《Python实现AVIF图片与其他图片格式间的批量转换》这篇文章主要为大家详细介绍了如何使用Pillow库实现AVIF与其他格式的相互转换,即将AVIF转换为常见的格式,比如JPG或PNG,需要的小... 目录环境配置1.将单个 AVIF 图片转换为 JPG 和 PNG2.批量转换目录下所有 AVIF 图

Python通过模块化开发优化代码的技巧分享

《Python通过模块化开发优化代码的技巧分享》模块化开发就是把代码拆成一个个“零件”,该封装封装,该拆分拆分,下面小编就来和大家简单聊聊python如何用模块化开发进行代码优化吧... 目录什么是模块化开发如何拆分代码改进版:拆分成模块让模块更强大:使用 __init__.py你一定会遇到的问题模www.

详解如何通过Python批量转换图片为PDF

《详解如何通过Python批量转换图片为PDF》:本文主要介绍如何基于Python+Tkinter开发的图片批量转PDF工具,可以支持批量添加图片,拖拽等操作,感兴趣的小伙伴可以参考一下... 目录1. 概述2. 功能亮点2.1 主要功能2.2 界面设计3. 使用指南3.1 运行环境3.2 使用步骤4. 核

Python 安装和配置flask, flask_cors的图文教程

《Python安装和配置flask,flask_cors的图文教程》:本文主要介绍Python安装和配置flask,flask_cors的图文教程,本文通过图文并茂的形式给大家介绍的非常详细,... 目录一.python安装:二,配置环境变量,三:检查Python安装和环境变量,四:安装flask和flas

使用Python自建轻量级的HTTP调试工具

《使用Python自建轻量级的HTTP调试工具》这篇文章主要为大家详细介绍了如何使用Python自建一个轻量级的HTTP调试工具,文中的示例代码讲解详细,感兴趣的小伙伴可以参考一下... 目录一、为什么需要自建工具二、核心功能设计三、技术选型四、分步实现五、进阶优化技巧六、使用示例七、性能对比八、扩展方向建