Python入门教程.pdf

上传人:Alice1997 文档编号:100513795 上传时间:2022-05-27 格式:PDF 页数:61 大小:168.22KB
下载 相关 举报
Python入门教程.pdf_第1页
第1页 / 共61页
Python入门教程.pdf_第2页
第2页 / 共61页
Python入门教程.pdf_第3页
第3页 / 共61页
Python入门教程.pdf_第4页
第4页 / 共61页
Python入门教程.pdf_第5页
第5页 / 共61页
亲,该文档总共61页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
Introduction to Programming & Python1CIT 590What is Programming?2A program is a collection of instructions that performs a specific task (or set of tasks) when executedWhat is Programming?3A program is a collection of instructions that performs a specific task (or set of tasks) when executedProgramming is a way of specifying (or writing) the instructionsWhat is Programming?4A program is a collection of instructions that performs a specific task (or set of tasks) when executedProgramming is a way of specifying (or writing) the instructionsProgramming languages vary in many ways:-Syntax: Structure or grammar of the language-Semantics: Meaning of the code. What will it do when I run it?-Speed-Memory management-Etc.Client-Side vs. Server-Side Programming5Client-side programs run on a client-Client-side programming has mostly to do with a users interaction with a user interfaceFor example, a web page is a client-side program that runs in a web browser, the client-Common client-side programming languages are:HTML, CSS, and JavaScriptClient-Side vs. Server-Side Programming6Client-side programs run on a client-Client-side programming has mostly to do with a users interaction with a user interfaceFor example, a web page is a client-side program that runs in a web browser, the client-Common client-side programming languages are:HTML, CSS, and JavaScriptServer-side programs run on a server (or computer)-Server-side programming has mostly to do with the interaction between a user interface and a program on a serverFor example, a web page sends messages (or requests) to a program on a server and it processes user input and interacts with a database-Common server-side programming languages are:Python, Java, PHP, and ASP.NETWhat is Python?Python was named after the TV show Monty Pythons Flying Circus7What is Python?Python was named after the TV show Monty Pythons Flying CircusPython is a high-level programming language-Provides abstraction from the details of the computerDoes most of the work in communicating with the computerThe code is intuitive and easy to understand8What is Python?Python was named after the TV show Monty Pythons Flying CircusPython is a high-level programming language-Provides abstraction from the details of the computerDoes most of the work in communicating with the computerThe code is intuitive and easy to understandPython is an object-oriented programming (OOP) language-Organized around objects rather than “actions”9What is Python?Python is an interpreted programming language-Does not need to be compiledDoes not need to be converted from one language to anotherFor example: Java-Is interpreted by a Python interpreterIts small and can run on any kind of computer!-This means that sometimes its difficult to debug your Python programsDo not make the mistake of typing out large chunks of code and not testing it at all10Why Python?Python is an open source programming language-Its free!11Why Python?Python is an open source programming language-Its free!Python is powerful, flexible, and intuitive-There are many Python libraries and resources available online-Closely resembles the English language12Why Python?Python is an open source programming language-Its free!Python is powerful, flexible, and intuitive-There are many Python libraries and resources available online-Closely resembles the English languagePython is good for beginners and a great foundation for other languages!13Why Python?Python is an open source programming language-Its free!Python is powerful, flexible, and intuitive-There are many Python libraries and resources available online-Closely resembles the English languagePython is good for beginners and a great foundation for other languages!Python can be used for:-Artificial intelligence/machine learning/natural language processing-Web development-Data analysis & visualization-Game programming-Desktop GUIs-Many other purposes!14Configuring Python & Tools15Download/Installing Python16We will be using Python 3 in this course-If you already have Python 2 installed, please upgrade to Python 3Download/Installing Python17We will be using Python 3 in this course-If you already have Python 2 installed, please upgrade to Python 3To download and install Python, go here: https:/www.python.org/downloads/(Download the latest version)Download/Installing Python18We will be using Python 3 in this course-If you already have Python 2 installed, please upgrade to Python 3To download and install Python, go here: https:/www.python.org/downloads/(Download the latest version)This download/install comes bundled with IDLE (Pythons Integrated Development and Learning Environment)-Includes an interactive Python interpreter and script editor-Well eventually be using IDLE to write and run Python scriptsJupyter Notebook19For today, well use Jupyter Notebook to write and run Python codeJupyter Notebook runs in a browser on your computer-Includes interactive Python interpreter and script editor-To install, download Anaconda,
展开阅读全文
相关资源
相关搜索

当前位置:首页 > 软件教程 > 其他软件教程

版权所有:www.WDFXW.net 

鲁ICP备09066343号-25 

QQ: 200681278 或 335718200