Presentation is loading. Please wait.

Presentation is loading. Please wait.

Nate Brunelle Today: PyCharm

Similar presentations


Presentation on theme: "Nate Brunelle Today: PyCharm"— Presentation transcript:

1 Nate Brunelle Today: PyCharm
CS1110 Nate Brunelle Today: PyCharm

2 Questions?

3 Last Time How computers work

4 Python vs. PyCharm Python Language (English) PyCharm Microsoft Word

5 Pycharm Projects .py file: Project:
Recipe program Project: Cookbook A folder with a bunch of files related to one task Don’t double-click a .py file to open it in PyCharm!

6 Pycharm Workflow (.py file to running)
Open PyCharm Open a project cs1110 Create a python file Drag and drop your file into the project Right click on your project -> new -> python file File->new->python Name the python file All lower case No spaces in your file name (use _ instead) Some names break things (use 2+ words) Code To be taught for the next 12 weeks Run

7 Components of Pseudo-Code
Sequence = Do the highest line first, then perform them in order from top to bottom Line = one “thing” to do Repetition = repeat something Fixed number of times : e.g. “repeat 3 times” Until something happens: e.g. “until hair is foamy” Conditions/Decisions = maybe do something Check something first If there is no more shampoo, then get more Named actions = two parts: definition, use Definition = how to do a thing Use = when to do the thing defined

8 Bugs Syntax Semantic Logical Understandability
Statement does not “parse” Semantic Grammatically correct, but nonsense Logical Means something, but not what you meant Understandability I said it, it makes sense, and it means what I meant, but no one else can understand it

9


Download ppt "Nate Brunelle Today: PyCharm"

Similar presentations


Ads by Google