מילון מונחיםGlossary
כל מונח שמופיע בקורס, מוסבר במילים פשוטות. לכל מונח יש קישור ישיר (עוגן), ומכל מקום בקורס אפשר לקפוץ לכאן.
Every term in the course, explained in plain words. Each term has a direct link (anchor) you can jump to from anywhere in the course.
285 מונחים עד עכשיוterms so farכל המונחיםAll terms
.gitignore.gitignore.gitignore.gitignore
קובץ שמפרט אילו קבצים Git לא יעקוב אחריהם, כמו .venv/ וסיסמאות.
A file listing what Git should not track, like .venv/ and passwords.
__name__ == "__main__"__name__ == "__main__"__name__ == "__main__"__name__ == "__main__"
תנאי שנכון רק כשמריצים את הקובץ ישירות, ולא כשמייבאים אותו.
A condition that's true only when the file is run directly, not when it's imported.
מופיע לראשונה: First appears: מפגשSession 13__repr____repr____repr____repr__
ייצוג טכני של אובייקט, למתכנתים: מה שרואים ברשימה או בדיבאגר. רצוי שייראה כמו הקוד שיוצר את האובייקט.
An object's technical representation, for programmers: what you see in a list or the debugger. Ideally looks like the code that creates it.
מופיע לראשונה: First appears: מפגשSession 17__str____str____str____str__
ייצוג ידידותי של אובייקט, למשתמשים: מה ש-print ו-str() מציגים.
An object's friendly representation, for users: what print and str() show.
מופיע לראשונה: First appears: מפגשSession 17APIAPIAPIAPI
ממשק שתוכנה אחת חושפת לאחרות. ב-API של אתר שולחים בקשה לכתובת ומקבלים נתונים (לרוב JSON) במקום דף.
An interface one program exposes to others. With a web API you send a request to an address and get data (usually JSON) instead of a page.
מופיע לראשונה: First appears: מפגשSession 22argparseargparseargparseargparse
מודול סטנדרטי שמגדיר אילו ארגומנטים התוכנית מקבלת, ממיר טיפוסים, ויוצר --help אוטומטית.
A standard module that defines which arguments a program takes, converts types, and makes --help automatically.
assertassertassertassert
בדיקה בקוד: assert תנאי, "הודעה". אם התנאי לא נכון, התוכנית נעצרת עם AssertionError.
A check in code: assert condition, "message". If the condition is false the program stops with AssertionError.
async / אסינכרוניasync / asynchronousasync / asynchronousasync / אסינכרוני
סגנון תכנות שבו בזמן שמחכים למשהו (רשת, דיסק), התוכנית עושה עבודה אחרת במקום לעמוד.
A programming style where, while waiting for something (network, disk), the program does other work instead of standing still.
מופיע לראשונה: First appears: מפגשSession 30awaitawaitawaitawait
"חכה לזה, ובינתיים תן לאחרים לרוץ". מותר רק בתוך async def.
"Wait for this, and meanwhile let others run". Allowed only inside async def.
BeautifulSoupBeautifulSoupBeautifulSoupBeautifulSoup
ספרייה שמפרקת HTML לעץ שאפשר לחפש בו. pip install beautifulsoup4.
A library that parses HTML into a tree you can search. pip install beautifulsoup4.
Big OBig OBig OBig O
דרך לתאר איך זמן הריצה גדל כשהקלט גדל: O(n) = פי 2 קלט, פי 2 זמן. O(n²) = פי 2 קלט, פי 4 זמן.
A way to describe how running time grows as input grows: O(n) = twice the input, twice the time. O(n²) = twice the input, four times the time.
מופיע לראשונה: First appears: מפגשSession 34CICICICI
Continuous Integration: שרת שמריץ את הבדיקות אוטומטית בכל push, ומסמן אם משהו נשבר.
Continuous Integration: a server that runs the tests automatically on every push and flags anything broken.
מופיע לראשונה: First appears: מפגשSession 36commitcommitcommitcommit
תמונת מצב שמורה של הקבצים, עם הודעה שמסבירה מה השתנה ומזהה ייחודי (hash).
A saved snapshot of the files, with a message explaining what changed and a unique id (hash).
מופיע לראשונה: First appears: מפגשSession 20commit (במסד)commit (database)commit (database)commit (במסד)
שמירה סופית של שינויים במסד. בלי con.commit() (או with con:), השינויים הולכים לאיבוד.
Making changes permanent in the database. Without con.commit() (or with con:), changes are lost.
CRUDCRUDCRUDCRUD
ארבע הפעולות הבסיסיות על נתונים: Create, Read, Update, Delete. ב-HTTP: POST, GET, PUT/PATCH, DELETE.
The four basic data operations: Create, Read, Update, Delete. In HTTP: POST, GET, PUT/PATCH, DELETE.
מופיע לראשונה: First appears: מפגשSession 29CSVCSVCSVCSV
קובץ טבלה בטקסט פשוט: שורה לכל רשומה, ערכים מופרדים בפסיקים. נפתח באקסל ובגוגל שיטס.
A table in plain text: one line per record, values separated by commas. Opens in Excel and Google Sheets.
מופיע לראשונה: First appears: מפגשSession 21dataclassdataclassdataclassdataclass
מחלקה שנוצרת עם @dataclass: פייתון כותבת לבד את __init__, __repr__ ו-__eq__ לפי השדות.
A class made with @dataclass: Python writes __init__, __repr__ and __eq__ for you from the fields.
DataFrameDataFrameDataFrameDataFrame
טבלה של pandas: שורות ועמודות עם שמות, כמו גיליון אקסל בתוך פייתון.
A pandas table: named rows and columns, like an Excel sheet inside Python.
מופיע לראשונה: First appears: מפגשSession 24def (הגדרת פונקציה)def (function definition)def (function definition)def (הגדרת פונקציה)
המילה שמגדירה פונקציה חדשה: def greet(name): ואחריה בלוק מוזח.
The keyword that defines a new function: def greet(name): followed by an indented block.
docstringdocstringdocstringdocstring
מחרוזת בשורה הראשונה של פונקציה שמסבירה מה היא עושה. help() מציגה אותה.
A string on a function's first line explaining what it does. help() shows it.
DRYDRYDRYDRY
"Don't Repeat Yourself": אם כתבתם קוד דומה פעמיים, כנראה שצריך פונקציה.
"Don't Repeat Yourself": if you wrote similar code twice, you probably need a function.
מופיע לראשונה: First appears: מפגשSession 9enumerateenumerateenumerateenumerate
נותנת גם מספר וגם פריט בלולאה: for i, x in enumerate(items).
Gives both a number and an item in a loop: for i, x in enumerate(items).
f-stringf-stringf-stringf-string
מחרוזת עם f לפני המירכאות, שבה ביטויים בתוך {} מוחלפים בערך שלהם.
A string with f before the quotes, where expressions inside {} are replaced by their value.
מופיע לראשונה: First appears: מפגשSession 2FastAPIFastAPIFastAPIFastAPI
ספרייה מודרנית לבניית API בפייתון, שמשתמשת ברמזי טיפוס כדי לבדוק קלט וליצור תיעוד אוטומטי.
A modern library for building APIs in Python that uses type hints to validate input and generate docs automatically.
מופיע לראשונה: First appears: מפגשSession 29Figure ו-AxesFigure and AxesFigure and AxesFigure ו-Axes
Figure הוא הדף כולו; Axes הוא גרף אחד בתוכו, עם הצירים שלו. fig, ax = plt.subplots().
The Figure is the whole page; an Axes is one chart inside it, with its own axes. fig, ax = plt.subplots().
fixturefixturefixturefixture
פונקציה שמכינה נתונים לבדיקה (למשל מדף עם שלושה ספרים). בדיקה מקבלת אותה כפרמטר לפי השם.
A function that prepares data for tests (e.g. a shelf with three books). A test receives it as a parameter by name.
מופיע לראשונה: First appears: מפגשSession 19GitGitGitGit
תוכנה ששומרת את כל ההיסטוריה של הקוד: מי שינה מה ומתי, ומאפשרת לחזור לכל גרסה.
Software that keeps the whole history of your code: who changed what and when, and lets you go back to any version.
מופיע לראשונה: First appears: מפגשSession 20GitHubGitHubGitHubGitHub
אתר שמאחסן מאגרי Git ברשת: גיבוי, שיתוף, ועבודה משותפת. ה-repo שם נקרא remote.
A website that hosts Git repositories online: backup, sharing and collaboration. The repo there is called a remote.
מופיע לראשונה: First appears: מפגשSession 20globglobglobglob
חיפוש קבצים לפי תבנית: Path(".").glob("*.txt"). rglob מחפש גם בתת-תיקיות.
Finding files by pattern: Path(".").glob("*.txt"). rglob also searches subfolders.
groupbygroupbygroupbygroupby
חלוקת טבלה לקבוצות לפי עמודה וסיכום כל קבוצה, כמו GROUP BY ב-SQL.
Splitting a table into groups by a column and summarising each, like GROUP BY in SQL.
מופיע לראשונה: First appears: מפגשSession 24HTMLHTMLHTMLHTML
השפה שבה בנויים דפי אינטרנט: תגיות כמו <h1>, <p>, <a> שעוטפות תוכן.
The language web pages are built in: tags like <h1>, <p>, <a> wrapping content.
HTTPHTTPHTTPHTTP
השפה שבה דפדפנים ותוכנות מדברים עם שרתים: בקשה (GET, POST...) ותשובה עם קוד סטטוס וגוף.
The language browsers and programs use to talk to servers: a request (GET, POST...) and a reply with a status code and a body.
מופיע לראשונה: First appears: מפגשSession 22importimportimportimport
טעינת מודול כדי להשתמש בפונקציות שלו: import random, from math import sqrt.
Loading a module to use its functions: import random, from math import sqrt.
inputinputinputinput
פונקציה שמחכה שהמשתמש יקליד שורה ומחזירה אותה כמחרוזת.
A function that waits for the user to type a line and returns it as a string.
מופיע לראשונה: First appears: מפגשSession 2isinstanceisinstanceisinstanceisinstance
בדיקה אם אובייקט שייך למחלקה (או לבן שלה): isinstance(b, Book).
Checks whether an object belongs to a class (or a child of it): isinstance(b, Book).
JOINJOINJOINJOIN
חיבור שתי טבלאות לפי עמודה משותפת, למשל ספרים וביקורות לפי book_id.
Combining two tables by a shared column, e.g. books and reviews by book_id.
מופיע לראשונה: First appears: מפגשSession 23JSONJSONJSONJSON
פורמט טקסט לנתונים מובנים: מילונים, רשימות, מחרוזות, מספרים, true/false ו-null. כמעט כל אתר ו-API מדברים בו.
A text format for structured data: objects, lists, strings, numbers, true/false and null. Almost every website and API speaks it.
מופיע לראשונה: First appears: מפגשSession 21KEYDOWNKEYDOWNKEYDOWNKEYDOWN
אירוע שקורה פעם אחת ברגע שלוחצים על מקש. מתאים לקפיצה או ירייה בודדת.
An event that fires once at the moment a key is pressed. Good for a single jump or shot.
מופיע לראשונה: First appears: מפגשSession 38list comprehensionlist comprehensionlist comprehensionlist comprehension
בניית רשימה בשורה אחת: [x * 2 for x in nums].
Building a list in one line: [x * 2 for x in nums].
logginglogginglogginglogging
מודול לרישום הודעות עם רמות (DEBUG, INFO, WARNING, ERROR), שאפשר להדליק ולכבות בלי למחוק קוד.
A module for recording messages with levels (DEBUG, INFO, WARNING, ERROR) that you can switch on and off without deleting code.
מופיע לראשונה: First appears: מפגשSession 14matplotlibmatplotlibmatplotlibmatplotlib
הספרייה הוותיקה והנפוצה לציור גרפים בפייתון. import matplotlib.pyplot as plt.
Python's long-standing, most common charting library. import matplotlib.pyplot as plt.
monkeypatchmonkeypatchmonkeypatchmonkeypatch
fixture של pytest שמחליף זמנית משתנה או פונקציה בזמן בדיקה, למשל נתיב הקובץ.
A pytest fixture that temporarily replaces a variable or function during a test, e.g. the file path.
מופיע לראשונה: First appears: מפגשSession 31MVPMVPMVPMVP
Minimum Viable Product: הגרסה הקטנה ביותר שכבר עושה את העבודה. בונים אותה קודם, ומשפרים אחר כך.
Minimum Viable Product: the smallest version that already does the job. Build it first, improve later.
מופיע לראשונה: First appears: מפגשSession 31mypymypymypymypy
כלי שקורא את רמזי הטיפוס ומוצא סתירות בקוד בלי להריץ אותו. מתקינים עם pip install mypy.
A tool that reads type hints and finds contradictions in code without running it. Install with pip install mypy.
NaNNaNNaNNaN
"Not a Number": הסימן של pandas לערך חסר.
"Not a Number": pandas' marker for a missing value.
מופיע לראשונה: First appears: מפגשSession 24Optional / NoneOptional / NoneOptional / NoneOptional / None
רמז שאומר "ערך מהסוג הזה או None": str | None.
A hint meaning "a value of this type or None": str | None.
pandaspandaspandaspandas
ספרייה לעבודה עם טבלאות נתונים בפייתון: קריאה, סינון, סיכום וייצוא. מתקינים עם pip install pandas.
A library for working with data tables in Python: reading, filtering, summarising and exporting. Install with pip install pandas.
PATH (משתנה סביבה)PATH (environment variable)PATH (environment variable)PATH (משתנה סביבה)
רשימת התיקיות שבהן הטרמינל מחפש פקודות. אם Python לא ב-PATH, הפקודה python "לא מוכרת".
The list of folders where the terminal looks for commands. If Python is not on PATH, the python command is "not recognized".
מופיע לראשונה: First appears: מפגשSession 1pathlibpathlibpathlibpathlib
מודול שמייצג נתיבים כאובייקטים: Path("data") / "books.txt". עובד אותו דבר ב-Windows וב-Mac.
A module that represents paths as objects: Path("data") / "books.txt". Works the same on Windows and Mac.
pippippippip
מנהל החבילות של Python: python -m pip install שם.
Python's package manager: python -m pip install name.
printprintprintprint
פונקציה מובנית שמציגה טקסט או ערכים על המסך (בפלט).
A built-in function that shows text or values on the screen (in the output).
מופיע לראשונה: First appears: מפגשSession 1pydanticpydanticpydanticpydantic
ספרייה שמגדירה מבנה נתונים עם רמזי טיפוס ובודקת שהקלט מתאים, עם הודעות שגיאה מפורטות.
A library that defines a data shape with type hints and checks input fits it, with detailed error messages.
מופיע לראשונה: First appears: מפגשSession 29pygamepygamepygamepygame
ספרייה לבניית משחקים דו-ממדיים בפייתון: חלון, ציור, מקלדת, עכבר וצלילים. מתקינים את הגרסה המתוחזקת: pip install pygame-ce.
A library for building 2D games in Python: a window, drawing, keyboard, mouse and sound. Install the maintained version: pip install pygame-ce.
pygbagpygbagpygbagpygbag
כלי שאורז משחק pygame לאתר שרץ בדפדפן (WebAssembly). דורש לולאה ראשית אסינכרונית.
A tool that packages a pygame game into a website running in the browser (WebAssembly). Needs an async main loop.
מופיע לראשונה: First appears: מפגשSession 48pyproject.tomlpyproject.tomlpyproject.tomlpyproject.toml
קובץ ההגדרות הסטנדרטי של פרויקט פייתון: שם, גרסה, תלויות ופקודות.
The standard settings file of a Python project: name, version, dependencies and commands.
מופיע לראשונה: First appears: מפגשSession 36pytestpytestpytestpytest
הכלי הנפוץ ביותר להרצת בדיקות בפייתון. מוצא לבד קבצים test_*.py ופונקציות test_*.
The most popular tool for running tests in Python. Finds test_*.py files and test_* functions by itself.
PythonPythonPythonPython
שפת תכנות פופולרית שקל לקרוא ולכתוב. משמשת לאתרים, נתונים, AI, אוטומציה ומשחקים.
A popular programming language that is easy to read and write. Used for websites, data, AI, automation and games.
מופיע לראשונה: First appears: מפגשSession 1raiseraiseraiseraise
זריקת חריגה בעצמכם, למשל כשקלט לא חוקי: raise ValueError("...").
Throwing an exception yourself, e.g. on invalid input: raise ValueError("...").
rangerangerangerange
רצף מספרים: range(5) הוא 0 עד 4, range(1, 6) הוא 1 עד 5.
A sequence of numbers: range(5) is 0 to 4, range(1, 6) is 1 to 5.
READMEREADMEREADMEREADME
קובץ README.md בראש הפרויקט: מה זה, איך מתקינים, איך משתמשים. הדבר הראשון שאנשים רואים ב-GitHub.
A README.md file at the top of a project: what it is, how to install, how to use. The first thing people see on GitHub.
RectRectRectRect
מלבן של pygame עם x, y, רוחב וגובה, שיודע את הקצוות שלו ולבדוק חפיפה. pygame.Rect(x, y, w, h).
A pygame rectangle with x, y, width and height that knows its edges and can check overlap. pygame.Rect(x, y, w, h).
REPL (מצב אינטראקטיבי)REPL (interactive mode)REPL (interactive mode)REPL (מצב אינטראקטיבי)
מצב שבו Python מחכה לשורה אחת אחרי הסימן >>>, מבצעת אותה ומראה תוצאה מיד. נוח לניסויים קטנים.
A mode where Python waits for one line after the >>> prompt, runs it and shows the result immediately. Handy for small experiments.
מופיע לראשונה: First appears: מפגשSession 1robots.txtrobots.txtrobots.txtrobots.txt
קובץ באתר שאומר לרובוטים אילו חלקים מותר לסרוק ובאיזה קצב.
A file on a site telling robots which parts they may crawl and how fast.
מופיע לראשונה: First appears: מפגשSession 26savefigsavefigsavefigsavefig
שמירת הגרף לקובץ תמונה (PNG, SVG, PDF). fig.savefig("chart.png").
Saving the chart to an image file (PNG, SVG, PDF). fig.savefig("chart.png").
SDKSDKSDKSDK
ספרייה רשמית שעוטפת API, כמו anthropic לפייתון. חוסכת לבנות בקשות HTTP ביד.
An official library wrapping an API, like anthropic for Python. Saves building HTTP requests by hand.
selfselfselfself
הפרמטר הראשון של כל מתודה: האובייקט שעליו קראו לה. פייתון מעבירה אותו לבד.
The first parameter of every method: the object it was called on. Python passes it for you.
מופיע לראשונה: First appears: מפגשSession 15SemaphoreSemaphoreSemaphoreSemaphore
מונה שמגביל כמה משימות רצות יחד, למשל לא יותר מ-3 בקשות לשרת בבת אחת.
A counter that limits how many tasks run together, e.g. no more than 3 requests to a server at once.
מופיע לראשונה: First appears: מפגשSession 30SeriesSeriesSeriesSeries
עמודה אחת של DataFrame: רשימת ערכים עם אינדקס.
One column of a DataFrame: a list of values with an index.
מופיע לראשונה: First appears: מפגשSession 24shutilshutilshutilshutil
מודול סטנדרטי להעתקה, העברה ומחיקה של קבצים ותיקיות שלמות, וליצירת ארכיונים.
A standard module for copying, moving and deleting files and whole folders, and making archives.
מופיע לראשונה: First appears: מפגשSession 28snake_casesnake_casesnake_casesnake_case
סגנון שמות ב-Python: אותיות קטנות ומילים מופרדות בקו תחתון, כמו book_title.
Python's naming style: lowercase words separated by underscores, like book_title.
SpriteSpriteSpriteSprite
עצם במשחק שיש לו image (מה מציירים) ו-rect (איפה), ולרוב מתודת update. יורשים מ-pygame.sprite.Sprite.
A game object with an image (what to draw) and a rect (where), usually with an update method. Inherit from pygame.sprite.Sprite.
SQLSQLSQLSQL
השפה לשאול ולשנות מסדי נתונים: SELECT title FROM books WHERE pages > 300.
The language for asking and changing databases: SELECT title FROM books WHERE pages > 300.
SQL injectionSQL injectionSQL injectionSQL injection
פרצה שבה קלט של משתמש שמודבק לשאילתה משנה את משמעותה. נמנעת עם ?.
A hole where user input pasted into a query changes its meaning. Prevented with ?.
stderrstderrstderrstderr
ערוץ פלט נפרד להודעות שגיאה, כדי שלא יתערבבו בתוצאות. print(..., file=sys.stderr).
A separate output channel for error messages, so they don't mix with results. print(..., file=sys.stderr).
super()super()super()super()
גישה למתודות של מחלקת האב מתוך מחלקת הבן, למשל super().__init__(title).
Access to the parent class's methods from inside the child, e.g. super().__init__(title).
TaskTaskTaskTask
קורוטינה שתוזמנה לרוץ ברקע עם asyncio.create_task, ואפשר לחכות לה מאוחר יותר.
A coroutine scheduled to run in the background with asyncio.create_task, to be awaited later.
TDDTDDTDDTDD
Test-Driven Development: כותבים קודם בדיקה שנכשלת, אחר כך קוד שמעביר אותה, ואז מסדרים.
Test-Driven Development: first write a failing test, then code that passes it, then tidy up.
מופיע לראשונה: First appears: מפגשSession 19timeouttimeouttimeouttimeout
זמן מקסימלי לחכות לתשובה. בלי timeout, תוכנית יכולה לחכות לנצח לשרת שלא עונה.
The longest to wait for a reply. Without one, a program can wait forever for a silent server.
מופיע לראשונה: First appears: מפגשSession 22TracebacktracebacktracebackTraceback
הדוח ש-Python מדפיסה כשתוכנית נופלת: המסלול שהוביל לשגיאה, ובשורה האחרונה סוג השגיאה וההסבר.
The report Python prints when a program crashes: the path that led to the error, and on the last line the error type and message.
מופיע לראשונה: First appears: מפגשSession 1truthy / falsytruthy / falsytruthy / falsytruthy / falsy
ערכים שנחשבים אמת או שקר בתנאי. falsy: 0, "", [], None, False. כל השאר truthy.
Values treated as true or false in a condition. Falsy: 0, "", [], None, False. Everything else is truthy.
try / excepttry / excepttry / excepttry / except
בלוק שמנסה להריץ קוד (try) ותופס חריגה מסוג מסוים (except) במקום לקרוס.
A block that tries some code (try) and catches an exception of a given type (except) instead of crashing.
uvicornuvicornuvicornuvicorn
השרת שמריץ אפליקציית FastAPI ומקשיב לבקשות. uvicorn main:app --reload.
The server that runs a FastAPI app and listens for requests. uvicorn main:app --reload.
VS CodeVS CodeVS CodeVS Code
עורך קוד חינמי ופופולרי של Microsoft, שעובד ב-Windows, Mac ו-Linux.
A free, popular code editor from Microsoft that runs on Windows, Mac and Linux.
מופיע לראשונה: First appears: מפגשSession 1with (מנהל הקשר)with (context manager)with (context manager)with (מנהל הקשר)
with open(...) as f: פותח קובץ וסוגר אותו אוטומטית בסוף הבלוק, גם אם הייתה שגיאה.
with open(...) as f: opens a file and closes it automatically at the end of the block, even after an error.
אובייקטobjectobjectאובייקט
מופע אחד שנוצר ממחלקה, עם ערכים משלו. Book("Dune") יוצר אובייקט.
One instance made from a class, with its own values. Book("Dune") makes an object.
אוטומציהautomationautomationאוטומציה
לתת למחשב לבצע משימה חוזרת במקומכם: לסדר קבצים, לגבות, לשלוח דוח.
Letting the computer do a repetitive task for you: tidy files, back up, send a report.
מופיע לראשונה: First appears: מפגשSession 28אוסף שאפשר לעבור עליוiterableiterableאוסף שאפשר לעבור עליו
אובייקט שאפשר לשים בלולאת for. מחלקה נעשית כזו כשיש לה __iter__.
An object you can put in a for loop. A class becomes one when it has __iter__.
אופרטורoperatoroperatorאופרטור
סימן שמבצע פעולה על ערכים: + - * / // % **.
A symbol that does something with values: + - * / // % **.
מופיע לראשונה: First appears: מפגשSession 1אופרטור לוגיlogical operatorlogical operatorאופרטור לוגי
and, or, not: מחברים או הופכים תנאים.
and, or, not: combine or invert conditions.
אזור ההכנה (staging)staging areastaging areaאזור ההכנה (staging)
המקום שבו מכינים מה ייכנס ל-commit הבא. git add מכניס לשם קבצים.
Where you prepare what goes into the next commit. git add puts files there.
איטרציהiterationiterationאיטרציה
סיבוב אחד של לולאה.
One pass through a loop.
מופיע לראשונה: First appears: מפגשSession 6אינדקסindexindexאינדקס
מספר המקום של פריט ברצף. מתחילים מ-0, ו--1 הוא האחרון.
The position number of an item in a sequence. Starts at 0, and -1 is the last.
אירועeventeventאירוע
משהו שקרה מאז הפריים הקודם: לחיצת מקש, לחיצת עכבר, סגירת חלון. pygame.event.get().
Something that happened since the last frame: a key press, a mouse click, closing the window. pygame.event.get().
אלגוריתםalgorithmalgorithmאלגוריתם
סדרת צעדים מוגדרת לפתרון בעיה, כמו מתכון. לאותה בעיה יש לפעמים אלגוריתמים מהירים ואיטיים.
A defined series of steps solving a problem, like a recipe. The same problem may have fast and slow algorithms.
מופיע לראשונה: First appears: מפגשSession 34אנרגיהenergyenergyאנרגיה
גודל שבמערכת סגורה אמור להישמר. אם הוא גדל בסימולציה, זה סימן לשגיאה מספרית.
A quantity that should stay constant in a closed system. If it grows in a simulation, that's a sign of numerical error.
מופיע לראשונה: First appears: מפגשSession 44ארגומנטargumentargumentארגומנט
ערך שמעבירים לפונקציה בתוך הסוגריים, למשל "Hi" ב-print("Hi").
A value passed to a function inside the parentheses, like "Hi" in print("Hi").
ארגומנט שורת פקודהcommand-line argumentcommand-line argumentארגומנט שורת פקודה
מילה שכותבים אחרי שם הסקריפט בטרמינל: python3 greet.py Noa. מגיעה לתוכנית ב-sys.argv.
A word written after the script's name in the terminal: python3 greet.py Noa. Reaches the program in sys.argv.
באגbugbugבאג
טעות בקוד שגורמת לתוכנית לעשות משהו אחר ממה שרצינו.
A mistake in code that makes the program do something other than what we wanted.
מופיע לראשונה: First appears: מפגשSession 1בדיקת יחידהunit testunit testבדיקת יחידה
פונקציה קטנה שבודקת חלק אחד בקוד: מריצה אותו עם קלט ידוע ובודקת עם assert שהתוצאה נכונה.
A small function that checks one piece of code: runs it with known input and asserts the result is right.
מופיע לראשונה: First appears: מפגשSession 19בוליאני (bool)boolean (bool)boolean (bool)בוליאני (bool)
טיפוס עם שני ערכים בלבד: True ו-False.
A type with only two values: True and False.
בורר CSSCSS selectorCSS selectorבורר CSS
תבנית שבוחרת אלמנטים בדף: article.book h3 a = קישור בתוך h3 בתוך article עם class book.
A pattern that picks elements on a page: article.book h3 a = a link inside h3 inside an article with class book.
בחירת מטרהtargetingtargetingבחירת מטרה
הכלל שלפיו מגדל בוחר במי לירות מבין האויבים בטווח: הראשון, הקרוב, החזק.
The rule a tower uses to choose whom to shoot among enemies in range: first, closest, strongest.
מופיע לראשונה: First appears: מפגשSession 46ביטויexpressionexpressionביטוי
צירוף שמחושב לערך אחד, כמו 2 + 3 * x.
A combination that evaluates to one value, like 2 + 3 * x.
בלוקblockblockבלוק
קבוצת שורות עם אותה הזחה, שרצות יחד. בלוק מתחיל אחרי שורה שנגמרת בנקודתיים.
Lines with the same indentation that run together. A block starts after a line ending in a colon.
מופיע לראשונה: First appears: מפגשSession 5בלתי משתנה (immutable)immutableimmutableבלתי משתנה (immutable)
ערך שאי אפשר לשנות במקום. מחרוזות, מספרים וטאפלים הם immutable.
A value that can't be changed in place. Strings, numbers and tuples are immutable.
מופיע לראשונה: First appears: מפגשSession 4בנאי (__init__)constructor (__init__)constructor (__init__)בנאי (__init__)
המתודה __init__ שרצה אוטומטית כשיוצרים אובייקט חדש וממלאת את התכונות שלו.
The __init__ method that runs automatically when a new object is made and fills in its attributes.
בקשה (prompt)promptpromptבקשה (prompt)
הטקסט שנותנים למודל: מה רוצים, הקשר, דוגמאות ואילוצים. בקשה טובה = תשובה טובה יותר.
The text you give the model: what you want, context, examples and constraints. A better prompt = a better answer.
מופיע לראשונה: First appears: מפגשSession 32גירוד רשת (scraping)web scrapingweb scrapingגירוד רשת (scraping)
קריאה אוטומטית של דפי אינטרנט וחילוץ נתונים מתוכם, כשאין API.
Automatically reading web pages and extracting data from them, when there's no API.
מופיע לראשונה: First appears: מפגשSession 26גלwavewaveגל
קבוצת אויבים שמופיעה יחד. כשמחסלים גל, מגיע הבא, לרוב קשה יותר.
A group of enemies appearing together. Clear a wave and the next arrives, usually harder.
מופיע לראשונה: First appears: מפגשSession 43גלילהscrollingscrollingגלילה
תחושת תנועה שנוצרת כשהעולם זז לכיוון אחד והשחקן נשאר במקום.
A feeling of motion created when the world moves one way while the player stays in place.
מופיע לראשונה: First appears: מפגשSession 42גרסאות סמנטיותsemantic versioningsemantic versioningגרסאות סמנטיות
מספור MAJOR.MINOR.PATCH: שינוי שובר מעלה MAJOR, פיצ'ר חדש MINOR, תיקון PATCH.
MAJOR.MINOR.PATCH numbering: a breaking change bumps MAJOR, a new feature MINOR, a fix PATCH.
מופיע לראשונה: First appears: מפגשSession 36דגל (flag)flagflagדגל (flag)
אופציה בלי ערך שמדליקה משהו: --shout. ב-argparse: action="store_true".
An option without a value that switches something on: --shout. In argparse: action="store_true".
דחיפה (impulse)impulseimpulseדחיפה (impulse)
שינוי מיידי במהירות, כמו קפיצה: vel = -6. אחריה הכבידה מאטה ומושכת חזרה.
An instant change in velocity, like a jump: vel = -6. After it, gravity slows and pulls back.
דיאלוגdialoguedialogueדיאלוג
רצף שורות שדמות אומרת, לפעמים עם בחירות. נוח לשמור כנתונים ולא כקוד.
A sequence of lines a character says, sometimes with choices. Best kept as data, not code.
מופיע לראשונה: First appears: מפגשSession 47דיבאגרdebuggerdebuggerדיבאגר
כלי שעוצר את התוכנית באמצע ומאפשר להריץ שורה אחרי שורה ולראות את כל המשתנים.
A tool that pauses the program and lets you run it line by line and see every variable.
מופיע לראשונה: First appears: מפגשSession 14דפוס פתרוןsolution patternsolution patternדפוס פתרון
רעיון שחוזר בהרבה שאלות, כמו "לספור במילון" או "שני מצביעים". זיהוי הדפוס הוא חצי מהפתרון.
An idea recurring across many questions, like "count in a dict" or "two pointers". Spotting the pattern is half the solution.
מופיע לראשונה: First appears: מפגשSession 35דקורטורdecoratordecoratorדקורטור
שורה שמתחילה ב-@ מעל פונקציה או מחלקה, ומוסיפה לה יכולות. @dataclass הוא דקורטור.
A line starting with @ above a function or class that adds abilities to it. @dataclass is a decorator.
דריסה (override)overrideoverrideדריסה (override)
כתיבה מחדש של מתודה שכבר קיימת אצל האב, כדי שהבן יתנהג אחרת.
Rewriting a method the parent already has, so the child behaves differently.
מופיע לראשונה: First appears: מפגשSession 16הגבלה לטווח (clamp)clampclampהגבלה לטווח (clamp)
להחזיר ערך לתוך גבולות: max(low, min(high, value)). שומר על השחקן בתוך המסך.
Forcing a value into bounds: max(low, min(high, value)). Keeps the player on screen.
הופעה (spawn)spawnspawnהופעה (spawn)
יצירת עצם חדש במשחק, כמו כוכב שנופל, לרוב בזמנים או מקומות אקראיים.
Creating a new object in the game, like a falling star, often at random times or places.
מופיע לראשונה: First appears: מפגשSession 38הזחה (indentation)indentationindentationהזחה (indentation)
רווחים בתחילת שורה. ב-Python להזחה יש משמעות, ולכן רווח מיותר בהתחלה הוא שגיאה.
Spaces at the start of a line. In Python indentation has meaning, so an extra leading space is an error.
מופיע לראשונה: First appears: מפגשSession 1המצאה (hallucination)hallucinationhallucinationהמצאה (hallucination)
תשובה שנשמעת בטוחה אבל שגויה: פונקציה שלא קיימת, חבילה מומצאת, עובדה לא נכונה.
An answer that sounds confident but is wrong: a function that doesn't exist, a made-up package, a false fact.
מופיע לראשונה: First appears: מפגשSession 32המרת טיפוסtype conversiontype conversionהמרת טיפוס
יצירת ערך חדש מטיפוס אחר: int("5"), str(5), float("2.5").
Making a new value of another type: int("5"), str(5), float("2.5").
הנחיית מערכתsystem promptsystem promptהנחיית מערכת
הוראות כלליות למודל שחלות על כל השיחה: תפקיד, סגנון, שפה, פורמט.
General instructions for the model that apply to the whole conversation: role, style, language, format.
מופיע לראשונה: First appears: מפגשSession 33הספרייה הסטנדרטיתstandard librarystandard libraryהספרייה הסטנדרטית
מאות מודולים שמגיעים עם Python ולא צריך להתקין: math, random, datetime, json, pathlib ועוד.
Hundreds of modules that ship with Python, no install needed: math, random, datetime, json, pathlib and more.
מופיע לראשונה: First appears: מפגשSession 13העמסת אופרטוריםoperator overloadingoperator overloadingהעמסת אופרטורים
הגדרה מה עושים אופרטורים כמו +, ==, < עם אובייקטים שלכם, בעזרת מתודות dunder.
Defining what operators like +, ==, < do with your objects, using dunder methods.
הערה (comment)commentcommentהערה (comment)
טקסט אחרי # ש-Python מתעלמת ממנו. כותבים הערות כדי להסביר את הקוד לבני אדם.
Text after # that Python ignores. We write comments to explain code to humans.
מופיע לראשונה: First appears: מפגשSession 1הפרדת אחריותseparation of concernsseparation of concernsהפרדת אחריות
כל חלק בקוד אחראי על דבר אחד: מודל לנתונים, אחסון לשמירה, ממשק למשתמש. כך שינוי באחד לא שובר את השאר.
Each part of the code is responsible for one thing: a model for data, storage for saving, an interface for the user. So a change in one doesn't break the rest.
מופיע לראשונה: First appears: מפגשSession 31הפרדת ציריםaxis separationaxis separationהפרדת צירים
מזיזים קודם בציר x ובודקים התנגשות, ואז בציר y ובודקים שוב. כך יודעים מאיזה צד הייתה הפגיעה.
Move along x first and check collisions, then along y and check again. That tells you which side was hit.
מופיע לראשונה: First appears: מפגשSession 41הרצת ניסיון (dry run)dry rundry runהרצת ניסיון (dry run)
מצב שבו הסקריפט רק מדפיס מה היה עושה, בלי לשנות כלום. בודקים כך לפני שמזיזים קבצים אמיתיים.
A mode where the script only prints what it would do, changing nothing. Check this way before moving real files.
מופיע לראשונה: First appears: מפגשSession 28השמהassignmentassignmentהשמה
הפעולה =: מחשבים את הצד הימני ומדביקים את השם שבצד השמאלי על התוצאה.
The = operation: compute the right side and stick the name on the left onto the result.
התנגשותcollisioncollisionהתנגשות
מצב שבו שני עצמים במשחק חופפים. ב-pygame: a.colliderect(b).
When two game objects overlap. In pygame: a.colliderect(b).
התקנהinstallationinstallationהתקנה
הכנסת תוכנה למחשב כך שאפשר להפעיל אותה. בקורס מתקינים את Python ואת VS Code.
Putting software on the computer so you can run it. In this course we install Python and VS Code.
מופיע לראשונה: First appears: מפגשSession 1וקטורvectorvectorוקטור
זוג מספרים (x, y) שמייצג כיוון וגודל: מיקום, מהירות או כוח. Vector2(3, 4).length() הוא 5.
A pair of numbers (x, y) representing direction and size: a position, velocity or force. Vector2(3, 4).length() is 5.
זווית יציאהrebound anglerebound angleזווית יציאה
הכיוון שבו הכדור עוזב את המחבט. פגיעה בקצה שולחת בזווית חדה יותר, וזה נותן לשחקן שליטה.
The direction the ball leaves the paddle. Hitting near the edge sends it at a sharper angle, giving the player control.
מופיע לראשונה: First appears: מפגשSession 39זמן המתנה (cooldown)cooldowncooldownזמן המתנה (cooldown)
מונה שמונע פעולה חוזרת מהר מדי, למשל ירייה אחת כל 12 פריימים.
A counter preventing an action from repeating too fast, e.g. one shot every 12 frames.
מופיע לראשונה: First appears: מפגשSession 43זמן פריים (dt)delta time (dt)delta time (dt)זמן פריים (dt)
הזמן שעבר מהפריים הקודם. כופלים בו מהירויות כדי שהמשחק ירוץ באותו קצב בכל מחשב.
The time since the last frame. Multiply speeds by it so the game runs at the same pace on every computer.
מופיע לראשונה: First appears: מפגשSession 39זמן קויוטהcoyote timecoyote timeזמן קויוטה
כמה פריימים אחרי שיורדים מקצה שבהם עדיין מותר לקפוץ. גורם למשחק להרגיש הוגן.
A few frames after stepping off an edge during which jumping is still allowed. Makes the game feel fair.
מופיע לראשונה: First appears: מפגשSession 45חבילהpackagepackageחבילה
מודול (או כמה) שמישהו פרסם, ומתקינים עם pip, כמו requests או pandas.
One or more modules someone published, installed with pip, like requests or pandas.
מופיע לראשונה: First appears: מפגשSession 13חבילת קוד (package)code packagecode packageחבילת קוד (package)
תיקייה של מודולים עם __init__.py, שאפשר לייבא כיחידה אחת: from shelf.models import Book.
A folder of modules with __init__.py that can be imported as one unit: from shelf.models import Book.
חותמת זמןtimestamptimestampחותמת זמן
תאריך ושעה שמוסיפים לשם קובץ, כמו backup-2026-03-01.zip, כדי שגרסאות לא ידרסו זו את זו.
A date and time added to a file name, like backup-2026-03-01.zip, so versions don't overwrite each other.
חיזוק (power-up)power-uppower-upחיזוק (power-up)
פריט שנופל ונותן יכולת זמנית, כמו מחבט רחב יותר או כדור נוסף.
An item that falls and gives a temporary ability, like a wider paddle or an extra ball.
מופיע לראשונה: First appears: מפגשSession 41חיפוש בינאריbinary searchbinary searchחיפוש בינארי
ברשימה ממוינת: בודקים את האמצע וזורקים חצי בכל צעד. O(log n).
In a sorted list: check the middle and discard half each step. O(log n).
מופיע לראשונה: First appears: מפגשSession 34חיפוש לינאריlinear searchlinear searchחיפוש לינארי
בודקים פריט אחרי פריט עד שמוצאים. O(n).
Check item after item until found. O(n).
מופיע לראשונה: First appears: מפגשSession 34חיתוך (slice)slicesliceחיתוך (slice)
לקיחת חלק מרצף: s[start:stop:step]. ה-stop לא נכלל.
Taking part of a sequence: s[start:stop:step]. The stop isn't included.
חלון נעsliding windowsliding windowחלון נע
תת-רשימה ברוחב קבוע שזזה צעד אחרי צעד, ומעדכנים בה סכום במקום לחשב מחדש.
A fixed-width sub-list sliding step by step, updating a sum instead of recomputing.
מופיע לראשונה: First appears: מפגשSession 35חלקיקparticleparticleחלקיק
נקודה קטנה עם מיקום, מהירות וזמן חיים. הרבה חלקיקים יחד יוצרים פיצוץ, עשן או ניצוצות.
A small dot with a position, velocity and lifetime. Many together make an explosion, smoke or sparks.
מופיע לראשונה: First appears: מפגשSession 43חריגה (exception)exceptionexceptionחריגה (exception)
אירוע שגיאה בזמן ריצה. אם אף אחד לא תופס אותה, התוכנית נעצרת ומדפיסה Traceback.
An error event at run time. If nobody catches it, the program stops and prints a traceback.
מופיע לראשונה: First appears: מפגשSession 11טאפל (tuple)tupletupleטאפל (tuple)
רצף בסוגריים עגולים שאי אפשר לשנות: (32.08, 34.78).
A sequence in parentheses that can't be changed: (32.08, 34.78).
טבלהtabletableטבלה
אוסף רשומות עם אותן עמודות, כמו גיליון: שורה לכל ספר, עמודה לכל שדה.
A collection of records with the same columns, like a sheet: one row per book, one column per field.
מופיע לראשונה: First appears: מפגשSession 23טבלת גיבובhash tablehash tableטבלת גיבוב
המבנה שמאחורי dict ו-set: מוצא פריט לפי המפתח שלו כמעט מיד, O(1) בממוצע.
The structure behind dict and set: finds an item by its key almost instantly, O(1) on average.
מופיע לראשונה: First appears: מפגשSession 34טווח הכרה (scope)scopescopeטווח הכרה (scope)
האזור בקוד שבו משתנה מוכר. משתנה שנוצר בתוך פונקציה מוכר רק בתוכה.
The region of code where a variable is known. A variable created inside a function exists only inside it.
מופיע לראשונה: First appears: מפגשSession 10טוקןtokentokenטוקן
יחידת טקסט שהמודל סופר (בערך 3–4 תווים באנגלית). המחיר והמגבלות נמדדים בטוקנים.
A unit of text the model counts (about 3–4 characters in English). Prices and limits are measured in tokens.
מופיע לראשונה: First appears: מפגשSession 33טיפוס (type)typetypeטיפוס (type)
סוג הערך: מספר שלם, עשרוני, מחרוזת, בוליאני ועוד. הטיפוס קובע אילו פעולות מותרות.
The kind of value: integer, float, string, boolean and more. The type decides which operations are allowed.
מופיע לראשונה: First appears: מפגשSession 3טיקticktickטיק
צעד של לוגיקת המשחק. בנחש הנחש זז פעם בטיק, גם אם המסך מצויר 60 פעמים בשנייה.
One step of game logic. In Snake the snake moves once per tick, even if the screen is drawn 60 times a second.
מופיע לראשונה: First appears: מפגשSession 40טרמינלterminalterminalטרמינל
חלון שבו מקלידים פקודות טקסט למחשב במקום ללחוץ עם העכבר. ב-Mac נקרא Terminal, וב-Windows משתמשים ב-PowerShell.
A window where you type text commands to the computer instead of clicking. On a Mac it is called Terminal; on Windows we use PowerShell.
מופיע לראשונה: First appears: מפגשSession 1יומן שינוייםchangelogchangelogיומן שינויים
קובץ שמתעד מה השתנה בכל גרסה, בשפה של משתמשים.
A file recording what changed in each version, in users' language.
מופיע לראשונה: First appears: מפגשSession 36ירושהinheritanceinheritanceירושה
מחלקה חדשה שמקבלת את כל התכונות והמתודות של מחלקה קיימת ומוסיפה או משנה. class EBook(Book):.
A new class that gets all attributes and methods of an existing one and adds or changes some. class EBook(Book):.
יריב ממוחשבAI opponentAI opponentיריב ממוחשב
שחקן שהמחשב מזיז לפי כלל פשוט, כמו "לעקוב אחרי הכדור", עם מהירות מוגבלת כדי שאפשר יהיה לנצח.
A player the computer moves by a simple rule, like "follow the ball", with limited speed so it can be beaten.
מופיע לראשונה: First appears: מפגשSession 39כבידהgravitygravityכבידה
תאוצה קבועה כלפי מטה: בכל פריים מוסיפים קבוע למהירות האנכית.
A constant downward acceleration: every frame, add a constant to the vertical velocity.
מופיע לראשונה: First appears: מפגשSession 42כוחforceforceכוח
דחיפה או משיכה. לפי ניוטון: תאוצה = כוח חלקי מסה (a = F / m).
A push or pull. By Newton: acceleration = force divided by mass (a = F / m).
כינוי (alias)aliasaliasכינוי (alias)
שני שמות שמצביעים על אותו אובייקט. שינוי דרך אחד נראה גם דרך השני.
Two names pointing at the same object. A change through one shows through the other.
מופיע לראשונה: First appears: מפגשSession 7לולאהlooploopלולאה
קוד שחוזר שוב ושוב: while כל עוד תנאי נכון, for על כל פריט ברצף.
Code that repeats: while as long as a condition holds, for over each item of a sequence.
לולאה אינסופיתinfinite loopinfinite loopלולאה אינסופית
לולאה שהתנאי שלה אף פעם לא נהיה False. עוצרים עם Ctrl+C.
A loop whose condition never becomes False. Stop it with Ctrl+C.
מופיע לראשונה: First appears: מפגשSession 6לולאת אירועיםevent loopevent loopלולאת אירועים
המנגנון של asyncio שמחליט מי רץ עכשיו: מריץ קורוטינה עד await, ואז עובר לאחרת שמוכנה.
asyncio's engine that decides who runs now: runs a coroutine until an await, then switches to another that's ready.
מופיע לראשונה: First appears: מפגשSession 30לולאת משחקgame loopgame loopלולאת משחק
הלולאה שרצה עשרות פעמים בשנייה: קוראת אירועים, מעדכנת את מצב המשחק, ומציירת את המסך מחדש.
The loop running dozens of times a second: read events, update the game state, redraw the screen.
מופיע לראשונה: First appears: מפגשSession 37מאגר (repository)repositoryrepositoryמאגר (repository)
תיקיית פרויקט ש-Git עוקב אחריה (יש בה תיקייה נסתרת .git). בקיצור: repo.
A project folder Git tracks (it has a hidden .git folder). Short: repo.
מאפיין HTMLHTML attributeHTML attributeמאפיין HTML
מידע נוסף בתוך תגית: href בקישור, class, data-pages. ב-BeautifulSoup: tag["href"].
Extra information inside a tag: href on a link, class, data-pages. In BeautifulSoup: tag["href"].
מבט עלtop-downtop-downמבט על
משחק שבו המצלמה מסתכלת מלמעלה. אין כבידה, וזזים בארבעה (או שמונה) כיוונים.
A game where the camera looks from above. No gravity, and you move in four (or eight) directions.
מופיע לראשונה: First appears: מפגשSession 47מהירות (וקטור)velocityvelocityמהירות (וקטור)
כמה פיקסלים זזים בכל פריים בכל ציר: vx, vy. מהירות שלילית = תנועה שמאלה או למעלה.
How many pixels to move per frame on each axis: vx, vy. Negative velocity = moving left or up.
מודולmodulemoduleמודול
קובץ קוד מוכן עם פונקציות. טוענים אותו עם import, למשל import math.
A file of ready-made code. Load it with import, e.g. import math.
מודול משחקgame modulegame moduleמודול משחק
קובץ אחד שאחראי על חלק אחד: הגדרות, דמויות, סצנות. main.py רק מחבר ביניהם.
One file responsible for one part: settings, characters, scenes. main.py just connects them.
מופיע לראשונה: First appears: מפגשSession 47מודל שפה (LLM)language model (LLM)language model (LLM)מודל שפה (LLM)
תוכנה שמקבלת טקסט ומחזירה המשך או תשובה, כמו Claude. ניגשים אליה דרך API.
Software that takes text and returns a continuation or answer, like Claude. You reach it through an API.
מופיע לראשונה: First appears: מפגשSession 33מופעinstanceinstanceמופע
מילה נרדפת לאובייקט: "מופע של המחלקה Book".
Another word for object: "an instance of the Book class".
מופיע לראשונה: First appears: מפגשSession 15מחבטpaddlepaddleמחבט
המלבן שהשחקן מזיז כדי להחזיר את הכדור.
The rectangle a player moves to return the ball.
מופיע לראשונה: First appears: מפגשSession 39מחווןrubricrubricמחוון
רשימת קריטריונים עם ניקוד שמסבירה מראש מה נבדק בהגשה.
A list of criteria with points that explains in advance what a submission is assessed on.
מופיע לראשונה: First appears: מפגשSession 31מחלקהclassclassמחלקה
תבנית ליצירת אובייקטים: מגדירה אילו נתונים יש לכל אחד ומה הוא יודע לעשות. כותבים class Book:.
A blueprint for making objects: defines what data each has and what it can do. Written class Book:.
מחלקת אבparent classparent classמחלקת אב
המחלקה שממנה יורשים (נקראת גם base class או superclass).
The class being inherited from (also called base class or superclass).
מופיע לראשונה: First appears: מפגשSession 16מחלקת בןchild classchild classמחלקת בן
המחלקה שיורשת (נקראת גם subclass).
The class that inherits (also called a subclass).
מופיע לראשונה: First appears: מפגשSession 16מחסנית קריאותcall stackcall stackמחסנית קריאות
שרשרת הפונקציות שקראו זו לזו עד הנקודה הנוכחית. ה-Traceback מציג אותה.
The chain of functions that called each other up to the current point. A traceback shows it.
מופיע לראשונה: First appears: מפגשSession 11מחרוזת (string)stringstringמחרוזת (string)
טקסט בתוך מירכאות, למשל "שלום" או 'Hi'. בשם הטיפוס: str.
Text inside quotes, such as "hello" or 'Hi'. Its type name is str.
מופיע לראשונה: First appears: מפגשSession 1מיזוג (merge)mergemergeמיזוג (merge)
איחוד השינויים מענף אחד לענף אחר.
Combining the changes from one branch into another.
מופיע לראשונה: First appears: מפגשSession 20מילה שמורהkeywordkeywordמילה שמורה
מילה שיש לה משמעות מיוחדת ב-Python (if, for, class...) ולכן אי אפשר להשתמש בה כשם.
A word with special meaning in Python (if, for, class...) that can't be used as a name.
מופיע לראשונה: First appears: מפגשSession 2מילון (dict)dictionary (dict)dictionary (dict)מילון (dict)
אוסף של זוגות מפתח-ערך: {"title": "Dune", "pages": 412}. ניגשים לפי מפתח, לא לפי מקום.
A collection of key-value pairs: {"title": "Dune", "pages": 412}. Access by key, not position.
מלאיinventoryinventoryמלאי
מבנה נתונים (בדרך כלל מילון) שסופר מה השחקן אוסף: מפתחות, קריסטלים, שיקויים.
A data structure (usually a dict) counting what the player collects: keys, crystals, potions.
מופיע לראשונה: First appears: מפגשSession 47מנהורtunnelingtunnelingמנהור
באג שבו עצם מהיר "מדלג" מעל עצם דק בין שני פריימים ולא מתנגש בו.
A bug where a fast object "skips over" a thin one between two frames and never collides with it.
מופיע לראשונה: First appears: מפגשSession 41מסגרת (frame)frameframeמסגרת (frame)
האזור בזיכרון שנוצר לכל קריאה לפונקציה ומחזיק את המשתנים המקומיים שלה.
The memory area created for each function call, holding its local variables.
מופיע לראשונה: First appears: מפגשSession 10מסד נתוניםdatabasedatabaseמסד נתונים
מקום מסודר לשמירת הרבה נתונים, עם שפה לשאילתות. SQLite שומר את כל המסד בקובץ אחד.
An organised store for lots of data, with a query language. SQLite keeps the whole database in one file.
מופיע לראשונה: First appears: מפגשSession 23מסכה בוליאניתboolean maskboolean maskמסכה בוליאנית
Series של True/False שבוחרת שורות: df[df["pages"] > 300].
A Series of True/False that picks rows: df[df["pages"] > 300].
מספר עשרוני (float)floatfloatמספר עשרוני (float)
מספר עם נקודה עשרונית, כמו 3.5. חילוק עם / תמיד מחזיר float.
A number with a decimal point, like 3.5. Division with / always gives a float.
מופיע לראשונה: First appears: מפגשSession 1מספר שלם (int)integer (int)integer (int)מספר שלם (int)
מספר בלי נקודה עשרונית, כמו 7 או -3. נלמד עליו לעומק במפגש 3.
A number without a decimal point, like 7 or -3. We cover it in depth in session 3.
מופיע לראשונה: First appears: מפגשSession 1מעבר מקצה לקצהwrap-aroundwrap-aroundמעבר מקצה לקצה
יציאה מצד אחד של המסך וחזרה מהצד השני. בעזרת %: (x + 1) % COLS.
Leaving one side of the screen and coming back on the other. With %: (x + 1) % COLS.
מפרט (spec)specspecמפרט (spec)
תיאור מדויק של מה שהקוד צריך לעשות, כולל מקרי קצה. בדיקות הן מפרט שאפשר להריץ.
A precise description of what code must do, edge cases included. Tests are a spec you can run.
מופיע לראשונה: First appears: מפגשSession 32מפרש (interpreter)interpreterinterpreterמפרש (interpreter)
התוכנה שקוראת את קוד ה-Python שלך ומבצעת אותו שורה אחרי שורה. כשמתקינים "Python", מתקינים בעצם את המפרש.
The program that reads your Python code and runs it line by line. When you "install Python" you install the interpreter.
מופיע לראשונה: First appears: מפגשSession 1מפת אריחיםtilemaptilemapמפת אריחים
עולם בנוי מאריחים קטנים זהים בגודלם, שמתוארים במפה כמו טקסט. כל תו הוא סוג אריח.
A world built from small equal-size tiles, described in a text-like map. Each character is a tile type.
מופיע לראשונה: First appears: מפגשSession 45מפת שלבlevel maplevel mapמפת שלב
תיאור של שלב כטקסט: כל תו הוא משבצת (לבנה, ריק, אויב). קל לערוך ולהוסיף שלבים.
A level described as text: each character is a cell (brick, empty, enemy). Easy to edit and add levels.
מופיע לראשונה: First appears: מפגשSession 41מפתחkeykeyמפתח
השם שלפיו מוצאים ערך במילון. חייב להיות immutable (מחרוזת, מספר, טאפל).
The name used to find a value in a dict. Must be immutable (string, number, tuple).
מופיע לראשונה: First appears: מפגשSession 8מפתח APIAPI keyAPI keyמפתח API
מחרוזת סודית שמזהה אתכם מול שירות, ומחויבים לפיה. שומרים במשתנה סביבה, לעולם לא בקוד.
A secret string that identifies you to a service, and that usage is billed to. Keep it in an environment variable, never in code.
מופיע לראשונה: First appears: מפגשSession 33מפתח ראשיprimary keyprimary keyמפתח ראשי
עמודה שמזהה כל שורה באופן ייחודי, בדרך כלל id שגדל לבד.
A column that uniquely identifies each row, usually an id that grows by itself.
מצב התנהגותbehaviour statebehaviour stateמצב התנהגות
אחד מכמה מצבים שבהם אויב יכול להיות (סיור, מרדף, חזרה). בכל פריים בודקים אם לעבור למצב אחר.
One of several modes an enemy can be in (patrol, chase, return). Each frame, check whether to switch to another.
מופיע לראשונה: First appears: מפגשSession 48מצב פתיחהfile modefile modeמצב פתיחה
האות השנייה ב-open: "r" קריאה, "w" כתיבה (מוחק קודם!), "a" הוספה בסוף.
The second argument of open: "r" read, "w" write (erases first!), "a" append.
מצלמהcameracameraמצלמה
היסט שמחסירים מכל מה שמציירים, כדי שהמסך יראה חלק מעולם גדול ויעקוב אחרי השחקן.
An offset subtracted from everything you draw, so the screen shows part of a large world and follows the player.
מופיע לראשונה: First appears: מפגשSession 45מקביליות (concurrency)concurrencyconcurrencyמקביליות (concurrency)
כמה משימות מתקדמות באותו פרק זמן, גם אם רק אחת רצה בכל רגע.
Several tasks making progress in the same period, even if only one runs at any instant.
מופיע לראשונה: First appears: מפגשSession 30מקראlegendlegendמקרא
התיבה שמסבירה איזה צבע או קו שייך לאיזו סדרה.
The box explaining which colour or line belongs to which series.
מופיע לראשונה: First appears: מפגשSession 25מקרה קצהedge caseedge caseמקרה קצה
קלט בגבולות: רשימה ריקה, אפס, מחרוזת ריקה, הערך הגדול ביותר. שם מתחבאים רוב הבאגים.
Input at the limits: an empty list, zero, an empty string, the largest value. Most bugs hide there.
מופיע לראשונה: First appears: מפגשSession 19משתנהvariablevariableמשתנה
שם שמצביע על ערך בזיכרון. יוצרים אותו בהשמה: x = 5.
A name that points to a value in memory. Created by assignment: x = 5.
משתנה (mutable)mutablemutableמשתנה (mutable)
ערך שאפשר לשנות במקום, בלי ליצור חדש. רשימות ומילונים הם mutable.
A value that can be changed in place, without making a new one. Lists and dicts are mutable.
מופיע לראשונה: First appears: מפגשSession 7משתנה גלובליglobal variableglobal variableמשתנה גלובלי
משתנה שנוצר מחוץ לכל פונקציה, ברמת הקובץ.
A variable created outside any function, at file level.
מופיע לראשונה: First appears: מפגשSession 10משתנה מקומיlocal variablelocal variableמשתנה מקומי
משתנה שנוצר בתוך פונקציה ונעלם כשהיא נגמרת.
A variable created inside a function that disappears when it ends.
מופיע לראשונה: First appears: מפגשSession 10משתנה סביבהenvironment variableenvironment variableמשתנה סביבה
ערך שמוגדר במערכת ההפעלה מחוץ לקוד. os.environ["NAME"] קורא אותו.
A value set in the operating system outside your code. os.environ["NAME"] reads it.
מתודהmethodmethodמתודה
פונקציה ששייכת לערך ונקראת עם נקודה, כמו name.upper().
A function that belongs to a value and is called with a dot, like name.upper().
מתודת dunderdunder methoddunder methodמתודת dunder
מתודה ששמה מוקף בשני קווים תחתונים (double underscore), כמו __str__. פייתון קוראת לה אוטומטית בפעולות מוכרות כמו print, ==, len.
A method whose name is wrapped in double underscores, like __str__. Python calls it automatically for familiar operations like print, ==, len.
נקודת עצירהbreakpointbreakpointנקודת עצירה
סימון על שורה שבו הדיבאגר יעצור. ב-VS Code: לחיצה משמאל למספר השורה (נקודה אדומה).
A mark on a line where the debugger will stop. In VS Code: click left of the line number (a red dot).
מופיע לראשונה: First appears: מפגשSession 14נקודת ציוןwaypointwaypointנקודת ציון
נקודה במסלול שהאויב הולך אליה. כשמגיעים, ממשיכים לנקודה הבאה ברשימה.
A point on a path that an enemy walks toward. On arrival, move on to the next one in the list.
מופיע לראשונה: First appears: מפגשSession 46נקודת קצה (endpoint)endpointendpointנקודת קצה (endpoint)
כתובת מסוימת ב-API שעונה על סוג אחד של בקשה, למשל /isbn/<מספר>.json.
A specific address in an API that answers one kind of request, e.g. /isbn/<number>.json.
נתיב (path)pathpathנתיב (path)
הכתובת של קובץ או תיקייה במחשב, למשל /Users/you/python-course/hello.py.
The address of a file or folder on the computer, for example /Users/you/python-course/hello.py.
מופיע לראשונה: First appears: מפגשSession 1נתיב (route)routerouteנתיב (route)
שילוב של שיטה וכתובת (GET /books) שמחובר לפונקציה שעונה עליו.
A method and path (GET /books) linked to the function that answers it.
סביבה וירטואלית (venv)virtual environment (venv)virtual environment (venv)סביבה וירטואלית (venv)
תיקייה עם עותק נפרד של Python וחבילות לפרויקט אחד, כדי שפרויקטים לא יפריעו זה לזה.
A folder with a separate copy of Python and packages for one project, so projects don't interfere.
מופיע לראשונה: First appears: מפגשSession 13סט (set)setsetסט (set)
אוסף בלי סדר ובלי כפילויות: {"sci-fi", "kids"}. בדיקת in מהירה מאוד.
An unordered collection with no duplicates: {"sci-fi", "kids"}. in checks are very fast.
סיורpatrolpatrolסיור
אויב שהולך הלוך ושוב ומסתובב בקצה פלטפורמה או בקיר.
An enemy walking back and forth, turning at a platform's edge or a wall.
מופיע לראשונה: First appears: מפגשSession 45סימן ? (placeholder)placeholderplaceholderסימן ? (placeholder)
? בשאילתה שבמקומו SQLite מכניס ערך בבטחה. מונע SQL injection.
A ? in a query where SQLite safely inserts a value. Prevents SQL injection.
סצנהscenesceneסצנה
מסך אחד במשחק (תפריט, משחק, סיום) עם update ו-draw משלו. המשחק מחזיק סצנה נוכחית ומחליף אותה.
One screen of a game (menu, play, ending) with its own update and draw. The game holds a current scene and swaps it.
מופיע לראשונה: First appears: מפגשSession 47סקירת קודcode reviewcode reviewסקירת קוד
קריאה ביקורתית של קוד לפני שמקבלים אותו: נכונות, מקרי קצה, קריאות ואבטחה.
Critically reading code before accepting it: correctness, edge cases, readability and security.
מופיע לראשונה: First appears: מפגשSession 32סקריפטscriptscriptסקריפט
קובץ .py עם תוכנית שמריצים מההתחלה עד הסוף, למשל python3 hello.py.
A .py file with a program you run from start to finish, for example python3 hello.py.
מופיע לראשונה: First appears: מפגשSession 1סריאליזציהserializationserializationסריאליזציה
הפיכת אובייקט בזיכרון לטקסט (או בתים) שאפשר לשמור או לשלוח. ההפך: דה-סריאליזציה.
Turning an in-memory object into text (or bytes) that can be saved or sent. The reverse: deserialization.
מופיע לראשונה: First appears: מפגשSession 21עוזר AI לקודAI coding assistantAI coding assistantעוזר AI לקוד
מודל שפה שמציע, מסביר ומשנה קוד לפי בקשה בשפה רגילה, בתוך העורך או בצ'אט.
A language model that suggests, explains and changes code from plain-language requests, in the editor or a chat.
מופיע לראשונה: First appears: מפגשSession 32עורך קודcode editorcode editorעורך קוד
תוכנה לכתיבת קוד, עם צבעים, השלמה אוטומטית וכפתור הרצה. בקורס משתמשים ב-VS Code.
An app for writing code, with colours, autocomplete and a run button. In this course we use VS Code.
מופיע לראשונה: First appears: מפגשSession 1על הקרקעgroundedgroundedעל הקרקע
דגל שאומר שהשחקן עומד על משהו. מותר לקפוץ רק כשהוא אמת.
A flag saying the player stands on something. Jumping is allowed only when it's true.
מופיע לראשונה: First appears: מפגשSession 45ענף (branch)branchbranchענף (branch)
קו פיתוח נפרד: אפשר לנסות רעיון בענף בלי לגעת בקוד הראשי, ואחר כך למזג.
A separate line of work: try an idea on a branch without touching the main code, then merge.
מופיע לראשונה: First appears: מפגשSession 20ערך ברירת מחדלdefault valuedefault valueערך ברירת מחדל
ערך שהפרמטר מקבל אם לא העבירו לו כלום: def greet(name="guest").
The value a parameter gets if nothing is passed: def greet(name="guest").
פולימורפיזםpolymorphismpolymorphismפולימורפיזם
אותה קריאה (item.describe()) עובדת על אובייקטים מסוגים שונים, וכל אחד מגיב בדרך שלו.
The same call (item.describe()) works on different kinds of objects, each responding in its own way.
פונקציהfunctionfunctionפונקציה
פעולה עם שם שאפשר להפעיל ("לקרוא לה") עם סוגריים, כמו print(...). בחלק 2 נכתוב פונקציות משלנו.
A named action you can run ("call") with parentheses, like print(...). In part 2 we write our own.
מופיע לראשונה: First appears: מפגשSession 1פונקציה טהורהpure functionpure functionפונקציה טהורה
פונקציה שהתוצאה שלה תלויה רק בפרמטרים, ושלא משנה שום דבר מחוצה לה. קל לבדוק אותה.
A function whose result depends only on its parameters and that changes nothing outside. Easy to test.
מופיע לראשונה: First appears: מפגשSession 10פירוק (unpacking)unpackingunpackingפירוק (unpacking)
חלוקת רצף לכמה משתנים בבת אחת: lat, lon = point.
Splitting a sequence into several variables at once: lat, lon = point.
פלטoutputoutputפלט
מה שהתוכנית מציגה החוצה, למשל טקסט שמודפס במסך.
What the program shows to the outside world, for example text printed on the screen.
מופיע לראשונה: First appears: מפגשSession 1פס חייםhealth barhealth barפס חיים
מלבן שרוחבו יחסי ל-hp שנותר, מצויר מעל דמות. רוחב = רוחב מלא × hp / max_hp.
A rectangle whose width is proportional to the remaining hp, drawn above a character. Width = full width × hp / max_hp.
מופיע לראשונה: First appears: מפגשSession 46פקודהcommandcommandפקודה
הוראה אחת שמקלידים בטרמינל ולוחצים Enter, למשל cd או python3 --version.
One instruction typed in the terminal followed by Enter, for example cd or python3 --version.
מופיע לראשונה: First appears: מפגשSession 1פקודת-משנהsubcommandsubcommandפקודת-משנה
מילה ראשונה שבוחרת פעולה, כמו git commit או shelf add.
A first word choosing an action, like git commit or shelf add.
פרייםframe (game)frame (game)פריים
תמונה אחת של המשחק. 60 פריימים בשנייה (FPS) נראים כתנועה רציפה.
One picture of the game. 60 frames per second (FPS) look like smooth motion.
מופיע לראשונה: First appears: מפגשSession 37פרלקסהparallaxparallaxפרלקסה
שכבות רקע שזזות במהירויות שונות: רחוק = לאט. נותן עומק.
Background layers moving at different speeds: far = slow. Gives depth.
מופיע לראשונה: First appears: מפגשSession 42פרמטרparameterparameterפרמטר
שם בסוגריים של הגדרת הפונקציה, שמקבל את הערך שמעבירים בקריאה.
A name in a function definition's parentheses that receives the value passed in a call.
מופיע לראשונה: First appears: מפגשSession 9פרמטר בנתיבpath parameterpath parameterפרמטר בנתיב
חלק משתנה בכתובת: /books/{book_id}. FastAPI ממיר אותו לטיפוס שבחתימה.
A variable part of the address: /books/{book_id}. FastAPI converts it to the type in the signature.
פרמטרים בכתובתquery parametersquery parametersפרמטרים בכתובת
החלק שאחרי ? בכתובת: ?q=dune&limit=2. ב-requests מעבירים אותם כמילון ב-params.
The part after ? in a URL: ?q=dune&limit=2. In requests you pass them as a dict in params.
צוברaccumulatoraccumulatorצובר
משתנה שמתחיל ב-0 (או ריק) ומצטבר בכל סיבוב, למשל סכום.
A variable that starts at 0 (or empty) and grows each pass, like a total.
מופיע לראשונה: First appears: מפגשSession 6קבוצת Spritessprite Groupsprite Groupקבוצת Sprites
אוסף שיודע לעדכן ולצייר את כל החברים בו בבת אחת, ולבדוק התנגשויות. kill() מוציא Sprite מכל הקבוצות.
A collection that updates and draws all its members at once, and checks collisions. kill() removes a Sprite from every group.
קואורדינטות מסךscreen coordinatesscreen coordinatesקואורדינטות מסך
מיקום לפי (x, y) בפיקסלים: (0, 0) בפינה השמאלית העליונה, x גדל ימינה ו-y גדל למטה.
Position as (x, y) in pixels: (0, 0) is the top-left corner, x grows to the right and y grows down.
מופיע לראשונה: First appears: מפגשSession 37קובץ הרצהexecutableexecutableקובץ הרצה
קובץ שמשתמש מריץ בלחיצה כפולה בלי להתקין פייתון. PyInstaller בונה אחד כזה.
A file a user runs with a double click without installing Python. PyInstaller builds one.
מופיע לראשונה: First appears: מפגשSession 48קובץ טקסטtext filetext fileקובץ טקסט
קובץ שמכיל תווים שאפשר לקרוא בעורך, כמו .txt, .csv, .py.
A file of characters you can read in an editor, like .txt, .csv, .py.
מופיע לראשונה: First appears: מפגשSession 12קובץ שמירהsave filesave fileקובץ שמירה
קובץ (למשל JSON) שמחזיק את מצב המשחק כדי להמשיך מאותה נקודה. חייב לשרוד קובץ חסר או פגום.
A file (such as JSON) holding the game's state so you can continue from the same point. Must survive a missing or broken file.
מופיע לראשונה: First appears: מפגשSession 48קודcodecodeקוד
הטקסט שאנחנו כותבים בשפת תכנות. "לכתוב קוד" זה לכתוב תוכנית.
The text we write in a programming language. "Writing code" means writing a program.
מופיע לראשונה: First appears: מפגשSession 1קוד יציאהexit codeexit codeקוד יציאה
מספר שתוכנית מחזירה למערכת כשהיא נגמרת: 0 = הצליח, אחר = נכשל. sys.exit(1).
A number a program hands back to the system when it ends: 0 = success, anything else = failure. sys.exit(1).
קוד סטטוסstatus codestatus codeקוד סטטוס
מספר בתשובת HTTP: 200 הצליח, 404 לא נמצא, 500 תקלה בשרת. 2xx טוב, 4xx טעות שלנו, 5xx טעות שלהם.
A number in an HTTP reply: 200 success, 404 not found, 500 server error. 2xx good, 4xx our mistake, 5xx theirs.
מופיע לראשונה: First appears: מפגשSession 22קורוטינהcoroutinecoroutineקורוטינה
פונקציה שהוגדרה עם async def. קריאה אליה מחזירה אובייקט שצריך להריץ עם await או asyncio.run.
A function defined with async def. Calling it returns an object you must run with await or asyncio.run.
קידוד (encoding)encodingencodingקידוד (encoding)
הדרך שבה תווים נשמרים כבתים. ל-UTF-8 יש מקום לכל שפה, כולל עברית ואימוג'י.
How characters are stored as bytes. UTF-8 covers every language, including Hebrew and emoji.
מופיע לראשונה: First appears: מפגשSession 12קליע מונחהhominghomingקליע מונחה
קליע שמכוון את עצמו מחדש בכל פריים לעבר המטרה הזזה.
A projectile that re-aims every frame at its moving target.
מופיע לראשונה: First appears: מפגשSession 46קריאה לפונקציהfunction callfunction callקריאה לפונקציה
הפעלת פונקציה עם סוגריים: greet("Noa").
Running a function with parentheses: greet("Noa").
ראיון טכניtechnical interviewtechnical interviewראיון טכני
שלב בגיוס שבו פותרים בעיות קוד מול מראיין ומסבירים את החשיבה.
A hiring stage where you solve coding problems in front of an interviewer and explain your thinking.
מופיע לראשונה: First appears: מפגשSession 35רגרסיהregressionregressionרגרסיה
באג שתוקן וחזר. בדיקה שנכתבת לכל באג מונעת שהוא יחזור בשקט.
A fixed bug that came back. A test written for each bug stops it returning silently.
מופיע לראשונה: First appears: מפגשSession 19ריסוןdampingdampingריסון
איבוד אנרגיה הדרגתי, כמו חיכוך באוויר: כופלים מהירות במספר קטן מ-1 בכל צעד.
A gradual loss of energy, like air friction: multiply velocity by a number below 1 each step.
מופיע לראשונה: First appears: מפגשSession 44רמז טיפוסtype hinttype hintרמז טיפוס
הערה בקוד שאומרת איזה טיפוס מצפים לו: pages: int. פייתון לא אוכפת אותה, אבל העורך וכלים כמו mypy כן משתמשים בה.
A note in code saying which type is expected: pages: int. Python doesn't enforce it, but editors and tools like mypy use it.
רקורסיהrecursionrecursionרקורסיה
פונקציה שקוראת לעצמה על בעיה קטנה יותר, עד מקרה בסיס פשוט.
A function that calls itself on a smaller problem, down to a simple base case.
מופיע לראשונה: First appears: מפגשSession 34רשימה (list)listlistרשימה (list)
רצף מסודר של ערכים בסוגריים מרובעים: [1, 2, 3]. אפשר לשנות אותה.
An ordered sequence of values in square brackets: [1, 2, 3]. It can be changed.
רשת משבצותgridgridרשת משבצות
עולם מחולק למשבצות שוות, כמו לוח שחמט. מיקום הוא (עמודה, שורה), והמרה לפיקסלים: כפול גודל המשבצת.
A world divided into equal cells, like a chessboard. A position is (column, row), and in pixels: times the cell size.
מופיע לראשונה: First appears: מפגשSession 40שגיאה (error)errorerrorשגיאה (error)
הודעה מ-Python שמשהו לא בסדר. השגיאה אומרת איפה (קובץ ושורה), מה הסוג, ומה ההסבר.
A message from Python that something is wrong. It says where (file and line), what type, and an explanation.
מופיע לראשונה: First appears: מפגשSession 1שורת כותרותheader rowheader rowשורת כותרות
השורה הראשונה בקובץ CSV, עם שמות העמודות.
The first line of a CSV file, with the column names.
מופיע לראשונה: First appears: מפגשSession 21שיטת STARSTAR methodSTAR methodשיטת STAR
מבנה לתשובה על ניסיון: Situation, Task, Action, Result.
A structure for answering about experience: Situation, Task, Action, Result.
מופיע לראשונה: First appears: מפגשSession 35שיטת הברווזrubber duck debuggingrubber duck debuggingשיטת הברווז
להסביר את הקוד שורה אחרי שורה למישהו (או לברווז גומי). תוך כדי הסבר מגלים את הטעות.
Explaining your code line by line to someone (or a rubber duck). While explaining, you spot the mistake.
מופיע לראשונה: First appears: מפגשSession 14שילוב אוילרEuler integrationEuler integrationשילוב אוילר
הדרך הפשוטה לקדם סימולציה: v += a * dt ואז p += v * dt. ככל ש-dt קטן יותר, מדויק יותר.
The simple way to advance a simulation: v += a * dt then p += v * dt. The smaller dt, the more accurate.
שני מצביעיםtwo pointerstwo pointersשני מצביעים
שני אינדקסים שנעים ברשימה (מהקצוות פנימה, או אחד אחרי השני) במקום לולאה כפולה.
Two indexes moving through a list (from the ends inward, or one after another) instead of a double loop.
מופיע לראשונה: First appears: מפגשSession 35שפת תכנותprogramming languageprogramming languageשפת תכנות
שפה עם חוקים מדויקים (תחביר) שבה כותבים הוראות למחשב. Python היא שפת תכנות אחת מתוך הרבה.
A language with exact rules (syntax) for writing instructions to a computer. Python is one programming language among many.
מופיע לראשונה: First appears: מפגשSession 1שקיפות (alpha)alpha (transparency)alpha (transparency)שקיפות (alpha)
רכיב רביעי בצבע: 0 שקוף לגמרי, 255 אטום. צריך Surface עם pygame.SRCALPHA.
A fourth colour component: 0 fully transparent, 255 opaque. Needs a Surface with pygame.SRCALPHA.
שרת APIweb API serverweb API serverשרת API
תוכנה שמחכה לבקשות HTTP ועונה בנתונים, כמו Open Library, רק שלכם.
A program that waits for HTTP requests and answers with data, like Open Library, only yours.
מופיע לראשונה: First appears: מפגשSession 29תו בריחהescape characterescape characterתו בריחה
צירוף שמתחיל ב-\ ומייצג תו מיוחד, כמו \n (שורה חדשה).
A sequence starting with \ that stands for a special character, like \n (newline).
תוכניתprogramprogramתוכנית
רשימה של הוראות שהמחשב מבצע לפי הסדר. ב-Python תוכנית היא בדרך כלל קובץ טקסט שנגמר ב-.py.
A list of instructions the computer carries out in order. In Python a program is usually a text file ending in .py.
מופיע לראשונה: First appears: מפגשSession 1תוסף (extension)extensionextensionתוסף (extension)
חבילה שמוסיפה יכולות ל-VS Code. התוסף Python מוסיף הרצה, צבעים ובדיקת שגיאות.
A package that adds features to VS Code. The Python extension adds running, colours and error checking.
מופיע לראשונה: First appears: מפגשSession 1תופעת לוואיside effectside effectתופעת לוואי
כל דבר שפונקציה עושה מעבר להחזרת ערך: הדפסה, כתיבה לקובץ, שינוי רשימה שקיבלה.
Anything a function does besides returning a value: printing, writing a file, changing a list it received.
מופיע לראשונה: First appears: מפגשSession 10תור קלטinput queueinput queueתור קלט
רשימה של לחיצות שממתינות לטיקים הבאים, כדי שלחיצות מהירות לא ילכו לאיבוד.
A list of presses waiting for the next ticks, so fast presses aren't lost.
מופיע לראשונה: First appears: מפגשSession 40תזמוןschedulingschedulingתזמון
הרצה אוטומטית בזמן קבוע: cron ב-Mac/Linux, Task Scheduler ב-Windows.
Automatic runs at a set time: cron on Mac/Linux, Task Scheduler on Windows.
מופיע לראשונה: First appears: מפגשSession 28תחביר (syntax)syntaxsyntaxתחביר (syntax)
חוקי הכתיבה של השפה: איפה שמים סוגריים, מירכאות, נקודתיים ורווחים.
The writing rules of the language: where brackets, quotes, colons and spaces go.
מופיע לראשונה: First appears: מפגשSession 1תיבת פגיעהhitboxhitboxתיבת פגיעה
המלבן שמשמש לבדיקת התנגשות. לרוב קטן מעט מהציור, כדי שהמשחק ירגיש הוגן.
The rectangle used for collision checks. Usually a bit smaller than the drawing, so the game feels fair.
מופיע לראשונה: First appears: מפגשSession 42תיקייה (directory)folder (directory)folder (directory)תיקייה (directory)
מקום שמכיל קבצים ותיקיות אחרות. בטרמינל קוראים לה גם directory.
A place that holds files and other folders. In the terminal it is also called a directory.
מופיע לראשונה: First appears: מפגשSession 1תיקייה נוכחיתcurrent directorycurrent directoryתיקייה נוכחית
התיקייה שהטרמינל "עומד" בה עכשיו. פקודות כמו python hello.py מחפשות קבצים בה.
The folder the terminal is "standing in" right now. Commands like python hello.py look for files there.
מופיע לראשונה: First appears: מפגשSession 1תכונהattributeattributeתכונה
משתנה ששייך לאובייקט, נגיש עם נקודה: book.title.
A variable that belongs to an object, reached with a dot: book.title.
תכנותprogrammingprogrammingתכנות
כתיבת הוראות מדויקות למחשב בשפה שהוא יודע לבצע, כדי שיפתור בעיה או יעשה משימה.
Writing precise instructions for a computer, in a language it can run, so that it solves a problem or does a task.
מופיע לראשונה: First appears: מפגשSession 1תנאיconditionconditionתנאי
ביטוי שערכו True או False, ולפיו מחליטים אם להריץ קוד.
An expression that's True or False, used to decide whether to run code.
מופיע לראשונה: First appears: מפגשSession 5