├── .gitignore ├── LICENSE ├── README.md ├── code ├── notebooks │ └── reference_count.ipynb └── webapp │ ├── .idea │ ├── .gitignore │ ├── dictionaries │ │ └── screencaster.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── misc.xml │ ├── modules.xml │ ├── vcs.xml │ └── webapp.iml │ ├── guitary │ ├── app.py │ ├── data │ │ └── guitar.py │ ├── services │ │ └── catalog_service.py │ ├── static │ │ ├── css │ │ │ ├── one-page-wonder.css │ │ │ ├── one-page-wonder.min.css │ │ │ └── site.css │ │ ├── img │ │ │ ├── 01.jpg │ │ │ ├── 02.jpg │ │ │ ├── 03.jpg │ │ │ ├── guitars │ │ │ │ ├── ax-black.jpg │ │ │ │ ├── black-acoustic.jpg │ │ │ │ ├── brushed-black-electric.jpg │ │ │ │ ├── jet-black-electric.jpg │ │ │ │ ├── mellow-yellow.jpg │ │ │ │ ├── natures-song.jpg │ │ │ │ ├── weezer-classic.jpg │ │ │ │ ├── white-vibes.jpg │ │ │ │ └── woodgrain-electric.jpg │ │ │ └── logo.png │ │ └── vendor │ │ │ ├── bootstrap │ │ │ ├── css │ │ │ │ ├── bootstrap-grid.css │ │ │ │ ├── bootstrap-grid.css.map │ │ │ │ ├── bootstrap-grid.min.css │ │ │ │ ├── bootstrap-grid.min.css.map │ │ │ │ ├── bootstrap-reboot.css │ │ │ │ ├── bootstrap-reboot.css.map │ │ │ │ ├── bootstrap-reboot.min.css │ │ │ │ ├── bootstrap-reboot.min.css.map │ │ │ │ ├── bootstrap.css │ │ │ │ ├── bootstrap.css.map │ │ │ │ ├── bootstrap.min.css │ │ │ │ └── bootstrap.min.css.map │ │ │ └── js │ │ │ │ ├── bootstrap.bundle.js │ │ │ │ ├── bootstrap.bundle.js.map │ │ │ │ ├── bootstrap.bundle.min.js │ │ │ │ ├── bootstrap.bundle.min.js.map │ │ │ │ ├── bootstrap.js │ │ │ │ ├── bootstrap.js.map │ │ │ │ ├── bootstrap.min.js │ │ │ │ └── bootstrap.min.js.map │ │ │ └── jquery │ │ │ ├── jquery.js │ │ │ ├── jquery.min.js │ │ │ ├── jquery.min.map │ │ │ ├── jquery.slim.js │ │ │ ├── jquery.slim.min.js │ │ │ └── jquery.slim.min.map │ └── templates │ │ ├── _layout.html │ │ ├── guitars.html │ │ └── index.html │ └── requirements.txt ├── readme_resources └── decision-makers.png └── slides ├── 01-intro-to-py-decision.pdf ├── 02-what-is-python.pdf ├── 03-what-can-you-build.pdf ├── 04-web-development.pdf ├── 05-data-sci.pdf ├── 06-testing.pdf ├── 07-python-vs.pdf ├── 08-hiring-and-jobs.pdf ├── 09-no-python-here.pdf └── 10-conclusion.pdf /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | *.egg-info/ 24 | .installed.cfg 25 | *.egg 26 | MANIFEST 27 | 28 | # PyInstaller 29 | # Usually these files are written by a python script from a template 30 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 31 | *.manifest 32 | *.spec 33 | 34 | # Installer logs 35 | pip-log.txt 36 | pip-delete-this-directory.txt 37 | 38 | # Unit test / coverage reports 39 | htmlcov/ 40 | .tox/ 41 | .coverage 42 | .coverage.* 43 | .cache 44 | nosetests.xml 45 | coverage.xml 46 | *.cover 47 | .hypothesis/ 48 | .pytest_cache/ 49 | 50 | # Translations 51 | *.mo 52 | *.pot 53 | 54 | # Django stuff: 55 | *.log 56 | local_settings.py 57 | db.sqlite3 58 | 59 | # Flask stuff: 60 | instance/ 61 | .webassets-cache 62 | 63 | # Scrapy stuff: 64 | .scrapy 65 | 66 | # Sphinx documentation 67 | docs/_build/ 68 | 69 | # PyBuilder 70 | target/ 71 | 72 | # Jupyter Notebook 73 | .ipynb_checkpoints 74 | 75 | # pyenv 76 | .python-version 77 | 78 | # celery beat schedule file 79 | celerybeat-schedule 80 | 81 | # SageMath parsed files 82 | *.sage.py 83 | 84 | # Environments 85 | .env 86 | .venv 87 | env/ 88 | venv/ 89 | ENV/ 90 | env.bak/ 91 | venv.bak/ 92 | 93 | # Spyder project settings 94 | .spyderproject 95 | .spyproject 96 | 97 | # Rope project settings 98 | .ropeproject 99 | 100 | # mkdocs documentation 101 | /site 102 | 103 | # mypy 104 | .mypy_cache/ 105 | .idea/.gitignore 106 | .idea/decision-course.iml 107 | .idea/misc.xml 108 | .idea/modules.xml 109 | .idea/vcs.xml 110 | .idea/inspectionProfiles/profiles_settings.xml 111 | .idea/inspectionProfiles/Project_Default.xml 112 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | License 2 | 3 | Copyright (c) 2019 Talk Python 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. All presentation materials, 14 | in PDF format, are restricted use. They may be used for non-commercial purposes 15 | only. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | SOFTWARE. 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Python for Decision Makers and Business Leaders 2 | 3 | [![Course image](./readme_resources/decision-makers.png)](https://talkpython.fm/decision) 4 | 5 | ## Course Summary 6 | 7 | Python has seen meteoric growth over the past few years. This means many organizations and teams are adopting Python when they previously used other technology. Why are they switching? What is it about Python that makes it so effective for organizations? If you need to learn whether Python is right for your project or your team, this course will give you a fact-based look at the Python ecosystem and show you some of the most important use-cases and even when to avoid Python. 8 | 9 | ## What's this course about and how is it different? 10 | 11 | This course is very unique. Most courses teach you how to program with Python. This course is a guided discussion and exploration of the Python ecosystem through the lens of your 12 | organisation 13 | and your team. 14 | 15 | You will see fact-based presentations for the Python developer job space. This will answer questions like, "Is it easy or hard to hire Python developers for a given type of project?" You will see the wide spectrum of Python web frameworks and how to choose the best fit. We will explore some of the tools making Python so popular in the scientific space. 16 | 17 | In this course, you will learn: 18 | 19 | - A brief history of Python and the major milestones along the way 20 | - Python compared to common languages in popularity from multiple sources 21 | - Python is 4 things and how to talk and evaluate about each 22 | - Why Python is popular for both novices and pros 23 | - Open source trends in the enterprise 24 | - What types of applications and services you can build with Python 25 | - Popular companies and apps built with Python 26 | - Survey of the popular web frameworks 27 | - See a simple (yet beautiful and functioning) web app built from scratch 28 | - Insight into why Python works so well for data scientists 29 | - A real-world exploration of nontrivial data using Jupyter notebooks and JupyterLab 30 | - Scenarios of testing software and hardware in Python 31 | - Python compared side-by-side with other candidate languages (C++, .NET, MATLAB, etc.) 32 | - Numbers and graphs behind the Python job market 33 | - When Python is not the best technology to choose 34 | - And lots more 35 | 36 | ## Who is this course for? 37 | 38 | This course is for anyone who needs to evaluate Python for their organisation. While interesting and useful for developers, you do not need to be a software developer or have experience with Python to get the big ideas from this course. 39 | 40 | If you are in charge of deciding whether Python is right for you, your team, or your company, this is the course for you. 41 | 42 | ## Visually stunning 43 | 44 | For online courses that spend a lot of time creating code on the fly, graphics can play a small role. But for conceptual courses like this one, hours of boring slides are a major turn off. 45 | 46 | For this course, we put extra focus on the visual elements of the course. 47 | 48 | ## Take this course 49 | 50 | Just [visit the course page](https://training.talkpython.fm/courses/explore_decision/python-for-decision-makers-and-business-leaders) to watch the overview video and take the course. -------------------------------------------------------------------------------- /code/notebooks/reference_count.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Python Bytes Reference Authority" 8 | ] 9 | }, 10 | { 11 | "cell_type": "markdown", 12 | "metadata": {}, 13 | "source": [ 14 | "We will download the RSS feed and analyze all the links, extract the domain names, and plot them by popularity." 15 | ] 16 | }, 17 | { 18 | "cell_type": "code", 19 | "execution_count": 1, 20 | "metadata": {}, 21 | "outputs": [], 22 | "source": [ 23 | "import feedparser\n", 24 | "import bs4" 25 | ] 26 | }, 27 | { 28 | "cell_type": "markdown", 29 | "metadata": {}, 30 | "source": [ 31 | "Download the RSS feed and convert it to a Python dictionary." 32 | ] 33 | }, 34 | { 35 | "cell_type": "code", 36 | "execution_count": 2, 37 | "metadata": {}, 38 | "outputs": [], 39 | "source": [ 40 | "url = 'https://pythonbytes.fm/rss'\n", 41 | "feed = feedparser.parse(url)" 42 | ] 43 | }, 44 | { 45 | "cell_type": "markdown", 46 | "metadata": {}, 47 | "source": [ 48 | "Get all the descriptions from each podcast episode." 49 | ] 50 | }, 51 | { 52 | "cell_type": "code", 53 | "execution_count": 3, 54 | "metadata": {}, 55 | "outputs": [ 56 | { 57 | "name": "stdout", 58 | "output_type": "stream", 59 | "text": [ 60 | "We found 26 descriptions.\n" 61 | ] 62 | } 63 | ], 64 | "source": [ 65 | "# feed.get('items')[0].get('description')\n", 66 | "descriptions = [ item.get('content')[0].get('value') for item in feed.get('items') ]\n", 67 | "print(f\"We found {len(descriptions)} descriptions.\")" 68 | ] 69 | }, 70 | { 71 | "cell_type": "markdown", 72 | "metadata": {}, 73 | "source": [ 74 | "From each HTML fragment, get the links. They look like:\n", 75 | "\n", 76 | "```\n", 77 | "

This episode is sponsored by DigitalOcean: pythonbytes.fm/digitalocean

\\n\\n

Michael #1: pydantic

\\n\\n