October 5, 2015 Pretty Programming and Packaging with Python Fedor Baart, Genna Donchyts, Hessel Winsemius Slides and course material will be made available.

Slides:



Advertisements
Similar presentations
1 Unit 02. Visual Studio Visual Studio.NET Creating Projects Project Anatomy Using the IDE Code Snippets.
Advertisements

An Introduction to Visual Basic Terms & Concepts.
Python for Science Shane Grigsby. What is python? Why python? Interpreted, object oriented language Free and open source Focus is on readability Fast.
Matlab tutorial course Lesson 1: The Basics: variables, scripts and functions Dr Michael Berks
Network Design and Optimization Python Introduction
Modern app development Continuous value delivery and rapid response to change.
Tailoring Needs Chapter 3. Contents This presentation covers the following: – Design considerations for tailored data-entry screens – Design considerations.
16/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development What is a computer? A computer system contains: Central Processing.
Web Page Behavior IS 373—Web Standards Todd Will.
Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
QGIS Matthew Rosencrans Tom DiLiberto. Outline What is QGIS? What can we do with it? What data can we work with?
Creating a Console Application with Visual Studio
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
1 Integrated Development Environment Building Your First Project (A Step-By-Step Approach)
Core 1b – Engineering Dynamic Coding a.k.a. Python in Slicer
The NetBeans IDE CSIS 3701: Advanced Object Oriented Programming.
Introduction to Spatial Analysis and Spatial Modeling
An Introduction to Visual Basic
CS Tutorial 1 Getting Started with Visual Studio 2012 (Visual Studio 2010 are no longer available on MSDNAA, please choose Visual Studio 2012 which.
CENT 305 Information Systems Security Linux Introduction.
Introduction to Python By Neil Cook Twitter: njcuk Slides/Notes:
Introduction to Matlab & Data Analysis
1 CSC 221: Introduction to Programming Fall 2012 Functions & Modules  standard modules: math, random  Python documentation, help  user-defined functions,
Lecture Set 2 Part B – Configuring Visual Studio; Configuration Options and The Help System (scan quickly for future reference)
Lecture Set 1 Part C: Understanding Visual Studio and.NET – Applications, Solutions, Projects (no longer used – embedded in Lecture Set 2A)
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
Pattern Recognition Software CS855 Week 1. Matlab Commercial Very fast matrix operations Many open source functions Portability limited Free Interpreted.
FLUKA GUI Status FLUKA Meeting CERN, 10/7/2006.
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
 HTML is hypertext markup language. It is a way for people to display their information with more complex pictures and text displays. Before HTML, messages.
240-Current Research Easily Extensible Systems, Octave, Input Formats, SOA.
C++ and Ubuntu Linux Review and Practice CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and.
What is WinRunner ► WinRunner is Mercury’s legacy automated testing tool ► It is similar to QTP in functionality ► WinRunner integrates with other Mercury.
DATA MINING Pandas. Python Data Analysis Library A library for data analysis of (mostly) tabular data Gives capabilities similar to Excel and SQL but.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
Practical Kinetics Exercise 0: Getting Started Objectives: 1.Install Python and IPython Notebook 2.print “Hello World!”
COMP 4332 Tutorial 1 Feb 16 WANG YUE Tutorial Overview & Learning Python.
Exploring Spyder: An IDE for scientific computing
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
Introduction to: Python and OpenSesame FOR PROS. OpenSesame In OpenSesame you can add Python in-line codes which enables complex experiment. We will go.
Chris Knight Beginners’ workshop.
Wes Preston DEV 202. Audience: Info Workers, Dev A deeper dive into use-cases where client-side rendering (CSR) and SharePoint’s JS Link property can.
Sage Franch | Technical Evangelist Susan Ibach | Technical Evangelist.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Python coding of MULTIPLY’s processing chain Ioannis Binietoglou National Institute for R&D in Optoelectronics, Bucharest, Romania National Observatory.
Building Your ETL Framework with Biml Meagan Longoria March 19, 2016.
Windows App Studio Windows App Studio is the tool that makes it fast and easy to build Windows 10 apps. It’s accessible from any device with a browser.
How to Get Started With Python
Development Environment
CST 1101 Problem Solving Using Computers
Software Engineering for Data Scientists
Getting Started with Plot.ly
IST256 Python Install Fest!!!!
PYTHON: AN INTRODUCTION
Software for scientific calculations
IPYTHON AND MATPLOTLIB Python for computational science
DATA MINING Python.
A451 Theory – 7 Programming 7A, B - Algorithms.
An Introduction to Visual Basic
Prepared by Kimberly Sayre and Jinbo Bi
Automating reports with Python
SEEM4570 Tutorial 1 Android SDK + XCode SDK +
EMSE 6574 – Programming for Analytics: Python 101 – Python Enviornments Joel Klein.
Git started with git: 2018 edition
Python and REST Kevin Hibma.
Chapter 1: Programming Basics, Python History and Program Components
DATA MINING Python.
Installations for Course
Installations for Course
Presentation transcript:

October 5, 2015 Pretty Programming and Packaging with Python Fedor Baart, Genna Donchyts, Hessel Winsemius Slides and course material will be made available on a network location

October 5, 2015 As we all know – python is… A scientific data language Similar power as, or even more than Matlab Free! Open-source, developed by the python community so….

October 5, 2015 Applications at Deltares Flood risks with IMAGE scenarios: using python to link PBL – Deltares models KvK theme 6: implementing experimental models in python- PCRaster extention OpenEarth utils Analysis of Rhine flood Jan. 2011: powerful plotting utilities

October 5, 2015 This course Check your pizza!!! 1: Python installers for HDW Windows 7 2: Licensing and version management, how to obey Deltares quality plan 3: Some fun! IPython Notebooks – Interactive drafting of code 4: Code guidelines PIZZA!!! 5: Python paradigm: style guides 6: Packaging - how to put something online (pypi) for other python users? 16:00 – 16:15 16:15 – 16:30 16:30 – 17:00 17:00 – 17:30 17:30 – 18:00 18:00 – 19:00 19:00 – 19:30 19:30 – 20:00

Python installers for HDW Python x,y ( The good news: In app-store Has an awesome amount of pre-installed stuff! netCDF4-python (inc. libraries) Geospatial Data Abstraction Library (sometimes a pain to install) Spyder (nice interface) The bad In app-store (yes, that’s also a ‘bad’) 32-bit only (Uggghhh!!!)!!! Cannot install outside app-store Only Windows Max Python 2.7 October 5, 2015

Python installers for HDW Anaconda A big snake in the South-American rain forests October 5, 2015

Python installers for HDW Anaconda ( The bad Some pain-in-the-butt packages are not included GDAL netCDF4-python But… The good Installer ‘conda’ solves build-dependencies and includes correct libraries In app store (Only after ICT request, Grmpf) But can also be installed without app store (! Don’t use the app store, it may prevent you from installing additional packages) 64-bit (AWESOME!!!) Python 2.x, 3.x October 5, 2015

Python installers for HDW Anything missing in your HDW laptop? October 5, 2015

Python installers for HDW - Spyder Well-equipped Matlab-like console (Spyder) with powerful editing and debugging functions Edit your scripts with colored syntax and syntax error notifications on-the-fly documentation on functions that you use console

List of alternative editors eMacs pyCharm Spyder Sublime Python tools for Visual Studio (for VS users, includes nice debugging) October 5, 2015

Even more interactive: IPython notebooks October 5, 2015

IPython notebooks IPython: Interactive Python Web-based GUI Interactive scripting and plotting (since IPython 2.0) Combine scripting, text and comments Try as you go way of working Also ideal for courses More info op October 5, 2015

How to set up a notebook Add ‘--pylab inline’ to have inline plotting enabled October 5, 2015

Setup Work with ‘cells’ consisting of … Code (which will actually run on the web-based GUI in IPython) Markdown Raw text (looks uglier than markdown) Headings Running: Per cell (moves automatically to next cell) All at once Saving: Save with checkpoint (revert to checkpoint if you like) Save as.py (for further use, packaging and so on) October 5, 2015

Some examples Simple plot example (sin/cos) Include a function (head draw down from a well) Plot hurricanes in a geographical map Interact with your plot Try it with your own dataset/script! October 5, 2015