`
sillycat
  • 浏览: 2486990 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

English-008 DiveIntoPython

阅读更多
English-008 DiveIntoPython

1.the installer will prompt you to choose a destination directory.You are not limited to installing Python on the C: drive; you can install it on any drive, in any folder.
prompt [prɔmpt]   vt. 促进;激起;提示;(给演员)提白
limited ['limitid]   adj. 有限的

2.The next page looks complicated, but it’s not really. Like many installers, you have the option not to install every single component of Python 3. If disk space is especially tight, you can exclude certain components.
complicated ['kɔmplikeitid]   adj. 难懂的,复杂的
exclude [iks'klu:d]  vt. 排除;排斥;拒绝接纳;逐出

3.It probably makes absolutely no sense to you. Don’t worry about that, because you’re going to dissect it line by line.
dissect [di'sekt]  vt. 切细;仔细分析

4.The print() function is built-in; you’ll never see an explicit declaration of it.
explicit [ik'splisit]  adj. 清楚的;明确的;直率的;详述的

5.Did you know that you can use Dropbox to share files and collaborate on projects
collaborate [kə'læbəreit]  vi. 合作;勾结,通敌

6.Humans are all aliens who came to earth from outer space, a leading British scientist has claimed.
alien ['eiljən] n. 外星人;外国人,外侨
claim [kleim]  vt. 要求;声称;认领;需要

7.He claimed microbes from outer space arrived on earth from comets
microbe ['maikrəub]  n. 细菌,微生物
comet ['kɔmit]  n. 彗星

8.It is the IDE I used to learn Python, and I recommend you try it unless you have a specific reason not to.

9.Note that the keyword def starts the function declaration, followed by the function name, followed by the arguments in parentheses. Multiple arguments (not shown here) are separated with commas.
parenthesis [pə'renθisis] n. 插入语;圆括号;附带
comma ['kɔmə]  n. 逗号;停顿

10.A language in which types may be ignored; the opposite of strongly typed. VBScript is weakly typed. In VBScript, you can concatenate the string '12' and the integer 3 to get the string '123', then treat that as the integer 123, all without any explicit conversion.
concatenate [kɔn'kætineit]  vt. 使连锁;连结
explicit [ik'splisit] adj. 清楚的;明确的;直率的;详述的

11.Triple quotes signify a multi-line string. Everything between the start and end quotes is part of a single string, including carriage returns and other quote characters
triple ['tripl] adj. 三倍的;三方的 n. 三倍数;三个一组
quote [kwəut, kəut]  n. 引用
signify ['signifai]  vt. 表示;意味;预示

12.Python gives you an added incentive: the doc string is available at runtime as an attribute of the function.
incentive [in'sentiv]  n. 动机;刺激

13 Python functions have no explicit begin or end, and no curly braces to mark where the function code starts and stops. The only delimiter is a colon (:) and the indentation of the code itself.
explicit [ik'splisit]  adj. 清楚的;明确的;直率的;详述的
curly ['kə:li]  adj. 卷曲的;卷毛的;(木材)有皱状纹理的;蜷缩的
brace [breis]  n. 支柱;大括号;曲柄
delimiter [di'limitə]  n. 定界符
colon ['kəulən]  冒号
indentation [,inden'teiʃən]  n. 压痕,刻痕;凹陷;缩排;呈锯齿状

14.Python modules are objects and have several useful attributes. You can use this to easily test your modules as you write them. Here's an example that uses the if __name__ trick.
trick [trik]  n. 诡计;恶作剧;窍门;骗局;欺诈;花招

15.You can not have duplicate keys in a dictionary. Assigning a value to an existing key will wipe out the old value.
wipe [waip]  vi. 擦;打    wipe out: 彻底摧毁,消灭;擦净,擦掉;消灭;消灭,毁灭

16.Note that the new element (key 'uid', value 'sa') appears to be in the middle. In fact, it was just a coincidence that the elements appeared to be in order in the first example.
coincidence [kəu'insidəns]  n. 巧合;一致;同时发生

17.you need to be aware that dictionary keys are case-sensitive

18.Lists are Python's workhorse datatype.
workhorse ['wə:khɔ:s] n. 做重活的人;驮马;重负荷机器 adj. 工作重的;吃苦耐劳的 workhorse class: 主力类

19.First, you define a list of five elements. Note that they retain their original order. This is not an accident. A list is an ordered set of elements enclosed in square brackets.
retain [ri'tein] vt. 保持;雇;记住

20.If the left slice index is 0, you can leave it out, and 0 is implied. So li[:3] is the same as li[0:3]
implied [im'plaid]  adj. 含蓄的;暗指的 隐式的;暗指的;默示的;暗喻手法
分享到:
评论

相关推荐

    Dive into python (英文)

    Dive into python, English version

    Test-Driven Development with Python [2017]

    Dive into the TDD workflow, including the unit test/code cycle and refactoring Use unit tests for classes and functions, and functional tests for user interactions within the browser Learn when and ...

    MQTT Essentials - A Lightweight IoT Protocol

    Dive deep into one of IoT's extremely lightweight machines to enable connectivity protocol with some real-world examples Learn to take advantage of the features included in MQTT for IoT and Machine-to...

    Large Scale Machine Learning with Python

    Dive into scalable machine learning and the three forms of scalability. Speed up algorithms that can be used on a desktop computer with tips on parallelization and memory allocation. Get to grips with...

    Python Data Analysis Cookbook

    In this book, you will dive deeper into recipes on spectral analysis, smoothing, and bootstrapping methods. Moving on, you will learn to rank stocks and check market efficiency, then work with metrics...

    Python Deep Learning

    Whether you want to dive deeper into Deep Learning, or want to investigate how to get more out of this powerful technology, you’ll find everything inside. What you will learn Get a practical deep ...

    LargeScaleMachineLearningwithPython.pdf

    Large Scale Machine Learning with Python [PDF + EPUB + CODE] Packt Publishing | August 4, 2016 | English | 439 pages Large Python machine learning projects involve new problems associated with ...

    Hands-On Machine Learning with Scikit-Learn and TensorFlow [EPUB]

    decision trees, random forests, and ensemble methods Use the TensorFlow library to build and train neural nets Dive into neural net architectures, including convolutional nets, recurrent nets, and ...

    Hands-On Machine Learning with Scikit-Learn and TensorFlow [Kindle Edition]

    Dive into neural net architectures, including convolutional nets, recurrent nets, and deep reinforcement learning Learn techniques for training and scaling deep neural nets Apply practical code ...

    Machine.Learning.in.Python

    The chapters on penalized linear regression and ensemble methods dive deep into each of the algorithms, and you can use the sample code in the book to develop your own data analysis solutions. ...

    Machine Learning in Python 无水印pdf 0分

    The chapters on penalized linear regression and ensemble methods dive deep into each of the algorithms, and you can use the sample code in the book to develop your own data analysis solutions....

    Python Machine Learning By Example [2017].azw3电子书下载

    Dive deep into the world of analytics to predict situations correctly Implement machine learning classification and regression algorithms from scratch in Python Be amazed to see the algorithms in ...

    Advanced Analytics with Spark: Patterns for Learning from Data at Scale

    You’ll start with an introduction to Spark and its ecosystem, and then dive into patterns that apply common techniques—including classification, clustering, collaborative filtering, and anomaly ...

    Building Recommendation Engines

    Dive into the various techniques of recommender systems such as collaborative, content-based, and cross-recommendations Create efficient decision-making systems that will ease your work Familiarize ...

    Raspberry Pi Zero Cookbook

    Deep dive into the components of the small yet powerful Raspberry Pi Zero Get into grips with integrating various hardware, programming, and networking concepts with the so-called “cheapest computer...

    Packt.Django.Project.Blueprints.2016

    Dive deep into Django forms and how they work internally About the Author Asad Jibran Ahmed is an experienced programmer who has worked mostly with Django-based web applications for the past 5 years. ...

    React and React Native [Kindle Edition]

    Dive deep into each platform, from routing in React to creating native mobile applications that can run offline Use Facebook's Relay, React and GraphQL technologies, to create a unified architecture ...

Global site tag (gtag.js) - Google Analytics