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版本信息获取方法详解与实战

《Python版本信息获取方法详解与实战》在Python开发中,获取Python版本号是调试、兼容性检查和版本控制的重要基础操作,本文详细介绍了如何使用sys和platform模块获取Python的主... 目录1. python版本号获取基础2. 使用sys模块获取版本信息2.1 sys模块概述2.1.1

一文详解Python如何开发游戏

《一文详解Python如何开发游戏》Python是一种非常流行的编程语言,也可以用来开发游戏模组,:本文主要介绍Python如何开发游戏的相关资料,文中通过代码介绍的非常详细,需要的朋友可以参考下... 目录一、python简介二、Python 开发 2D 游戏的优劣势优势缺点三、Python 开发 3D

Python函数作用域与闭包举例深度解析

《Python函数作用域与闭包举例深度解析》Python函数的作用域规则和闭包是编程中的关键概念,它们决定了变量的访问和生命周期,:本文主要介绍Python函数作用域与闭包的相关资料,文中通过代码... 目录1. 基础作用域访问示例1:访问全局变量示例2:访问外层函数变量2. 闭包基础示例3:简单闭包示例4

Python实现字典转字符串的五种方法

《Python实现字典转字符串的五种方法》本文介绍了在Python中如何将字典数据结构转换为字符串格式的多种方法,首先可以通过内置的str()函数进行简单转换;其次利用ison.dumps()函数能够... 目录1、使用json模块的dumps方法:2、使用str方法:3、使用循环和字符串拼接:4、使用字符

Python版本与package版本兼容性检查方法总结

《Python版本与package版本兼容性检查方法总结》:本文主要介绍Python版本与package版本兼容性检查方法的相关资料,文中提供四种检查方法,分别是pip查询、conda管理、PyP... 目录引言为什么会出现兼容性问题方法一:用 pip 官方命令查询可用版本方法二:conda 管理包环境方法

基于Python开发Windows自动更新控制工具

《基于Python开发Windows自动更新控制工具》在当今数字化时代,操作系统更新已成为计算机维护的重要组成部分,本文介绍一款基于Python和PyQt5的Windows自动更新控制工具,有需要的可... 目录设计原理与技术实现系统架构概述数学建模工具界面完整代码实现技术深度分析多层级控制理论服务层控制注

pycharm跑python项目易出错的问题总结

《pycharm跑python项目易出错的问题总结》:本文主要介绍pycharm跑python项目易出错问题的相关资料,当你在PyCharm中运行Python程序时遇到报错,可以按照以下步骤进行排... 1. 一定不要在pycharm终端里面创建环境安装别人的项目子模块等,有可能出现的问题就是你不报错都安装

Python打包成exe常用的四种方法小结

《Python打包成exe常用的四种方法小结》本文主要介绍了Python打包成exe常用的四种方法,包括PyInstaller、cx_Freeze、Py2exe、Nuitka,文中通过示例代码介绍的非... 目录一.PyInstaller11.安装:2. PyInstaller常用参数下面是pyinstal

Python爬虫HTTPS使用requests,httpx,aiohttp实战中的证书异步等问题

《Python爬虫HTTPS使用requests,httpx,aiohttp实战中的证书异步等问题》在爬虫工程里,“HTTPS”是绕不开的话题,HTTPS为传输加密提供保护,同时也给爬虫带来证书校验、... 目录一、核心问题与优先级检查(先问三件事)二、基础示例:requests 与证书处理三、高并发选型:

Python中isinstance()函数原理解释及详细用法示例

《Python中isinstance()函数原理解释及详细用法示例》isinstance()是Python内置的一个非常有用的函数,用于检查一个对象是否属于指定的类型或类型元组中的某一个类型,它是Py... 目录python中isinstance()函数原理解释及详细用法指南一、isinstance()函数