Instituto Politécnico de Tomar. Python. Introduction. Ricardo Campos. Licenciatura ITM Técnicas Avançadas de Programação Abrantes, Portugal, 2018
|
|
- Sharyl Long
- 5 years ago
- Views:
Transcription
1 Instituto Politécnico de Tomar Python Introduction Ricardo Campos Licenciatura ITM Técnicas Avançadas de Programação Abrantes, Portugal, 2018
2 This presentation was developed by Ricardo Campos, Professor of ICT of the Polytechnic Institute of Tomar and researcher of LIAAD - INESC TEC. Part of the slides used in this presentation were adapted from presentations found in internet and from reference bibliography: Dipanjan Sarkar (2016). Text Analytics with Python Scientific-Computing-with-Python.ipynb
3
4 AGENDA What is this talk about? Why History Features Advantages Setup Install Libraries Resources Q&A
5
6 Python is a scientific language and it is the first choice of Scientists much due to its large community of users, easy to find help and documentation. Extensive ecosystem of scientific libraries and environments: numpy: - Numerical Python scipy: - Scientific Python matplotlib: - graphics library No license costs, no unnecessary use of research budget. Python is especially good for our purposes in that it does not have a lot of overhead before getting started. It is easy to jump in and experiment with Python in an interactive fashion.
7 Popular Domains Python is widely used in several domains including artificial intelligence (AI), game development, robotics, Internet of Things (IoT), computer vision, media processing, and network and system monitoring, just to name a few. Although Python can be used for solving a lot of problems, here are some of the most popular domains: Scripting: Python is known as a scripting language. It can be used to perform many tasks, such as interfacing with networks and hardware and handling and processing files and databases, performing OS operations, and receiving and sending . Python is also used extensively for server-side scripting and even for developing entire web servers for serving web pages.
8 Web development: There are a lot of robust and stable Python frameworks out there that are used extensively for web development, including Django, Flask, Web2Py, and Pyramid. Graphical user interfaces (GUIs): A lot of desktop-based applications with GUIs can be easily built with Python. Libraries and APIs like tkinter, PyQt, PyGTK, and wxpython allow developers to develop GUI-based apps with simple as well as complex interfaces. Systems programming: We can use Python to perform OS operations including creating, handling, searching, deleting, and managing files and directories. The Python standard library (PSL) has OS and POSIX bindings that can be used for handling files, multi-threading, multi-processing, environment variables, controlling sockets, pipes, and processes.
9 Database programming: Python is used a lot in connecting and accessing data from different types of databases, be it SQL or NoSQL. APIs and connectors exist for these databases like MySQL, MSSQL, MongoDB, Oracle, PostgreSQL, and SQLite. In fact, SQLite, a lightweight relational database, now comes as a part of the Python standard distribution itself. Scientific computing: Python really shows its flair for being multipurpose in areas like numeric and scientific computing. You can perform simple as well as complex mathematical operations with Python, including algebra and calculus. Libraries like SciPy and NumPy help researchers, scientists, and developers leverage highly optimized functions and interfaces for numeric and scientific programming. These libraries are also used as the base for developing complex algorithms in various domains like machine learning.
10 Machine learning: Python is regarded as one of the most popular languages today for machine learning. There is a wide suite of libraries and frameworks, like scikit-learn, h2o, tensorflow, theano, and even core libraries like numpy and scipy, for not only implementing machine learning algorithms but also using them to solve real-world advanced analytics problems. Text analytics: Python can handle text data very well, and this has led to several popular libraries like nltk, gensim, and pattern for NLP, information retrieval, and text analytics. You can also apply standard machine learning algorithms to solve problems related to text analytics. This ecosystem of readily available packages in Python reduces time and efforts taken for development.
11 Python was developed by Guido van Rossum in the late eighties and early nineties at the National Research Institute for Mathematics and Computer Science in the Netherlands. Guido Van Rossum published the first version of Python code (version 0.9.0) at alt.sources in February In 2008, Python 3 was released on an almost-unthinkable premise - a complete overhaul of the language, with no backwards compatibility. The decision was controversial, and born in part of the desire to clean house on Python.
12 clean and simple language: Easy-to-read and intuitive code, easy-to-learn minimalistic syntax. Reading a good Python program feels almost like reading English. Hello.java public class Hello { public static void main(string[] args){ System.out.println("Hello world!"); } } print "Hello world!" hello.py
13 expressive language: Fewer lines of code, fewer bugs, easier to maintain. dynamically typed: No need to define the type of variables, function arguments or return types. Free and Open Source software. Portable: due to its open-source nature, Python has been ported to many platforms. All your Python programs can work on several platforms without requiring any changes.
14 interpreted: You just run the program directly from the source code. Internally, Python converts the source code into an intermediate form called bytecodes and then translates this into the native language of your computer and then runs it. This also makes your Python programs much more portable, since you can just copy your Python program onto another computer and it just works!
15 Object Oriented: Python supports procedure-oriented programming as well as object-oriented programming. Python has a very powerful but simplistic way of doing OOP, especially when compared to big languages like C++, C# or Java. Interactive: You can actually sit at a Python prompt and interact with the interpreter directly to write your programs. Beginner s Language: Python is a great language for the beginner-level programmers and supports the development of a wide range of applications from simple text processing to WWW browsers to games. Databases: Python provides interfaces to all major commercial databases.
16 The main advantage is ease of programming, minimizing the time required to develop, debug and maintain the code. Besides the standard library, thousands of third-party libraries are readily available on the Internet, encouraging open source and active development. The official repository for hosting third-party libraries and utilities for enhancing development in Python is the Python Package Index (PyPI). Access it at and check out the various packages. Currently there are over 118,000 packages you can install and start using. The pseudo-code nature of Python is one of its greatest strengths. It allows you to concentrate on the solution to the problem rather than the language itself.
17 Which Operating System? The beauty of Python is that is can run seamlessly on any OS without much hassle. The three most popular OSes include the following: Windows Linux MacOS
18 IDE (Integrated Development Environments) The usual components of an IDE include source editor, debugger, compiler, interpreter, and refactoring and build tools. They also have other capabilities such as code-completion, syntax highlighting, error highlighting and checks, objects, and variable explorers. You ll find a list of IDEs used specially for Python at I suggest using the Spyder IDE or IDLE, which comes with the Anaconda Python distribution for writing and executing our code. But you will play much of the time with the jupyter notebooks.
19 Installing This section covers details regarding how to set up your Python environment in Windows with minimal effort and the main components required. First, head over to the official Python website and download Python from You might also find Python installed on your Ubuntu Windows version A great alternative is to download a complete Python distribution with over 700 packages, known as the Anaconda Python distribution, from Continuum Analytics, which is built specially for data science and analytics, at
20 This package provides a lot of advantages, especially for Windows users, where installing some of the packages like numpy and scipy can sometimes cause issues. Anaconda comes with conda, an open source package and environment management system, and Spyder (Scientific Python Development Environment), an IDE for writing and executing your code.
21 Once the installation is complete, either start the Python or IPython shell from the Anaconda command prompt or start up Spyder by doubleclicking the icon
22 Python The standard way to use the Python programming language is to use the Python interpreter to run python code. The python interpreter is a program that reads and execute the python code. At the command prompt, the command python is used to invoke the Python interpreter.
23 IPython IPython is an interactive shell that addresses the limitation of the standard python interpreter, and it is a work-horse for scientific use of python
24 IDLE Type in idle in anaconda command line File New File Type in your code, for example: print('monty Python') Save your file with the name monty.py Run Run Module
25 Close idle. Now suppose you want to import your package on the ipython prompt Before you can do that, you should move to the directory where your code is. import os print os.getcwd() os.chdir('c:\\users\uname\desktop\python') Now import your package import it: from monty import *
26 If you want you can define a permanent path where your files are saved and executed, thus avoiding the need to change or specify a directory To do this go to C:\Anaconda3\Lib\site.py and on PREFIXES define your path (e.g., 'H:\\Backup\\Research\\Programming\\CodigoPython You can now import the package from python prompt: from monty import * (without the need to change directory) You can also execute your program on anaconda prompt. Go to the folder where your program is and type in: python monty.py
27 Spyder Spyder is a MATLAB-like IDE for scientific computing with python. It provides a complete IDE to write and execute code in both the regular Python and IPython shell.
28 Jupyter notebook Jupyter notebook is an HTML-based notebook environment for Python, similar to Mathematica or Maple. The working directory of Jupyter is: c:\user\nomeuser
29 If you want to change that directory do the following: (1) On anaconda command line type in the following: jupyter notebook -- generate-config This will generate a file jupyter/jupyter_notebook_config.py on the folder indicated during the execution of the command. Open that file and search for: c.notebookapp.notebook_dir Specify your new working directory (e.g., H:\\JupyterNotebooks ) and remove the #
30 If you want to change that directory do the following: 2. Search for Jupyter Notebook on Windows search feature - right click open localização do ficheiro Right click Propriedades - Atalho Em iniciar colocar o endereço definido anteriormente (e.g., H:\\JupyterNotebooks ) No destino (no final) remover: %USERPROFILE%
31 You can use either the pip or conda commands to install, uninstall, and upgrade packages. The conda package manager is better than pip in several aspects because it provides a holistic view of which dependencies are going to be upgraded and the specific versions and other details during installation. Also pip often fails to install some packages in Windows, but conda has no such issues during installation.
32 Check for libraries already installed: Or you can also do that on Anaconda navigator:
33 If you are working with anaconda and need any special packages not included in the distribution, you have two options: Try to install it within the shell (in this case launch the anaconda prompt and enter in the shell by typing python or ipython). First try:!conda install name_of_package If it fails try this:!pip install name_of_package Note that the exclamation points tell IPython to send those commands directly to the computer - not to Python itself.
34 Try to install it in the anaconda prompt (in this case launch the anaconda prompt. You must omit the exclamation mark) Try: conda install name_of_package If it fails try this: pip install name_of_package New libraries will be installed on a folder similar to this: C:\Users\campo\Anaconda2\Lib\site-packages
35 If you are working with Python directly you should work within the dos prompt or bash and type in: pip install name_package New libraries will be installed on a folder similar to this: C:\Users\campo\AppData\Local\Programs\Python\Python36\Lib\site-packages
36 What is pip? PyPI, the Python Package Index, is a collection of every public Python package. The pip command connects to PyPI online, finds the package by name, downloads the source code, and tries to install it. The conda project aims to make installation faster and more reliable than pip. It is maintained by the same people who distribute the Anaconda installer. Not every package is available through conda yet, but it's always worth trying conda first. It's always faster than pip, it's more user-friendly, and it's much less error-prone.
37 What if there is a project on GitHub? First, open the anaconda prompt. Then, use the Git to clone the repository from Github and install it manually: git clone cd tweepy python setup.py install Whatever the case you should always import the library: Import tweepy
38 Visualize the execution of your code (
39 Execute your own code online on jupyter / docker (
40
About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer
i About the Tutorial Project is a comprehensive software suite for interactive computing, that includes various packages such as Notebook, QtConsole, nbviewer, Lab. This tutorial gives you an exhaustive
More informationChris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9
http://xkcd.com/353/ Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9 Python Python is a general-purpose programming language, meaning you can write any kind
More informationSpyder Documentation. Release 3. Pierre Raybaut
Spyder Documentation Release 3 Pierre Raybaut Aug 31, 2017 Contents 1 Overview 3 2 Installation 5 2.1 Installing on Windows Vista/7/8/10................................... 5 2.2 Installing on MacOS X..........................................
More informationIntroduction to Computer Vision Laboratories
Introduction to Computer Vision Laboratories Antonino Furnari furnari@dmi.unict.it www.dmi.unict.it/~furnari/ Computer Vision Laboratories Format: practical session + questions and homeworks. Material
More informationGetting Started with Python
Getting Started with Python A beginner course to Python Ryan Leung Updated: 2018/01/30 yanyan.ryan.leung@gmail.com Links Tutorial Material on GitHub: http://goo.gl/grrxqj 1 Learning Outcomes Python as
More informationPython for Science and Engineering
Python for Science and Engineering Hans-Petter Halvorsen https://www.halvorsen.blog Python for Science and Engineering Python for Science and Engineering Hans-Petter Halvorsen 2018 Python for Science and
More informationWebgurukul Programming Language Course
Webgurukul Programming Language Course Take One step towards IT profession with us Python Syllabus Python Training Overview > What are the Python Course Pre-requisites > Objectives of the Course > Who
More informationPython Training. Complete Practical & Real-time Trainings. A Unit of SequelGate Innovative Technologies Pvt. Ltd.
Python Training Complete Practical & Real-time Trainings A Unit of. ISO Certified Training Institute Microsoft Certified Partner Training Highlights : Complete Practical and Real-time Scenarios Session
More informationPython Programming. Hans-Petter Halvorsen.
Python Programming Hans-Petter Halvorsen https://www.halvorsen.blog Python Programming Python Programming Hans-Petter Halvorsen 2018 Python Programming c Hans-Petter Halvorsen December 20, 2018 1 Preface
More informationHarnessing the Power of Python in ArcGIS Using the Conda Distribution. Shaun Walbridge Mark Janikas Ting Lee
Harnessing the Power of Python in ArcGIS Using the Conda Distribution Shaun Walbridge Mark Janikas Ting Lee https://github.com/scw/condadevsummit-2016-talk Handout PDF High Quality PDF (2MB) Conda Conda
More informationEpisode 1 Using the Interpreter
Episode 1 Using the Interpreter Anaconda We recommend, but do not require, the Anaconda distribution from Continuum Analytics (www.continuum.io). An overview is available at https://docs.continuum.io/anaconda.
More informationtutorial : modeling synaptic plasticity
tutorial : modeling synaptic plasticity Computational Neuroscience by the Mediterranean Winter School, Jan 20th, 2016 Michael Graupner Université Paris Descartes CNRS UMR 8118, Paris, France michael.graupner@parisdescartes.fr
More informationIntroduction to Python for Scientific Computing
1 Introduction to Python for Scientific Computing http://tinyurl.com/cq-intro-python-20151022 By: Bart Oldeman, Calcul Québec McGill HPC Bart.Oldeman@calculquebec.ca, Bart.Oldeman@mcgill.ca Partners and
More informationIntroduction to Python Part 2
Introduction to Python Part 2 v0.2 Brian Gregor Research Computing Services Information Services & Technology Tutorial Outline Part 2 Functions Tuples and dictionaries Modules numpy and matplotlib modules
More informationScientific computing platforms at PGI / JCNS
Member of the Helmholtz Association Scientific computing platforms at PGI / JCNS PGI-1 / IAS-1 Scientific Visualization Workshop Josef Heinen Outline Introduction Python distributions The SciPy stack Julia
More informationGet It Interpreter Scripts Arrays. Basic Python. K. Cooper 1. 1 Department of Mathematics. Washington State University. Basics
Basic Python K. 1 1 Department of Mathematics 2018 Python Guido van Rossum 1994 Original Python was developed to version 2.7 2010 2.7 continues to receive maintenance New Python 3.x 2008 The 3.x version
More informationScience One CS : Getting Started
Science One CS 2018-2019: Getting Started Note: if you are having trouble with any of the steps here, do not panic! Ask on Piazza! We will resolve them this Friday when we meet from 10am-noon. You can
More informationHow does PyCharm match up against competing tools?
How does PyCharm match up against competing tools? PyCharm is an IDE for Python developed by JetBrains. PyCharm is built for professional Python developers, and comes with many features to deal with large
More informationScientific Computing using Python
Scientific Computing using Python Swaprava Nath Dept. of CSE IIT Kanpur mini-course webpage: https://swaprava.wordpress.com/a-short-course-on-python/ Disclaimer: the contents of this lecture series are
More informationVIP Documentation. Release Carlos Alberto Gomez Gonzalez, Olivier Wertz & VORTEX team
VIP Documentation Release 0.8.9 Carlos Alberto Gomez Gonzalez, Olivier Wertz & VORTEX team Feb 17, 2018 Contents 1 Introduction 3 2 Documentation 5 3 Jupyter notebook tutorial 7 4 TL;DR setup guide 9
More informationIntroduction to Programming with Python 3, Ami Gates. Chapter 1: Creating a Programming Environment
Introduction to Programming with Python 3, Ami Gates Chapter 1: Creating a Programming Environment 1.1: Python, IDEs, Libraries, Packages, and Platforms A first step to learning and using any new programming
More informationIntroduction to Programming
Introduction to Programming G. Bakalli March 8, 2017 G. Bakalli Introduction to Programming March 8, 2017 1 / 33 Outline 1 Programming in Finance 2 Types of Languages Interpreters Compilers 3 Programming
More informationChris Calloway for Triangle Python Users Group at Caktus Group December 14, 2017
Chris Calloway for Triangle Python Users Group at Caktus Group December 14, 2017 What Is Conda Cross-platform Language Agnostic Package Manager Dependency Manager Environment Manager Package Creator Command
More informationPython ecosystem for scientific computing with ABINIT: challenges and opportunities. M. Giantomassi and the AbiPy group
Python ecosystem for scientific computing with ABINIT: challenges and opportunities M. Giantomassi and the AbiPy group Frejus, May 9, 2017 Python package for: generating input files automatically post-processing
More informationAnaconda Python Guide On Windows Github Pages
We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or by storing it on your computer, you have convenient answers with anaconda python guide
More informationCOSC 490 Computational Topology
COSC 490 Computational Topology Dr. Joe Anderson Fall 2018 Salisbury University Course Structure Weeks 1-2: Python and Basic Data Processing Python commonly used in industry & academia Weeks 3-6: Group
More informationJatinSir - Mastering Python
JatinSir - Mastering Python Best Python Training with Real-time Project Duration of the Training: 42-48 hours Who can learn Python? In short anyone. Automation Engineers Data analysts and scientist Quality
More informationIndex. Bessel function, 51 Big data, 1. Cloud-based version-control system, 226 Containerization, 30 application, 32 virtualize processes, 30 31
Index A Amazon Web Services (AWS), 2 account creation, 2 EC2 instance creation, 9 Docker, 13 IP address, 12 key pair, 12 launch button, 11 security group, 11 stable Ubuntu server, 9 t2.micro type, 9 10
More informationPython for Earth Scientists
Python for Earth Scientists Andrew Walker andrew.walker@bris.ac.uk Python is: A dynamic, interpreted programming language. Python is: A dynamic, interpreted programming language. Data Source code Object
More informationCSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup
CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup Purpose: The purpose of this lab is to setup software that you will be using throughout the term for learning about Python
More informationContainers. Pablo F. Ordóñez. October 18, 2018
Containers Pablo F. Ordóñez October 18, 2018 1 Welcome Song: Sola vaya Interpreter: La Sonora Ponceña 2 Goals Containers!= ( Moby-Dick ) Containers are part of the Linux Kernel Make your own container
More informationCircuitPython with Jupyter Notebooks
CircuitPython with Jupyter Notebooks Created by Brent Rubell Last updated on 2018-08-22 04:08:47 PM UTC Guide Contents Guide Contents Overview What's a Jupyter Notebook? The Jupyter Notebook is an open-source
More informationKNIME Python Integration Installation Guide. KNIME AG, Zurich, Switzerland Version 3.7 (last updated on )
KNIME Python Integration Installation Guide KNIME AG, Zurich, Switzerland Version 3.7 (last updated on 2019-02-05) Table of Contents Introduction.....................................................................
More informationIntroduction to Python. Didzis Gosko
Introduction to Python Didzis Gosko Scripting language From Wikipedia: A scripting language or script language is a programming language that supports scripts, programs written for a special run-time environment
More informationPYTHON FOR MEDICAL PHYSICISTS. Radiation Oncology Medical Physics Cancer Care Services, Royal Brisbane & Women s Hospital
PYTHON FOR MEDICAL PHYSICISTS Radiation Oncology Medical Physics Cancer Care Services, Royal Brisbane & Women s Hospital TUTORIAL 1: INTRODUCTION Thursday 1 st October, 2015 AGENDA 1. Reference list 2.
More informationConnecting ArcGIS with R and Conda. Shaun Walbridge
Connecting ArcGIS with R and Conda Shaun Walbridge https://github.com/sc w/nyc-r-ws High Quality PDF ArcGIS Today: R and Conda Conda Introduction Optional demo R and the R-ArcGIS Bridge Introduction Demo
More informationScientific Computing: Lecture 1
Scientific Computing: Lecture 1 Introduction to course, syllabus, software Getting started Enthought Canopy, TextWrangler editor, python environment, ipython, unix shell Data structures in Python Integers,
More informationGetting Started with Python
Getting Started with Python Python is a general purpose, high level programming language that is used in a variety of application domains. The Python language has a very clear and expressive syntax as
More informationLABORATORY OF DATA SCIENCE. Python & Spyder- recap. Data Science & Business Informatics Degree
LABORATORY OF DATA SCIENCE Python & Spyder- recap Data Science & Business Informatics Degree Python 2 Python is a High-level Interpreted (Interpreters for many OS) Dynamically Typed Verification of the
More informationProgramming with Python
Stefan Güttel Programming with Python Getting started for Programming with Python A little bit of terminology Python A programming language, the language you write computer programs in. IPython A Python
More informationPython for Analytics. Python Fundamentals RSI Chapters 1 and 2
Python for Analytics Python Fundamentals RSI Chapters 1 and 2 Learning Objectives Theory: You should be able to explain... General programming terms like source code, interpreter, compiler, object code,
More informationConda Documentation. Release latest
Conda Documentation Release latest August 09, 2015 Contents 1 Installation 3 2 Getting Started 5 3 Building Your Own Packages 7 4 Getting Help 9 5 Contributing 11 i ii Conda Documentation, Release latest
More informationSemester 2, 2018: Lab 1
Semester 2, 2018: Lab 1 S2 2018 Lab 1 This lab has two parts. Part A is intended to help you familiarise yourself with the computing environment found on the CSIT lab computers which you will be using
More informationIntroduction to Python
Introduction to Python NaLette Brodnax The Institute for Quantitative Social Science Harvard University January 24, 2018 what we ll cover first 0 Python installation one-minute poll 1 introduction what
More informationScientific Python. 1 of 10 23/11/ :00
Scientific Python Neelofer Banglawala Kevin Stratford nbanglaw@epcc.ed.ac.uk kevin@epcc.ed.ac.uk Original course authors: Andy Turner Arno Proeme 1 of 10 23/11/2015 00:00 www.archer.ac.uk support@archer.ac.uk
More informationIntroduction to Python Part 1. Brian Gregor Research Computing Services Information Services & Technology
Introduction to Python Part 1 Brian Gregor Research Computing Services Information Services & Technology RCS Team and Expertise Our Team Scientific Programmers Systems Administrators Graphics/Visualization
More informationLecture 1. basic Python programs, defining functions
Lecture 1 basic Python programs, defining functions Lecture notes modified from CS Washington CS 142 Except where otherwise noted, this work is licensed under: http://creativecommons.org/licenses/by-nc-sa/3.0
More informationSQL Server 2017: Data Science with Python or R?
SQL Server 2017: Data Science with Python or R? Dejan Sarka Sponsor Introduction Dejan Sarka (dsarka@solidq.com, dsarka@siol.net, @DejanSarka) 30 years of experience SQL Server MVP, MCT, 16 books 20+ courses,
More informationA computer program is a set of instructions that causes a computer to perform some kind of action. It isn t the physical parts of a computer like the
1 Not All Snakes Slither A computer program is a set of instructions that causes a computer to perform some kind of action. It isn t the physical parts of a computer like the wires, microchips, cards,
More informationLaboratory Exercise #0
Laboratory Exercise #0 This assignment focuses on the mechanics of installing and using Python. The deadline for Mimir submission is 11:59 PM on Monday, January 8. 1. Complete the steps given below to
More informationPython: Its Past, Present, and Future in Meteorology
Python: Its Past, Present, and Future in Meteorology 7th Symposium on Advances in Modeling and Analysis Using Python 23 January 2016 Seattle, WA Ryan May (@dopplershift) UCAR/Unidata Outline The Past What
More informationToday. Review. Unix as an OS case study Intro to Shell Scripting. What is an Operating System? What are its goals? How do we evaluate it?
Today Unix as an OS case study Intro to Shell Scripting Make sure the computer is in Linux If not, restart, holding down ALT key Login! Posted slides contain material not explicitly covered in class 1
More informationContents. 1. What is otree? 2. The Shell and Python. 3. Example: simple questionnaire. 4. Example: public goods game. 5. Test bots.
Contents 1. What is otree? 2. The Shell and Python 3. Example: simple questionnaire 4. Example: public goods game 5. Test bots David Klinowski 2 What is otree? What is otree? platform to program social
More informationmpl Release latest May 17, 2017
mpl a nimationmanagerdocumentation Release latest May 17, 2017 Contents 1 NOTE: Documentation is curently in development!!! 1 1.1 Matplotlib animation manager (GUI) 1.0a1...............................
More informationIntegrated Software Environment. Part 2
Integrated Software Environment Part 2 Operating Systems An operating system is the most important software that runs on a computer. It manages the computer's memory, processes, and all of its software
More informationCSCI 161: Introduction to Programming I Lab 1b: Hello, World (Eclipse, Java)
Goals - to learn how to compile and execute a Java program - to modify a program to enhance it Overview This activity will introduce you to the Java programming language. You will type in the Java program
More informationMetview s new Python interface first results and roadmap for further developments
Metview s new Python interface first results and roadmap for further developments EGOWS 2018, ECMWF Iain Russell Development Section, ECMWF Thanks to Sándor Kertész Fernando Ii Stephan Siemen ECMWF October
More informationsupernova Documentation
supernova Documentation Release trunk Major Hayden June 21, 2015 Contents 1 Documentation 3 1.1 Rackspace Quick Start.......................................... 3 1.2 Installing supernova...........................................
More informationIntroduction to Python
Introduction to Python Dr. Hans van der Kwast Senior Lecturer in Ecohydrological Modelling IHE Delft Institute for Water Education h.vanderkwast@un-ihe.org Schedule Monday Install software DOS and GDAL
More informationChapter 2. Operating-System Structures
Chapter 2 Operating-System Structures 2.1 Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System Calls System Programs Operating System
More informationPlatform Migrator Technical Report TR
Platform Migrator Technical Report TR2018-990 Munir Contractor mmc691@nyu.edu Christophe Pradal christophe.pradal@inria.fr Dennis Shasha shasha@cs.nyu.edu May 12, 2018 CONTENTS: 1 Abstract 4 2 Platform
More informationSenthil Kumaran S
Senthil Kumaran S http://www.stylesen.org/ Agenda History Basics Control Flow Functions Modules History What is Python? Python is a general purpose, object-oriented, high level, interpreted language Created
More informationDrupal Command Line Instructions Windows 7 List All Users >>>CLICK HERE<<<
Drupal Command Line Instructions Windows 7 List All Users Last updated January 7, 2015. Alternatively, Windows users can often just use the Drush Command Prompt You will find out about all the other options
More informationSQL Server Machine Learning Marek Chmel & Vladimir Muzny
SQL Server Machine Learning Marek Chmel & Vladimir Muzny @VladimirMuzny & @MarekChmel MCTs, MVPs, MCSEs Data Enthusiasts! vladimir@datascienceteam.cz marek@datascienceteam.cz Session Agenda Machine learning
More informationAbout the Tutorial. Audience. Prerequisites. Copyright & Disclaimer
About the Tutorial PyCharm is the most popular IDE for Python, and includes great features such as excellent code completion and inspection with advanced debugger and support for web programming and various
More informationARTIFICIAL INTELLIGENCE AND PYTHON
ARTIFICIAL INTELLIGENCE AND PYTHON DAY 1 STANLEY LIANG, LASSONDE SCHOOL OF ENGINEERING, YORK UNIVERSITY WHAT IS PYTHON An interpreted high-level programming language for general-purpose programming. Python
More informationMatplotlib Python Plotting
Matplotlib Python Plotting 1 / 6 2 / 6 3 / 6 Matplotlib Python Plotting Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive
More informationProgramming in Python
COURSE DESCRIPTION This course presents both the programming interface and the techniques that can be used to write procedures in Python on Unix / Linux systems. COURSE OBJECTIVES Each participant will
More informationGetting Started. Chapter 1. Java Programming FROM THE BEGINNING. Chapter 1: Getting Started
Chapter 1 Getting Started 1 1.1 What Do Computers Do? A computer system is an integrated collection of hardware and software components. Hardware refers to the electronics inside a computer. Software consists
More informationCS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 2: SEP. 8TH INSTRUCTOR: JIAYIN WANG
CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 2: SEP. 8TH INSTRUCTOR: JIAYIN WANG 1 Notice Class Website http://www.cs.umb.edu/~jane/cs114/ Reading Assignment Chapter 1: Introduction to Java Programming
More informationVerteego VDS Documentation
Verteego VDS Documentation Release 1.0 Verteego May 31, 2017 Installation 1 Getting started 3 2 Ansible 5 2.1 1. Install Ansible............................................. 5 2.2 2. Clone installation
More informationSetting up Python 3.5, numpy, and matplotlib on your Macintosh or Linux computer
CS-1004, Introduction to Programming for Non-Majors, C-Term 2017 Setting up Python 3.5, numpy, and matplotlib on your Macintosh or Linux computer Hugh C. Lauer Adjunct Professor Worcester Polytechnic Institute
More informationIntroduction to Python
Islamic University Of Gaza Faculty of Engineering Computer Engineering Department Lab 1 Introduction to Python Eng. Ibraheem Lubbad September 17, 2016 Introduction: Python is a high-level, object-oriented
More informationSoftware Preparation for Modelling Workshop
Software Preparation for Modelling Workshop Daniel Brown, Andreas Freise University of Birmingham Issue: Date: July 27, 2017 School of Physics and Astronomy University of Birmingham Birmingham, B15 2TT
More informationIntroduction to Computers and Java
Introduction to Computers and Java Chapter 1 Objectives Overview of computer hardware and software, programs and compilers the Java programming language Example program Hardware and Software Computer systems
More informationAnaconda Project Documentation
Anaconda Project Documentation Release 0.8.0rc5 Anaconda, Inc Nov 29, 2017 Contents 1 Benefits of Project 3 2 How Project works 5 3 Stability 7 i ii Reproducible and executable project directories Anaconda
More informationIntroduction to Scripting Languages. October 2017
Introduction to Scripting Languages damien.francois@uclouvain.be October 2017 1 Goal of this session: Advocate the use of scripting languages and help you choose the most suitable for your needs 2 Agenda
More informationLearning objectives. The Java Environment. Java timeline (cont d) Java timeline. Understand the basic features of Java
Learning objectives The Java Environment Understand the basic features of Java What are portability and robustness? Understand the concepts of bytecode and interpreter What is the JVM? Learn few coding
More informationOpen source software and Sage 1
Open source software and Sage 1 http://www.sagemath.org/ David Joyner Math Dept USNA, Annapolis, MD May, 2009 1 Presentation for NSF CDI workshop David Joyner Open source software and Sage http://www.sagemath.org/
More informationNAVIGATING UNIX. Other useful commands, with more extensive documentation, are
1 NAVIGATING UNIX Most scientific computing is done on a Unix based system, whether a Linux distribution such as Ubuntu, or OSX on a Mac. The terminal is the application that you will use to talk to the
More informationJava Programming. Zheng-Liang Lu. Java 308 Spring Department of Computer Science & Information Engineering National Taiwan University
Java Programming Zheng-Liang Lu Department of Computer Science & Information Engineering National Taiwan University Java 308 Spring 2019 Class Information Instructor: Zheng-Liang Lu Email: d00922011@ntu.edu.tw
More informationpyldavis Documentation
pyldavis Documentation Release 2.1.2 Ben Mabey Feb 06, 2018 Contents 1 pyldavis 3 1.1 Installation................................................ 3 1.2 Usage...................................................
More informationPYTHON FOR BEGINNERS A CRASH COURSE GUIDE TO LEARN PYTHON IN 1 WEEK CODING PROGRAMMING WEB PROGRAMMING PROGRAMMER
PYTHON FOR BEGINNERS A CRASH COURSE GUIDE TO LEARN PYTHON IN 1 WEEK CODING PROGRAMMING WEB PROGRAMMING PROGRAMMER page 1 / 5 page 2 / 5 python for beginners a pdf 1. Python for Data Science Cheat Sheet.
More informationChapter 1 Introduction to Computers, Programs, and Java
Chapter 1 Introduction to Computers, Programs, and Java 1 Objectives To understand computer basics, programs, and operating systems ( 1.2 1.4). To describe the relationship between Java and the World Wide
More informationTable of Contents EVALUATION COPY
Table of Contents Introduction... 1-2 A Brief History of Python... 1-3 Python Versions... 1-4 Installing Python... 1-5 Environment Variables... 1-6 Executing Python from the Command Line... 1-7 IDLE...
More informationPython - a Dynamic Programming Language. Guido van Rossum May 31, 2007
Python - a Dynamic Programming Language Guido van Rossum May 31, 2007 Outline What is Python? Origins, history and design philosophy Python today The future: Python 3000 Links, Q&A 3 Copyright 2007 Google
More informationMEAP Edition Manning Early Access Program Get Programming with Java Version 1
MEAP Edition Manning Early Access Program Get Programming with Java Version 1 Copyright 2018 Manning Publications For more information on this and other Manning titles go to www.manning.com welcome First,
More informationPYOTE installation (Windows only) 1 December 2018
PYOTE installation (Windows only) 1 December 2018 If you are installing Anaconda/PYOTE for the first time, the following discussion is not relevant. Skip ahead to step 2 of the installation outline. Recently,
More informationIntroduction to Computers and Java. Objectives. Outline. Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich.
Introduction to Computers and Java Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich http://seal.ifi.uzh.ch 2008 W. Savitch, F.M. Carrano, Pearson Prentice Hall Objectives! Overview computer
More informationIntroduction to Computers and Java
Introduction to Computers and Java Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich http://seal.ifi.uzh.ch 2008 W. Savitch, F.M. Carrano, Pearson Prentice Hall Objectives! Overview computer
More informationIntroduction to Computers and Java
Introduction to Computers and Java Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich http://seal.ifi.uzh.ch 2008 W. Savitch, F.M. Carrano, Pearson Prentice Hall Objectives Overview computer
More informationCT 229. CT229 Lecture Notes. Labs. Tutorials. Lecture Notes. Programming II CT229. Objectives for CT229. IT Department NUI Galway
Lecture Notes CT 229 Programming II Lecture notes, Sample Programs, Lab Assignments and Tutorials will be available for download at: http://www.nuigalway.ie/staff/ted_scully/ct229/ Lecturer: Dr Ted Scully
More informationDOWNLOAD OR READ : LEARN PYTHON 3 THE HARD WAY PDF EBOOK EPUB MOBI
DOWNLOAD OR READ : LEARN PYTHON 3 THE HARD WAY PDF EBOOK EPUB MOBI Page 1 Page 2 learn python 3 the hard way learn python 3 the pdf learn python 3 the hard way I'm reading your book, Learn Python the Hard
More informationUsing the Computer Programming Environment
Information sheet EN064 Overview C2k has developed an environment to allow GCSE and A-Level students to undertake computer programming from within the C2k Managed Service. This environment will deliver
More informationAldryn Installer Documentation
Aldryn Installer Documentation Release 0.2.0 Iacopo Spalletti February 06, 2014 Contents 1 django CMS Installer 3 1.1 Features.................................................. 3 1.2 Installation................................................
More informationNVIDIA GPU CLOUD DEEP LEARNING FRAMEWORKS
TECHNICAL OVERVIEW NVIDIA GPU CLOUD DEEP LEARNING FRAMEWORKS A Guide to the Optimized Framework Containers on NVIDIA GPU Cloud Introduction Artificial intelligence is helping to solve some of the most
More informationSetting up Python 3.4 and numpy and matplotlib on your own Windows PC or laptop
CS-1004, Introduction to Programming for Non-Majors, A-Term 2015 Setting up Python 3.4 and numpy and matplotlib on your own Windows PC or laptop Hugh C. Lauer Adjunct Professor Worcester Polytechnic Institute
More informationTutorial 1 CSC 201. Java Programming Concepts عؾادئماظربجمةمبادؿكدامماجلاصا
Tutorial 1 CSC 201 Java Programming Concepts عؾادئماظربجمةمبادؿكدامماجلاصا م- م- م- م- م- Chapter 1 1. What is Java? 2. Why Learn Java? a. Java Is Platform Independent b. Java is Easy to learn 3. Programming
More informationPYTHON 3 6 TUTORIAL epoint.edu.vn PYTHON 3 6 TUTORIAL. page 1 / 5
page 1 / 5 page 2 / 5 python 3 6 tutorial pdf Non-Programmer's Tutorial for Python 3 is a featured book on Wikibooks because it contains substantial content, it is wellformatted, and the Wikibooks community
More informationProfessor Hugh C. Lauer CS-1004 Introduction to Programming for Non-Majors
First Python Program Professor Hugh C. Lauer CS-1004 Introduction to Programming for Non-Majors (Slides include materials from Python Programming: An Introduction to Computer Science, 2 nd edition, by
More information