Skip to content

Latest commit

 

History

History
68 lines (34 loc) · 1.83 KB

README.md

File metadata and controls

68 lines (34 loc) · 1.83 KB

42-workshop

Workshop material for 42 PyCharm Tips and Tricks, based on the PyCharm Guide playlist. Follow along at that URL. The material here is organized to match that sequence.

Install

  • Virtual environment based on Python 3.6+

    • $ python3 -m venv .venv
  • $ .venv/bin/pip install -r requirements.txt

Note

This workshop's examples use dataclasses. If you are using Python 3.6, this repo's requirements.txt includes the dataclasses backport.

Starting Point

  • This workshop (and the playlist) use some PyCharm Professional features (e.g. web, database, coverage)

  • "Step 0" is:

    • This repo, opened as a project, editable install (above)

    • PyCharm in default everything (theme, tool windows, toolbars, status bar, tabs)

    • Optional: Install and use Presentation Assistant plugin

  • Have the 42 PyCharm Tips and Tricks playlist open to follow along

  • Start on a branch

  • We're showing the default keymap on macOS

Usage

  • This project has a fortytwo package that can be imported

  • Each playlist step has a module with a number plus description as filename

  • Open the module for the step, read the docstring at the top, follow along

  • Each module can be run by clicking the green gutter play button beside the "run block" at the bottom

After

  • Delete maya as installed package

  • Disconnect database

Presenter

  • Start with tabs, tool bar, tool window bars, navigation bar, etc.

  • Presentation Assistant turned on

  • Good sized font

  • On a branch

  • Default theme

  • Make sure maya package isn't installed