נבנה על ידיBuilt by Ariel Yohimovich

PythonPython
1
חלקPart 1: יסודותFoundations כ-3 שעות (כולל הפסקה)About 3 hours (with a break)

מה זה תכנות? התקנה וטרמינלWhat is programming? Setup & terminal

איך מחשב מבצע הוראות, התקנת Python ו-VS Code ב-Windows וב-Mac, הטרמינל, והתוכנית הראשונה עם print.

How a computer follows instructions, installing Python and VS Code on Windows and Mac, the terminal, and a first program with print.

בסוף המפגש תדעוBy the end you will

  • להסביר במילים שלכם מה זה תוכנית ומה עושה ה-מפרשExplain in your own words what a program is and what the interpreter does
  • להתקין Python ו-VS Code ולבדוק שהכול עובד, ב-Windows או ב-MacInstall Python and VS Code and check that everything works, on Windows or Mac
  • להשתמש ב-טרמינל: לראות איפה אתם, לעבור בין תיקיות וליצור תיקייהUse the terminal: see where you are, move between folders and create a folder
  • לכתוב קובץ ‎.py ולהריץ אותו, גם מ-VS Code וגם מהטרמינלWrite a .py file and run it, both from VS Code and from the terminal
  • להשתמש ב-print כדי להציג טקסט ותוצאות חישובUse print to show text and calculation results
  • לקרוא הודעת שגיאה ראשונה בלי להיבהל, ולתקן אותהRead a first error message without panic, and fix it
להתחיל בהרצאהStart the lecture

לפני שמתחיליםBefore you start

זמן: Time: כ-3 שעות (כולל הפסקה)About 3 hours (with a break)

דרישות קודמות: Prerequisites: אין. באמת אין. אם אתם יודעים להדליק מחשב ולהקליד, אתם מוכנים.None. Really none. If you can turn on a computer and type, you are ready.

מה צריך: You need: מחשב Windows או Mac עם חיבור לאינטרנט, והרשאה להתקין תוכנות.A Windows or Mac computer with internet access, and permission to install software.

סדר המפגשSession plan

  1. 0:00היכרות: מה נבנה בקורסWelcome: what we will build
  2. 0:15מה זה תכנות ולמה PythonWhat programming is and why Python
  3. 0:35התקנת Python (Windows / Mac)Installing Python (Windows / Mac)
  4. 1:05הפסקהBreak
  5. 1:15הטרמינל: פקודות ראשונותThe terminal: first commands
  6. 1:40VS Code והקובץ הראשוןVS Code and the first file
  7. 2:00print, חשבון והערותprint, arithmetic and comments
  8. 2:30תרגולPractice
  9. 2:55סיכום ושאלותWrap-up and questions

המפגש הראשון הוא "יום ההתארגנות": מבינים מה זה תכנות, מתקינים את הכלים, מכירים את הטרמינל, וכותבים ומריצים את התוכנית הראשונה. אל דאגה אם משהו לא עובד בהתקנה, זה קורה לכולם. בשביל זה יש מדריך טכני עם פתרונות.

The first session is "setup day": we understand what programming is, install the tools, meet the terminal, and write and run our first program. Don't worry if something breaks during setup, it happens to everyone. That is what the tech guide is for.

הפרויקט המלווהThe companion project: מדף: ספרייה אישיתShelf: a personal library

פרויקט אחד שגדל איתך לאורך כל הקורס: מתחיל כסקריפט של 10 שורות ונגמר כ-API עם מסד נתונים, בדיקות ו-CLI.

One project that grows with you through the whole course: it starts as a 10-line script and ends as an API with a database, tests and a CLI.

השלב של היוםToday's step סקריפט ראשון: באנר פתיחה וספר אחד על המסךFirst script: a welcome banner and one book on screen. לתרגילGo to the exercise

מונחים חדשים במפגשNew terms in this session

נבנה על ידיBuilt by Ariel Yohimovich