查询词典 python
- 与 python 相关的网络例句 [注:此内容来源于网络,仅供参考]
-
By default this won't be in your Python path.
预设状态下,它不会在你的 Python 目录里。
-
In this chapter, we take a look at Python's mapping and set types.
36本章中,我们来讨论Python语言中的映射类型和集合类型。
-
I think my most innovative contribution to Python's success was making it easy to extend.
我想,我对 Python 的成功最有创新的贡献,应该是让它易于扩展。
-
Templating, which is what this recipe does, is a very popular task in Python, for which you can find any number of existing Pythonic solutions.
模板,如这一份食谱所做的,是Python的一件非常流行的工作,你能找到若干种已存的Pythonic解决方案。
-
Practically all Python objects have a string presentation either evaluatable from repr( or '', or printable from str. The print statement automatically invokes the str function for an object. This gets even better. When you are defining your own objects, there are hooks for you to create string representations of your object such that repr and str (and '' and print) return an appropriate string as output. And if worse comes to worst and neither repr or str is able to display an object, the Pythonic default is at least to give you something of the format
事实上,所有的Python对象都有一个字符串表示形式(通过repr函数,''或者str函数来展现)。print语句自动为每个对象调用该对象的str方法,这种机制的一个额外的好处就是在你定义你自己的对象时,你可以利用这种机制定义repr(,str或者''或者print来为你的对象创建一种字符串表达形式,它可以在被调用时返回适当的字符串描述信息,这样即使在坏的不能再坏的情况下,repr或者str起码可以给你返回一个对象的信息,Pythonic方式的默认做法是起码给你返回想如下格式的信息
-
Well, this time we have XSL and C #, but we also have Python and Qt C++.
嗯,这次我们有XSL和C #,但我们也有Python和Qt C++。
-
The Python Reference Manual gives a more formal definition of the language.
Python参考手册提供了更多语言相关的正式说明。
-
Course by Python expert, Kenneth Reitz, starts from a beginner level and walks you through all the basic concepts of the language.
由Python的专家,肯尼斯赖茨,起点从初学者水平,引导所有语言的基本概念你。
-
We suggest you refer to the documentation for more details on how to use REs with Python.
我们建议你参阅有关文档以获得更多在Python语言中使用正则表达式的知识。
-
The Python interpreter raises an exception when it detects a run-time error.
Python解释器会在发现运行时错误时抛出异常。
- 推荐网络例句
-
Breath, muscle contraction of the buttocks; arch body, as far as possible to hold his head, right leg straight towards the ceiling (peg-leg knee in order to avoid muscle tension).
呼气,收缩臀部肌肉;拱起身体,尽量抬起头来,右腿伸直朝向天花板(膝微屈,以避免肌肉紧张)。
-
The cost of moving grain food products was unchanged from May, but year over year are up 8%.
粮食产品的运输费用与5月份相比没有变化,但却比去年同期高8%。
-
However, to get a true quote, you will need to provide detailed personal and financial information.
然而,要让一个真正的引用,你需要提供详细的个人和财务信息。