User Tools

Site Tools


wiki:qclug_meeting_minutes_6-13-2017

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:qclug_meeting_minutes_6-13-2017 [2017/06/14 00:12]
Root created
wiki:qclug_meeting_minutes_6-13-2017 [2017/06/14 02:04] (current)
Christian Schroeder
Line 1: Line 1:
 +<​code>​
 --- ---
 june meeting: june meeting:
Line 19: Line 20:
       - mutable - an object that can change their value but keep their id()       - mutable - an object that can change their value but keep their id()
       - statement - part of a suite or block of code. a collection of if, while or for expressions       - statement - part of a suite or block of code. a collection of if, while or for expressions
-    ​+      ​class - a template for creating user-defined objects 
 +      - decorator - a function returning another function, usually applied as a function transformation using the @wrapper 
 +    - flask 
 +      - based on werkzeug toolkit and jinja2 template engine 
 +      - homepage - http://​flask.pocoo.org 
 +      - werkzeug is a WSGI utility for python 
 +      - jinja2 is used in many python projects, similar to django templates 
 +      - routes - specific commands are executed by flask when you access a flask router (eg. /​dosomething) 
 +      - templates can be created with logic (such as iteration) in them. 
 +      - variables can be added to the routes for sending data between client and server 
 +      - several examples were showed and well all tried very how to explain how decorators work... i'm not sure we did a good job or not because they are mysterious to be honest... 
 +      - mike showed a simple https example with flask 
 +      - he then showed some example code that was used to create a simple dropbox-like example 
 +      - for a simple way to "​test"​ your code try pythonanywhere.com 
 +        - there is a free tier that allows you to try their service or you can pay for more usage... 
 +    - after that there was conversation about various other python topics such as the benefits of packaging, requirements.txt,​ console scripts, pep standards etc. 
 +    - then we all talked about GitHub and what our favorite GitHub alternative is. 
 +    - we all voted that gogs was the best in favor of gitlab and Launchpad (not sure if Launchpad even a fair comparison but hey). 
 +</​code>​ 
 +[[https://​github.com/​bmike78|Link to Mike's GitHub Page]]
wiki/qclug_meeting_minutes_6-13-2017.1497399126.txt.gz · Last modified: 2017/06/14 00:12 by Root