CIT 590 Intro to Programming Last lecture on Python.

Slides:



Advertisements
Similar presentations
Python Lab Proteomics Informatics, Spring 2014 Week 1 28 th Jan, 2014 Himanshu Grover
Advertisements

Python – my experience so far Jason Chapman © JAC2 Consultancy Ltd
CS /29/2004 (Recitation Objectives) and Computer Science and Objects and Algorithms.
Senior Project – I.D. Math & Computer Science jsMath Equation Editor Dana Cartwright Advisors – Prof. Cervone & Prof. Striegnitz Editor Design -
Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
SE 350 – Programming Games Lecture 1: Introduction Lecturer: Gazihan Alankuş Please look at the last two slides for assignments (marked with TODO) 2/10/20121.
Unit Testing Using PyUnit Monther Suboh Yazan Hamam Saddam Al-Mahasneh Miran Ahmad
(Edit via Slide Master) Name – Job Title From R to Python Robert Mastrodomenico Global Sports Statistics.
1 Spidering the Web in Python CSC 161: The Art of Programming Prof. Henry Kautz 11/23/2009.
CS 450 MODELING AND SIMULATION Instructor: Dr. Xenia Mountrouidou (Dr. X)
CIT 590 Intro to Programming Last lecture on Python.
Programming Languages: Scratch Intro to Scratch. Lower level versus high level Clearly, lower level languages can be tedious Higher level languages quickly.
CS 114 – Class 02 Topics  Computer programs  Using the compiler Assignments  Read pages for Thursday.  We will go to the lab on Thursday.
Please make your new vocabulary chart decisions gruff stubborn awful (This is a one day story)
Design Strategies 1: Combine Simpler Functions CS 5010 Program Design Paradigms “Bootcamp” Lesson © Mitchell Wand, This work is licensed.
(A radical interpretation) Tomo Lennox Bow Tie computer services Why Agile Works.
CIT 590 Intro to Programming Lecture 12. Agenda More stuff with classes Few more thoughts on unit testing/coding in general Summarizing Python.
BIT 115: Introduction To Programming Instructor: Mike Panitz
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
Making Decisions uCode: October Review What are the differences between: o BlueJ o Java Computer objects represent some thing or idea in the real.
CS 4730 Game Architecture CS 4730 – Computer Game Design Credit: Some slide material courtesy Walker White (Cornell)
240-Current Research Easily Extensible Systems, Octave, Input Formats, SOA.
Welcome to IST331 S1 Main concepts today Introduction to team, processes The user Cognitive ergonomics, design Examples of things about the user that are.
Chapter 7 The Practices: dX. 2 Outline Iterative Development Iterative Development Planning Planning Organizing the Iterations into Management Phases.
View and Manage corporate files from within Baan and ERP Ln Baan Hot Link Ver 6.2.
Week 1 basic Python programs, defining functions Special thanks to Scott Shawcroft, Ryan Tucker, and Paul Beck for their work on these slides. Except where.
Introduction to Python Lesson 1 First Program. Learning Outcomes In this lesson the student will: 1.Learn some important facts about PC’s 2.Learn how.
L061 Algorithms, Part 3 of 3 Topics Top down-design Structure charts Reading Sections , 3.3.
From Pure Math to Data Science: My Perspective Paul Raff Principal Data Scientist, Analysis and Experimentation, Microsoft October 1, 2015 My
Online Course Overview MATH 1720 (Once you have read each slide simply hit your return key to move to the next slide.) (Once you have read each slide simply.
 Packages:  Scrapy, Beautiful Soup  Scrapy  Website  
COMP 4332 Tutorial 1 Feb 16 WANG YUE Tutorial Overview & Learning Python.
Club Overview - Day 3 (Get Excited!!!!!). Agenda I. Video II. Log into Canvas III. Choosing a Level IV. Learning and Creating V. Free stuff! VI. Closing.
In the news: A recently security study suggests that a computer worm that ran rampant several years ago is still running on many machines, including 50%
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014.
Today in CS161 Week #1 The Science of Computing What does it mean to write a program How is game programming different? Consider using Computer Graphics.
Machine Learning SEM 1 G53MLE: Machine Learning: Guoping Qiu.
CIT 590 Intro to Programming Lecture 2. Agenda ‘import’ Abstraction Functions Testing The concept of scope.
Learn AngularJS by Building 10 projects. Introduction to AngularJS An Open source web application framework by Google Written in JavaScript offers complete.
PROBLEM SOLVING AND PROGRAMMING ISMAIL ABUMUHFOUZ | CS 170.
CIT 590 Intro to Programming Lecture 2. Questions regarding enrollment The cap is still in effect The course will be offered again in the spring The waitlist.
CSC 108H: Introduction to Computer Programming Summer 2012 Marek Janicki.
S5.40. Module Structure 30% practical tests / 70% written exam 3h lectures / week (except reading week) 3 x 2h of computer labs (solving problems practicing.
IBM Predictive Analytics Virtual Users’ Group Meeting March 30, 2016
Introduction to gathering and analyzing data via APIs Gus Cavanaugh
MET4750 Techniques for Earth System Modeling
Test Granularities Unit Testing and Automation
CSC391/691 Intro to OpenCV Dr. Rongzhong Li Fall 2016
Introduction to Programming
REVIEW AND GOING FORWARD
Unit 3 lesson 2&3 The Need For Algorithms- Creativity in Algorithms
Creativity in Algorithms
Self-Advocacy Mini Lesson
External libraries A very complete list can be found at PyPi the Python Package Index: To install, use pip, which comes with.
Welcome to CS 1010! Algorithmic Problem Solving.
Django Presentation: Project MiTunes 2.0
Welcome to CS 1010! Algorithmic Problem Solving.
Cse 344 May 30th – analysis.
Welcome to CS 1010! Algorithmic Problem Solving.
Brief Intro to Python for Statistics
Prof. Jason Eisner MWF 3-4pm (sometimes 3-4:15)
Learning to Program in Python
COP 3502.
Teaching slides Chapter 6.
Option One Install Python via installing Anaconda:
CSCE 590 Web Scraping – Scrapy III
Bryan Burlingame 24 April 2019
LING/C SC 581: Advanced Computational Linguistics
CMPT 120 Lecture 15 – Unit 3 – Graphics and Animation
Python4ML An open-source course for everyone
Presentation transcript:

CIT 590 Intro to Programming Last lecture on Python

Logistics Please figure out which room your midterm will be in. TAs will administer the midterm Midterm will be 1hr 25 mins long. No cheat sheets etc

How code is written (agile paradigm) PM comes with specs Make me a solitaire game Dev team sits and writes ‘user stories’ A user should be able to get a card from the deck A user should be able to move cards around Each move should be checked for ‘legality’ User story split up into tasks Now we start talking data structures/representation etc Maybe the tableau is a list of lists? Maybe the tableau is a dictionary top-down design Each dev looks at the list of functions they have to write Make a decision about which functionalities go together = class

How code is written (agile paradigm) Start writing stubs with something like raise NotImplementedError, return “TODO” Write unit tests for the simplest of those methods Watch unit test fail Write code to make unit test pass Repeat unit testing process Talk to other devs about the classes they are writing Stand up meeting every morning Hook the classes up together Write tests that test the integration - sometimes these tests are no longer in our unit test form. Front end tests, regression test suite, manual tests

The power of Python libraries Most anything in Python has already been implemented in some manner import ….. import antigravity On a more serious note we will talk a bit about 3 packages – numPy, sciPy, beautifulSoup

How to install packages Supposedly easier on mac/linux machine - only windows Install pip windows windows Once you have pip installed a lot of packages can be installed by just simply typing pip install some-package-name

Numpy and Scipy Matlab/R? Once you import numpy and scipy, Python can be used to math computations just as easily as matlab/R You now get access to a bunch of numerical methods numpydemo.py has some really basic stuff >>> import numpy as np >>> a = np.array([[3,1], [1,2]]) >>> b = np.array([9,8]) >>> solution = np.linalg.solve(a, b)

Beautiful soup Real cool module for scraping data from the web It basically does parsing of the html and also allows for CSS selectors to be used

What do I do next with Python? If you are interesting in understanding linguistics from a CS perspective (computational linguistics) Data science Use it in a hackathon! Get good at it and work at Youtube (umm Google)

Post midterm