-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path7998.html
385 lines (379 loc) · 27.5 KB
/
7998.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
<!DOCTYPE html>
<html lang="he">
<!-- Mirrored from forums.pythonic.guru/t/1-3-cmd/7998 by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 17 Sep 2023 03:30:37 GMT -->
<!-- Added by HTTrack --><meta content="text/html;charset=utf-8" http-equiv="content-type"/><!-- /Added by HTTrack -->
<head>
<meta charset="utf-8"/>
<title>יום 1 שאלה 3 - שאלה כללית על קלט מה-CMD - שבוע 10 - פייתון בעברית ובחינם</title>
<meta content="שאלה כללית בכל מה שקשור לכתיבת קוד ופונקציות שמקבלות קלט מהCMD (וקלט משתמש בכללי):
האם מצופה מאיתנו להתמודד עם שגיאות קלט?
לדוגמא בתרגיל 3:
האם מצופה מאיתנו להתמודד עם קלט שקורא לקובץ wit ומעביר אליו קלטים לא רלוונטיי&hellip;" name="description"/>
<meta content="Discourse 3.2.0.beta2-dev - https://github.com/discourse/discourse version ebe68e15fce9c2fc2c67628ce4a9b24284c09b80" name="generator"/>
<link href="../../uploads/default/optimized/1X/49c4c7d93c7e73a9a15013cfae1d89084c9ba521_2_32x32.jpg" rel="icon" type="image/png"/>
<link href="../../uploads/default/optimized/1X/49c4c7d93c7e73a9a15013cfae1d89084c9ba521_2_180x180.jpg" rel="apple-touch-icon" type="image/png"/>
<meta content="#ffffff" media="all" name="theme-color"/>
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=yes, viewport-fit=cover" name="viewport"/>
<link href="7998.html" rel="canonical"/>
<link href="../../opensearch.xml" rel="search" title="פייתון בעברית ובחינם Search" type="application/opensearchdescription+xml"/>
<link class="light-scheme" href="../../stylesheets/color_definitions_scheme_2_3_4eaabccdb423ebdd5fde62bb8c929b7912b0ba33.css_%3b%20filename_%3dUTF-8%27%27color_definitions_scheme_2_3_4eaabccdb423ebdd5fde62bb8c929b7912b0ba337939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="desktop_rtl" href="../../stylesheets/desktop_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27desktop_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="checklist_rtl" href="../../stylesheets/checklist_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27checklist_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="discourse-cakeday_rtl" href="../../stylesheets/discourse-cakeday_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27discourse-cakeday_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="discourse-calendar_rtl" href="../../stylesheets/discourse-calendar_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27discourse-calendar_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="discourse-details_rtl" href="../../stylesheets/discourse-details_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27discourse-details_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="discourse-lazy-videos_rtl" href="../../stylesheets/discourse-lazy-videos_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27discourse-lazy-videos_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="discourse-local-dates_rtl" href="../../stylesheets/discourse-local-dates_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27discourse-local-dates_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="discourse-math_rtl" href="../../stylesheets/discourse-math_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27discourse-math_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="discourse-narrative-bot_rtl" href="../../stylesheets/discourse-narrative-bot_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27discourse-narrative-bot_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="discourse-presence_rtl" href="../../stylesheets/discourse-presence_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27discourse-presence_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="discourse-solved_rtl" href="../../stylesheets/discourse-solved_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27discourse-solved_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="discourse-tooltips_rtl" href="../../stylesheets/discourse-tooltips_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27discourse-tooltips_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="docker_manager_rtl" href="../../stylesheets/docker_manager_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27docker_manager_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="poll_rtl" href="../../stylesheets/poll_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27poll_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="discourse-calendar_desktop_rtl" href="../../stylesheets/discourse-calendar_desktop_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27discourse-calendar_desktop_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="poll_desktop_rtl" href="../../stylesheets/poll_desktop_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce.css_%3b%20filename_%3dUTF-8%27%27poll_desktop_rtl_010e86cdc443c6a22fa77214fa3fc0bf2f3542ce7939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link data-target="desktop_theme" data-theme-id="3" data-theme-name="בהיר" href="../../stylesheets/desktop_theme_3_32d9a33a83c213d82cb6da72bd3eb36192a74400.css_%3b%20filename_%3dUTF-8%27%27desktop_theme_3_32d9a33a83c213d82cb6da72bd3eb36192a744007939.css?__ws=forums.pythonic.guru" media="all" rel="stylesheet"/>
<link href="7998.rss" rel="alternate nofollow" title="הזנת RSS של ‚יום 1 שאלה 3 - שאלה כללית על קלט מה-CMD’" type="application/rss+xml"/>
<meta content="פייתון בעברית ובחינם" property="og:site_name"/>
<meta content="website" property="og:type"/>
<meta content="summary" name="twitter:card"/>
<meta content="../../uploads/default/original/1X/49c4c7d93c7e73a9a15013cfae1d89084c9ba521.jpg" name="twitter:image"/>
<meta content="../../uploads/default/original/1X/49c4c7d93c7e73a9a15013cfae1d89084c9ba521.jpg" property="og:image"/>
<meta content="7998.html" property="og:url"/>
<meta content="7998.html" name="twitter:url"/>
<meta content="יום 1 שאלה 3 - שאלה כללית על קלט מה-CMD" property="og:title"/>
<meta content="יום 1 שאלה 3 - שאלה כללית על קלט מה-CMD" name="twitter:title"/>
<meta content="שאלה כללית בכל מה שקשור לכתיבת קוד ופונקציות שמקבלות קלט מהCMD (וקלט משתמש בכללי): האם מצופה מאיתנו להתמודד עם שגיאות קלט? לדוגמא בתרגיל 3: האם מצופה מאיתנו להתמודד עם קלט שקורא לקובץ wit ומעביר אליו קלטים לא רלוונטיים או בסדר לא נכון (לדוגמא: קלט של python path_to_file add אמור עדיין להוסיף את path_to_file לתיקיית staging_area, למרות שהקריאה לadd אמורה להיות לפני הנתיב שאותו אנו אמורים לשמור)? ובכללי-איך מתמודדים עם קלט משתמש שלא התכוונו לקבל?" property="og:description"/>
<meta content="שאלה כללית בכל מה שקשור לכתיבת קוד ופונקציות שמקבלות קלט מהCMD (וקלט משתמש בכללי): האם מצופה מאיתנו להתמודד עם שגיאות קלט? לדוגמא בתרגיל 3: האם מצופה מאיתנו להתמודד עם קלט שקורא לקובץ wit ומעביר אליו קלטים לא רלוונטיים או בסדר לא נכון (לדוגמא: קלט של python path_to_file add אמור עדיין להוסיף את path_to_file לתיקיית staging_area, למרות שהקריאה לadd אמורה להיות לפני הנתיב שאותו אנו אמורים לשמור)? ובכללי-איך מתמודדים עם קלט משתמש שלא התכוונו לקבל?" name="twitter:description"/>
<meta content="הקורס הפתוח" property="og:article:section"/>
<meta content="0088CC" property="og:article:section:color"/>
<meta content="שבוע 10" property="og:article:section"/>
<meta content="0088CC" property="og:article:section:color"/>
<meta content="wit-add" property="og:article:tag"/>
<meta name="twitter:label1" value="זמן קריאה"/>
<meta name="twitter:data1" value="1 mins 🕑"/>
<meta name="twitter:label2" value="לייקים"/>
<meta name="twitter:data2" value="2 ❤"/>
<meta content="2020-08-28T14:52:13+00:00" property="article:published_time"/>
<meta content="true" property="og:ignore_canonical"/>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"QAPage","name":"יום 1 שאלה 3 - שאלה כללית על קלט מה-CMD","mainEntity":{"@type":"Question","name":"יום 1 שאלה 3 - שאלה כללית על קלט מה-CMD","text":"שאלה כללית בכל מה שקשור לכתיבת קוד ופונקציות שמקבלות קלט מהCMD (וקלט משתמש בכללי):\n\nהאם מצופה מאיתנו להתמודד עם שגיאות קלט?\n\nלדוגמא בתרגיל 3:\n\nהאם מצופה מאיתנו להתמודד עם קלט שקורא לקובץ wit ומעביר אליו קלטים לא רלוונטיים או בסדר לא נכון (לדוגמא: קלט של python path_to_file add אמור עדיין להוסיף את p…","upvoteCount":0,"answerCount":0,"dateCreated":"2020-08-28T14:52:13.459Z","author":{"@type":"Person","name":"אלדד ליפשיץ"}}}</script>
</head>
<body class="">
<header class="d-header">
<div class="wrap content">
<div class="title">
<a data-auto-route="true" href="/index.html">
<img alt="פייתון בעברית ובחינם" class="logo-big" id="site-logo" src="/uploads/default/original/1X/3c7e2ccc77e214fb4e38daa421f1b8878a5677f9.jpg"/>
</a>
<div class="before-header-panel-outlet"></div>
<div class="panel" role="navigation">
<span class="header-buttons"></span>
<ul class="icons d-header-icons">
<!-- More to come? -->
</ul>
</div>
</div>
</div></header>
<div class="wrap" id="main-outlet" role="main">
<div id="topic-title">
<h1>
<a href="7998.html">יום 1 שאלה 3 - שאלה כללית על קלט מה-CMD</a>
</h1>
<div class="topic-category" itemscope="" itemtype="http://schema.org/BreadcrumbList">
<span itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
<a class="badge-wrapper bullet" href="../../c/old/20.html" itemprop="item">
<span class="badge-category-bg" style="background-color: #0088CC"></span>
<span class="badge-category clear-badge">
<span class="category-name" itemprop="name">הקורס הפתוח</span>
</span>
</a>
<meta content="1" itemprop="position"/>
</span>
<span itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
<a class="badge-wrapper bullet" href="../../c/old/week-10/21.html" itemprop="item">
<span class="badge-category-bg" style="background-color: #0088CC"></span>
<span class="badge-category clear-badge">
<span class="category-name" itemprop="name">שבוע 10</span>
</span>
</a>
<meta content="2" itemprop="position"/>
</span>
</div>
<div class="topic-category">
<div class="discourse-tags list-tags"><span class="tags-string">תגיות: </span>
<a class="discourse-tag" href="../../tag/wit-add.html" rel="tag">wit-add</a>
</div>
</div>
</div>
<div itemscope="" itemtype="http://schema.org/DiscussionForumPosting">
<meta content="יום 1 שאלה 3 - שאלה כללית על קלט מה-CMD" itemprop="headline"/>
<meta content="שבוע 10" itemprop="articleSection"/>
<meta content="wit-add" itemprop="keywords"/>
<div itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
<meta content="פייתון בעברית ובחינם" itemprop="name"/>
<div itemprop="logo" itemscope="" itemtype="http://schema.org/ImageObject">
<meta content="../../uploads/default/original/1X/3c7e2ccc77e214fb4e38daa421f1b8878a5677f9.jpg" itemprop="url"/>
</div>
</div>
<div class="topic-body crawler-post" id="post_1">
<div class="crawler-post-meta">
<span class="creator" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">eldad.el1234</span>
</span>
<link href="7998.html" itemprop="mainEntityOfPage"/>
<span class="crawler-post-infos">
<time class="post-time" datetime="2020-08-28T14:52:13Z" itemprop="datePublished">
28 באוגוסט, 2020, 2:52pm
</time>
<meta content="2022-05-25T23:17:24Z" itemprop="dateModified"/>
</span>
</div>
<div class="post" itemprop="articleBody">
<p>שאלה כללית בכל מה שקשור לכתיבת קוד ופונקציות שמקבלות קלט מהCMD (וקלט משתמש בכללי):<br/>
האם מצופה מאיתנו להתמודד עם שגיאות קלט?<br/>
לדוגמא בתרגיל 3:<br/>
האם מצופה מאיתנו להתמודד עם קלט שקורא לקובץ wit ומעביר אליו קלטים לא רלוונטיים או בסדר לא נכון (לדוגמא: קלט של python path_to_file add אמור עדיין להוסיף את path_to_file לתיקיית staging_area, למרות שהקריאה לadd אמורה להיות לפני הנתיב שאותו אנו אמורים לשמור)?</p>
<p>ובכללי-איך מתמודדים עם קלט משתמש שלא התכוונו לקבל?</p>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/LikeAction" itemprop="interactionType"/>
<meta content="0" itemprop="userInteractionCount"/>
<span class="post-likes"></span>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/CommentAction" itemprop="interactionType"/>
<meta content="1" itemprop="userInteractionCount"/>
</div>
</div>
<div class="topic-body crawler-post" id="post_2" itemprop="comment" itemscope="" itemtype="http://schema.org/Comment">
<div class="crawler-post-meta">
<span class="creator" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">ron.huberfeld</span>
</span>
<link href="7998.html" itemprop="mainEntityOfPage"/>
<span class="crawler-post-infos">
<time class="post-time" datetime="2020-08-28T15:27:24Z" itemprop="datePublished">
28 באוגוסט, 2020, 3:27pm
</time>
<meta content="2020-08-28T15:27:24Z" itemprop="dateModified"/>
</span>
</div>
<div class="post" itemprop="text">
<p>עוקב…</p>
<p>אני מממש את אותה התנהגות כמו git:</p>
<pre><code class>PS C:\Users\Ron\Documents\Python Course\week10\day1> git x add
git: 'x' is not a git command. See 'git --help'.
</code></pre>
<p>אבל מחכה לתשובה רשמית.</p>
<p>שאלה נוספת - בתרגיל add יכול לקבל פרמטר <strong>אחד</strong>. אני רוצה לוודא שזאת הדרישה למרות שgit יכול לקבל אחד או יותר פרמטרים?</p>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/LikeAction" itemprop="interactionType"/>
<meta content="0" itemprop="userInteractionCount"/>
<span class="post-likes"></span>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/CommentAction" itemprop="interactionType"/>
<meta content="2" itemprop="userInteractionCount"/>
</div>
</div>
<div class="topic-body crawler-post" id="post_3" itemprop="comment" itemscope="" itemtype="http://schema.org/Comment">
<div class="crawler-post-meta">
<span class="creator" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">eldad.el1234</span>
</span>
<link href="7998.html" itemprop="mainEntityOfPage"/>
<span class="crawler-post-infos">
<time class="post-time" datetime="2020-08-28T15:29:27Z" itemprop="datePublished">
28 באוגוסט, 2020, 3:29pm
</time>
<meta content="2020-08-28T15:29:27Z" itemprop="dateModified"/>
</span>
</div>
<div class="post" itemprop="text">
<p>אשמח אם תוכל להרחיב רגע מה הקשר לGIT בתרגיל הנוכחי</p>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/LikeAction" itemprop="interactionType"/>
<meta content="0" itemprop="userInteractionCount"/>
<span class="post-likes"></span>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/CommentAction" itemprop="interactionType"/>
<meta content="0" itemprop="userInteractionCount"/>
</div>
</div>
<div class="topic-body crawler-post" id="post_4" itemprop="comment" itemscope="" itemtype="http://schema.org/Comment">
<div class="crawler-post-meta">
<span class="creator" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">ron.huberfeld</span>
</span>
<link href="7998.html" itemprop="mainEntityOfPage"/>
<span class="crawler-post-infos">
<time class="post-time" datetime="2020-08-28T15:35:37Z" itemprop="datePublished">
28 באוגוסט, 2020, 3:35pm
</time>
<meta content="2020-08-28T15:35:37Z" itemprop="dateModified"/>
</span>
</div>
<div class="post" itemprop="text">
<p>אתה יכול לקרוא על git - התנהגות “טיפה” דומה… <img alt=":slightly_smiling_face:" class="emoji" src="../../images/emoji/twitter/slightly_smiling_facec164.png?v=9" title=":slightly_smiling_face:"/></p>
<pre><code class>PS C:\Users\Ron\Documents\Python Course\week10\day1> git
usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
These are common Git commands used in various situations:
start a working area (see also: git help tutorial)
clone Clone a repository into a new directory
init Create an empty Git repository or reinitialize an existing one
work on the current change (see also: git help everyday)
add Add file contents to the index
</code></pre>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/LikeAction" itemprop="interactionType"/>
<meta content="2" itemprop="userInteractionCount"/>
<span class="post-likes">2 לייקים</span>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/CommentAction" itemprop="interactionType"/>
<meta content="0" itemprop="userInteractionCount"/>
</div>
</div>
<div class="topic-body crawler-post" id="post_5" itemprop="comment" itemscope="" itemtype="http://schema.org/Comment">
<div class="crawler-post-meta">
<span class="creator" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">eyalmerav</span>
</span>
<link href="7998.html" itemprop="mainEntityOfPage"/>
<span class="crawler-post-infos">
<time class="post-time" datetime="2020-08-28T18:15:33Z" itemprop="datePublished">
28 באוגוסט, 2020, 6:15pm
</time>
<meta content="2020-08-28T18:15:33Z" itemprop="dateModified"/>
</span>
</div>
<div class="post" itemprop="text">
<p>מוסיף שאלה באותו נושא:<br/>
תרגיל ה init (או כל פקודה אחרת)<br/>
במידה והמשתמש לא נתן פקודה אלא רק הריץ את הקובץ<br/>
התוכנית קורסת… האם זה תקין?</p>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/LikeAction" itemprop="interactionType"/>
<meta content="0" itemprop="userInteractionCount"/>
<span class="post-likes"></span>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/CommentAction" itemprop="interactionType"/>
<meta content="1" itemprop="userInteractionCount"/>
</div>
</div>
<div class="topic-body crawler-post" id="post_6" itemprop="comment" itemscope="" itemtype="http://schema.org/Comment">
<div class="crawler-post-meta">
<span class="creator" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">Yam</span>
</span>
<link href="7998.html" itemprop="mainEntityOfPage"/>
<span class="crawler-post-infos">
<time class="post-time" datetime="2020-08-28T23:36:17Z" itemprop="datePublished">
28 באוגוסט, 2020, 11:36pm
</time>
<meta content="2020-08-28T23:36:17Z" itemprop="dateModified"/>
</span>
</div>
<div class="post" itemprop="text">
<aside class="quote no-group" data-post="1" data-topic="7998" data-username="eldad.el1234">
<div class="title">
<div class="quote-controls"></div>
<img alt="" class="avatar" height="20" src="../../user_avatar/forums.pythonic.guru/eldad.el1234/40/4518_2.png" width="20"/> eldad.el1234:</div>
<blockquote>
<p>האם מצופה מאיתנו להתמודד עם שגיאות קלט?</p>
</blockquote>
</aside>
<p>לא, ועדיין, זה יהיה נחמד.</p>
<aside class="quote no-group" data-post="1" data-topic="7998" data-username="eldad.el1234">
<div class="title">
<div class="quote-controls"></div>
<img alt="" class="avatar" height="20" src="../../user_avatar/forums.pythonic.guru/eldad.el1234/40/4518_2.png" width="20"/> eldad.el1234:</div>
<blockquote>
<p>ובכללי-איך מתמודדים עם קלט משתמש שלא התכוונו לקבל?</p>
</blockquote>
</aside>
<p>תנאים <img alt=":slight_smile:" class="emoji" src="../../images/emoji/twitter/slight_smilec164.png?v=9" title=":slight_smile:"/> כמו שאתה מתמודד בכל קוד שכתבת עד כה.</p>
<aside class="quote no-group" data-post="2" data-topic="7998" data-username="ron.huberfeld">
<div class="title">
<div class="quote-controls"></div>
<img alt="" class="avatar" height="20" src="../../user_avatar/forums.pythonic.guru/ron.huberfeld/40/267_2.jpg" width="20"/> ron.huberfeld:</div>
<blockquote>
<p>אני מממש את אותה התנהגות כמו git:</p>
</blockquote>
</aside>
<p>זה אחלה.</p>
<aside class="quote no-group" data-post="2" data-topic="7998" data-username="ron.huberfeld">
<div class="title">
<div class="quote-controls"></div>
<img alt="" class="avatar" height="20" src="../../user_avatar/forums.pythonic.guru/ron.huberfeld/40/267_2.jpg" width="20"/> ron.huberfeld:</div>
<blockquote>
<p>שאלה נוספת - בתרגיל add יכול לקבל פרמטר <strong>אחד</strong> . אני רוצה לוודא שזאת הדרישה למרות שgit יכול לקבל אחד או יותר פרמטרים?</p>
</blockquote>
</aside>
<p>הדרישה היא 1, אבל אם בא לך אתה יכול לממש יותר.<br/>
התרגיל הזה הוא אחלה playground למי שרוצה להסחף ולממש אקסטרה.</p>
<aside class="quote no-group" data-post="5" data-topic="7998" data-username="eyalmerav">
<div class="title">
<div class="quote-controls"></div>
<img alt="" class="avatar" height="20" src="../../letter_avatar_proxy/v4/letter/e/e8c25b/40.png" width="20"/> eyalmerav:</div>
<blockquote>
<p>התוכנית קורסת… האם זה תקין?</p>
</blockquote>
</aside>
<p>לא, התוכנה לא אמורה לקרוס. כתוב ל־log משהו שיהיה נעים למשתמש.</p>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/LikeAction" itemprop="interactionType"/>
<meta content="0" itemprop="userInteractionCount"/>
<span class="post-likes"></span>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/CommentAction" itemprop="interactionType"/>
<meta content="0" itemprop="userInteractionCount"/>
</div>
</div>
<div class="topic-body crawler-post" id="post_7" itemprop="comment" itemscope="" itemtype="http://schema.org/Comment">
<div class="crawler-post-meta">
<span class="creator" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">Yam</span>
נושא זה פוצל ב־
</span>
<link href="7998.html" itemprop="mainEntityOfPage"/>
<span class="crawler-post-infos">
<time class="post-time" datetime="2020-08-29T15:00:55Z" itemprop="datePublished">
29 באוגוסט, 2020, 3:00pm
</time>
<meta content="2020-08-29T15:00:55Z" itemprop="dateModified"/>
</span>
</div>
<div class="post" itemprop="text">
<p>אחד הפוסטים פוצל לנושא חדש: <a href="../topic/8007.html">הגדרת קבועים בתחילת פונקציות</a></p>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/LikeAction" itemprop="interactionType"/>
<meta content="0" itemprop="userInteractionCount"/>
<span class="post-likes"></span>
</div>
<div itemprop="interactionStatistic" itemscope="" itemtype="http://schema.org/InteractionCounter">
<meta content="http://schema.org/CommentAction" itemprop="interactionType"/>
<meta content="0" itemprop="userInteractionCount"/>
</div>
</div>
</div>
</div>
<footer class="container wrap">
</footer>
<span class_="highlight-scripts"><link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/default.min.css" rel="stylesheet"/><script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/languages/go.min.js"></script></span><span class_="highlight-scripts"><link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/default.min.css" rel="stylesheet"/><script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/languages/go.min.js"></script><script>hljs.highlightAll();</script></span></body>
<!-- Mirrored from forums.pythonic.guru/t/1-3-cmd/7998 by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 17 Sep 2023 03:30:40 GMT -->
</html>