CISC101 Reminders Last lecture!  Grading of Quiz 4 underway.

Slides:



Advertisements
Similar presentations
Network Design and Optimization Python Introduction
Advertisements

Graphical User Interfaces in Haskell Koen Lindström Claessen.
Doxygen: Source Code Documentation Generator John Tully.
FLUKA GUI Status FLUKA Meeting CERN, 10/7/2006.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
PC204 Lecture 9 Conrad Huang Genentech Hall, N453A x
WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Binding Basics.
How the Session Works Outline Practical on arrival Talk 1 Reflect on practical Clarify concepts Practical exercises at your own pace Talk 2: Further concepts.
NCBI Genome Workbench Chuong Huynh NIH/NLM/NCBI Sao Paulo, Brasil July 15, 2004 Slides from Michael Dicuccio’s Genome Workbench.
Installing and Developing Programs in Python. Installing Python is pre-installed on most Unix systems, including Linux and MAC OS X The pre-installed.
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 13 GUI Programming.
Navigation Framework using CF Architecture for a Client-Server Application using the open standards of the Web presented by Kedar Desai Differential Technologies,
COMPSA Exam Prep Session by Paul Allison On: April 8th from 1:30-3:00 Location TBA Winter 2016CISC101 - Prof. McLeod1.
See Winter 2016CISC101 - Prof. McLeod1.
Quiz 1 A sample quiz 1 is linked to the grading page on the course web site. Everything up to and including this Friday’s lecture except that conditionals.
COMPSA Exam Prep Session On: April 8th from 1:30-3:00 Location TBA Winter 2016CISC101 - Prof. McLeod1.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
Today… Loops and Drawing, Cont. –Two slightly more advanced demos. Collections Overview. Winter 2016CISC101 - Prof. McLeod1.
Introduction to Windows Programming
CST 1101 Problem Solving Using Computers
Working in the Forms Developer Environment
Introduction to Eclipse
Topics Graphical User Interfaces Using the tkinter Module
Developer 2000 CSE 4504/6504 Lab.
Obtaining the Required Tools
CSCI 3328 Object Oriented Programming in C# Chapter 2: Introduction to Visual C# Programming UTPA – Fall 2012 This set of slides is revised from lecture.
Clinton Dow – Geoprocessing Product Esri
© 2015, Mike Murach & Associates, Inc.
IST256 Python Install Fest!!!!
CISC124 Quiz 2 grading underway.
CISC101 Reminders Grading of Quiz 4 underway.
Fall 2017 CISC124 9/21/2018 CISC124 First onQ quiz this week – write in lab. More details in last Wednesday’s lecture. Repeated: The quiz availability.
Prepared by Kimberly Sayre and Jinbo Bi
GUI Using Python.
Fundamentals of Python: From First Programs Through Data Structures
Winter 2018 CISC101 11/9/2018 CISC101 Reminders
This Week: Tkinter for GUI Interfaces Some examples
Tkinter GUIs Computer Science and Software Engineering
CISC101 Reminders Quiz 2 this week.
CISC101 Reminders Quiz 1 grading underway Next Quiz, next week.
CISC124 Last Quiz this week. Topics listed in last Tuesday’s lecture.
CISC101 Reminders Quiz 1 grading underway Assn 1 due Today, 9pm.
Winter 2018 CISC101 11/27/2018 CISC101 Reminders
CISC101 Reminders Assn 3 due Friday, this week. Quiz 3 next week.
CISC101 Reminders Quiz 2 graded. Assn 2 sample solution is posted.
CISC101 Reminders Assn 3 due tomorrow, 7pm.
CISC101 Reminders Quiz 1 grading underway Next Quiz, next week.
CISC101 Reminders Quiz 2 this week.
I210 review.
EMSE 6574 – Programming for Analytics: Python 101 – Python Enviornments Joel Klein.
CISC124 Assignment 3 due tomorrow at 7pm.
CISC124 Quiz 3 marking underway. Assn 5 due Friday. Fall 2018
Winter 2019 CISC101 2/17/2019 CISC101 Reminders
Topics Graphical User Interfaces Using the tkinter Module
CISC101 Reminders All assignments are now posted.
CMPE212 – Reminders Assignment 2 sample solution is posted.
Winter 2019 CISC101 4/16/2019 CISC101 Reminders
CISC101 Reminders Assignment 3 due next Friday. Winter 2019
CISC101 Reminders Assignment 2 due this Friday.
Winter 2019 CISC101 4/14/2019 CISC101 Reminders
CISC101 Reminders Quiz 1 marking underway.
Winter 2019 CISC101 4/28/2019 CISC101 Reminders
CMPE212 – Reminders Assignment 2 due today, 7pm.
Winter 2019 CISC101 5/26/2019 CISC101 Reminders
CISC101 Reminders Assignment 3 due today.
CMPE212 – Reminders Assignment 5, a JavaFX GUI, due this Friday.
CMPE212 – Reminders Assignment 5, a JavaFX GUI, due next Friday.
Chapter 4 Enhancing the Graphical User Interface
Installations for Course
Installations for Course
Presentation transcript:

CISC101 Reminders Last lecture!  Grading of Quiz 4 underway. Winter 2018 CISC101 9/17/2018 CISC101 Reminders Last lecture!  Grading of Quiz 4 underway. Last assignment due tomorrow. We have covered everything you need to know for the assignment. Winter 2018 CISC101 - Prof. McLeod Prof. Alan McLeod

Today GUI Construction With tkinter, Cont.: Radiobutton and Canvas Widgets. Bears Demo. More Python tools and modules. Winter 2018 CISC101 - Prof. McLeod

Radiobutton Widget See Window14.py Each Radiobutton is bound to the same variable as well as triggering the same function. You can only choose one Radiobutton at a time. Winter 2018 CISC101 - Prof. McLeod

The Canvas Widget You can use this widget to display any drawn shapes, or images, or even a turtle drawing. The canvas can be interactive, allowing the cursor to draw or edit an image. See: Window15.py (drawn shapes) Window15A.py (an image) Window16.py (cursor drawing) Window17.py (turtle drawing!) Winter 2018 CISC101 - Prof. McLeod

An Advanced Demo: BearsDBV2.py Allows viewing and editing of the bears database, one record at a time. (Based on Exercise 9.) Entry Widgets, Buttons, Labels, a Frame, and a LabelFrame. Control Variables. Binding of control variables and handlers (functions). No more globals! Handler functions have been declared inside main! Button navigation. Store and display images in a Canvas widget. Use of a filedialog to obtain an image file. Use of an errordialog to provide a file not found message. Winter 2018 CISC101 - Prof. McLeod

Building a Game? Pygame is not a bad place to start. You can build decent looking arcade-style games fairly easily. (Python might not be the best choice of a platform for more complex or demanding games…) See https://www.pygame.org/wiki/GettingStarted Pygame was lagging behind Python versions, but developers have recently caught up. Winter 2018 CISC101 - Prof. McLeod

Other GUI Tools Lots! IDE and different Widget sets. See WxWidgets, for example. Start by looking at: https://wiki.python.org/moin/GuiProgramming WxPython: http://www.wxpython.org/ Or see gui2py: https://code.google.com/p/gui2py/ Winter 2018 CISC101 - Prof. McLeod

Other IDEs IDLE is pretty simple and a good place to start learning Python. But, it can be frustrating after a while if you are used to more sophisticated IDEs: Poor intellisense and code completion. No debugger. No line numbering! No code wizards, project browsers, etc. “Multi-Lingual” IDEs like Visual Studio (uses “PTVS”), Eclipse (uses PyDev) and Qt can be configured to help write Python programs. Winter 2018 CISC101 - Prof. McLeod

Other IDEs, Cont. PyCharm: http://www.jetbrains.com/pycharm/ Works on Windows, Mac and Linux. Winter 2018 CISC101 - Prof. McLeod

https://pypi.python.org/pypi Other Modules Lots! See the Python Package Index at: https://pypi.python.org/pypi Or, try out the Beta version of a jazzed-up index: https://pypi.org/ Winter 2018 CISC101 - Prof. McLeod

For Example: Enthought Canopy A collection of many packages from many sources – targeted towards data analysis, modeling and visualization. https://enthought.com/products/canopy/ Like Matlab, but based on Python and all code is open, not proprietary. Now available for Python version 3.5. Free for academic use! Winter 2018 CISC101 - Prof. McLeod

Anaconda https://www.anaconda.com/download/ Comes with 1000+ scientific packages included. Free for academic use. Available for Python 3.6. Both Canopy and Anaconda will work with Windows, Mac and Linux. Winter 2018 CISC101 - Prof. McLeod

Scientific Python IDE Pyzo. See: http://www.pyzo.org/ Noted for its web-based, simple interface. Uses the Qt IDE for GUI development. Winter 2018 CISC101 - Prof. McLeod

Python vs Matlab See: http://www.pyzo.org/python_vs_matlab.html And: http://kitchingroup.cheme.cmu.edu/blog/2013/12/30/Python-as-alternative-to-Matlab-for-engineering-calculations/ Winter 2018 CISC101 - Prof. McLeod

http://xkcd.com/353/ From: Winter 2018 CISC101 - Prof. McLeod