background top icon
background center wave icon
background filled rhombus icon
background two lines icon
background stroke rhombus icon

Download "02 Часть 3. Утилита pyneng для тестирования и сдачи заданий"

input logo icon
Table of contents
|

Table of contents

0:00
Скрипт pyneng
4:31
Установка pyneng
6:20
Настройка pyneng
8:10
Оповещение про проверку заданий, просмотр проверки
18:29
Пример выполнения заданий, проверки pyneng, просмотр варианта решения и сдача на проверку
33:05
Повторение выполнения заданий на Windows в Cmder
Video tags
|

Video tags

02
часть
утилита
pyneng
тестирования
сдачи
заданий
Subtitles
|

Subtitles

subtitles menu arrow
  • ruRussian
Download
00:00:08
script
00:00:09
called poyling who transferred
00:00:13
from previous courses,
00:00:15
it was called drinking with an additional test, changed the name
00:00:19
because there is a framework that will provide
00:00:23
this script for writing tests, what will it do, well, first,
00:00:27
everything regarding its configuration, take
00:00:28
section assignments is located this a script
00:00:31
that will test the task, that
00:00:33
is, check for correct
00:00:34
execution, in fact, what is written in the rank,
00:00:37
output like this, output in a
00:00:39
different way, tests will say that I
00:00:41
haven’t set foot here second, show possible
00:00:44
solutions, that is, if the test
00:00:46
passed, if you completed the task correctly, this
00:00:49
script can show you have a
00:00:51
solution option, just a solution option is not the answer
00:00:53
because in Crimea programming is a
00:00:56
conditional problem, you can say
00:00:58
that the
00:00:59
same problem can be solved by a lot of
00:01:01
options, yes, that’s why there is no
00:01:02
ideally correct option, there are
00:01:04
just solution options, your goal is to solve
00:01:07
at least how it works super I’m showing
00:01:10
options that at the level at
00:01:12
which we have studied at this moment the date for
00:01:14
this section of tasks
00:01:15
is, let’s say, those topics that we studied,
00:01:19
but maybe there are some things that have
00:01:21
not yet settled down for you, I use the date
00:01:23
accordingly, you will look at how
00:01:25
else you could do this and the third thing
00:01:28
this script can do is
00:01:30
submit the task for verification, submitting the
00:01:33
task for verification is
00:01:34
that this script does git t' git commit
00:01:37
git push and then goes to git hop and writes a
00:01:41
comment, that is, not in texts on the
00:01:44
comedy comments you don’t
00:01:46
have to do anything, he does it all, the nuance itself is that
00:01:48
I need some kind of notification
00:01:50
that you did the task,
00:01:51
the comment does not fit this because
00:01:53
if you look at my guide, let’s say
00:01:55
that people do tasks by committee not
00:02:00
because you did them because you
00:02:02
did this part of the house and want to complete the work,
00:02:04
that is, for me, the comments
00:02:06
even if it says such melancholy that
00:02:08
ran but
00:02:09
it’s not about anything, that is, I can’t follow the
00:02:12
comets and decide from the comments myself
00:02:14
when you did the task and when not even
00:02:15
if you wrote that it was done, it does
00:02:17
n’t mean anything, so we have a
00:02:19
separate process on how to submit a task for
00:02:21
verification, since this script does everything
00:02:23
itself, you practically don’t have to do anything with
00:02:25
it, they just explain a little
00:02:27
how it’s done, what happens, the script
00:02:31
writes comments in the most which
00:02:32
says blah blah blah the task is done something
00:02:34
like this then he writes himself you just
00:02:37
speak in a little different way you call with
00:02:40
different flags the scriptum this one
00:02:42
is described now I’ll show you how to call it
00:02:44
I end up with messages like this in
00:02:47
which the task is written like this is done this is a
00:02:49
script in I can see the text and I can
00:02:52
look at them, check them, and so on and
00:02:54
so forth why does it show a message
00:02:56
because when I check the tasks you
00:02:59
will receive exactly the same message on the
00:03:01
e-mail that you indicated on 1 x so
00:03:03
it is important that it be the e-mail that
00:03:05
you look at least occasionally you
00:03:08
will receive the same letter where it says
00:03:10
look at git hop and here you can
00:03:14
click then this look at the
00:03:16
pickup on the fireplace and see that I
00:03:19
checked the task there as if I
00:03:21
wrote something from the West
00:03:22
but here we know about this solution a lot of
00:03:24
text, that is, for you, notifications about the fact
00:03:27
that the task has been verified will come to the
00:03:29
idea of ​​a notification in the mail in the same form,
00:03:31
only it will be written that the verified
00:03:33
task is such and such,
00:03:34
forget to salt the answer options, this
00:03:37
further knew that this is all I will show this is the whole
00:03:40
thing and the 1st floor script so essentially
00:03:41
the team is knocked down, he takes it upon himself why
00:03:45
because when we give them a corner you
00:03:47
tell him to test task 41 he
00:03:50
tests it if it passed the tests you
00:03:53
say pass it now he knows that the file
00:03:56
is called like this then so there is the mask in the
00:03:58
lower four handwritings 41 and he knows
00:04:00
that this particular file in the sky guide is
00:04:02
from because this comment and make it
00:04:05
all wrong with help yourself,
00:04:07
therefore, in principle, some of the things seem to
00:04:09
disappear in terms of somewhere the
00:04:12
work process will be in general as if this is the
00:04:15
only thing that I both I’ll
00:04:17
use yes, well, tomorrow we’ll
00:04:18
just talk about editors, that’s what
00:04:20
you’re not, I’ll do this more often, that when I’m telling you, I’ll
00:04:22
briefly repeat it on another editor, and but
00:04:24
I’ll bring sushi, I’ll repeat it, that is, what
00:04:27
will your work look like 1
00:04:29
well, there’s your repository which was
00:04:31
cloned here you have some
00:04:33
files, this frame script itself
00:04:36
says this guy, this is what he will understand
00:04:37
.
00:04:39
if you have my virtual machine, I installed it there
00:04:41
if you don’t have my virtual machine, it’s
00:04:44
[ __ ] up to install again,
00:04:46
nothing to remember, it’s not necessary, it’s
00:04:49
all written in the instructions, that is,
00:04:51
once you do it, forget it, you have to install it, it’s
00:04:54
installed using beep-beep, it’s a
00:04:56
special system To install
00:04:58
the modules in the power supply, we brought it tomorrow, I will
00:05:00
talk in more detail,
00:05:01
this script itself is installed in time with the
00:05:04
iPad.
00:05:06
why is there a dot without a name in
00:05:09
this exact place in the root or the background where
00:05:10
the file is located
00:05:11
because there are two special files
00:05:12
here this guy is good and come here
00:05:17
Pavel describes how to install the module
00:05:20
under what name is also available what to run in it
00:05:22
and so on we don’t Now we do
00:05:24
n’t touch it at all,
00:05:26
we just say install the magic. the main thing in
00:05:28
this place is that again
00:05:31
the instructions are written, you don’t have to think, and after
00:05:33
installing Putin’s dependencies, he went to
00:05:35
rustle, everything was done,
00:05:38
that is, the script got warm, and what’s
00:05:41
good now is that you don’t need to run it,
00:05:43
obviously from somewhere special,
00:05:46
indicate the path with your hands you just anywhere
00:05:48
now say a word on them like a ping and
00:05:50
you have it available now you run this program
00:05:53
if you want if there is a
00:05:56
limitation yes because well yes it is all
00:05:57
designed for testing tasks
00:05:59
for submitting an assignment and if you execute
00:06:02
this command I will go without the wrong one
00:06:05
directory, yes, she just says that
00:06:06
I’m sorry, but the creaking should only be caused
00:06:08
in these directories, that is, what does this
00:06:10
mean after installing some kind of script,
00:06:12
you will just need to
00:06:14
call it in the right place, but it is more or less
00:06:17
understandable here swearing, that is, you will not be
00:06:18
mistaken
00:06:19
now with this script there will be a stage
00:06:23
when he will have to go to git x
00:06:25
literally on a graphical guide hold'em with this
00:06:28
Dunin's
00:06:32
books secret push just go straight to the
00:06:35
hop site and on the site on github
00:06:37
do some actions so that
00:06:40
he can do it he needs access to the view
00:06:43
hop this will be done using a token
00:06:45
separately, that is, so that this world does not
00:06:47
write down this password
00:06:49
there in a file somewhere, we will take it, it would be necessary to
00:06:51
generate a token, this is all
00:06:53
written down here too, installed then
00:06:56
generate a token that looks like hop, this is a token of
00:06:59
some kind, just right, just give the general work a
00:07:02
history this token will save
00:07:04
dependencies on the operating system
00:07:06
either in bashir c if it’s linux yours
00:07:10
accordingly friend any if you
00:07:12
don’t have yours if you have a mac here at
00:07:15
least for donation as far as I know there are two
00:07:17
standard options or yours would go
00:07:19
take the shield then you or at home nearby
00:07:23
write it is written where to write
00:07:24
if windows is stupid where to save it like that,
00:07:28
that is, the token is saved for changes
00:07:29
in the environment, it’s simply written down how to
00:07:31
save it for different ones, it’s also
00:07:32
one-time,
00:07:33
that is, now there’s a lot of
00:07:36
information today, there’s a lot to do, but
00:07:38
this is one time, so then everything will be
00:07:40
enough just after you’ve
00:07:42
done dokken and why do we
00:07:44
need it just so that this utility
00:07:47
can then go and I’m sorry but where did it
00:07:49
open and write this comment that the
00:07:52
task has been checked such that look at the
00:07:54
answer and blah blah blah how to view the
00:07:56
tasks that is in order to write
00:08:00
comments on the self-killed hobby they are in
00:08:01
Gita to do something this utility needs a
00:08:03
token it is configured once it is
00:08:06
forgotten and then it works now
00:08:10
as soon as I write this message here it
00:08:12
will be written it comes to your
00:08:14
email with this in the form only with with this
00:08:16
text, be sure to read the text here
00:08:18
why because it says here that how
00:08:20
to view the tasks have been checked here are new
00:08:22
nuances that were not at all understood in the
00:08:25
repositories
00:08:27
in Git except that there may just be
00:08:30
different file changes, there
00:08:33
may be several parallel
00:08:35
realities, several branches, that is,
00:08:38
usually well, in usually projects in the world in terms of
00:08:41
programming, they are used,
00:08:42
for example, you had a version of the project for
00:08:45
one version of python, now you want to
00:08:47
make an update, do it for a new
00:08:49
version of python, you make a separate branch
00:08:51
where all the files are copied,
00:08:53
initially they went the same from
00:08:55
some point taken from history the
00:08:57
main branch, yes, we remain on the master
00:08:59
and in this other parallel branch, whoever
00:09:03
is called whatever we want,
00:09:04
we make some changes and smartly, and
00:09:08
when we rolled out
00:09:09
this project of ours on the new version of Python,
00:09:11
everything definitely works, and so on, as a rule,
00:09:12
these branches are then merged with main ones, that
00:09:16
is, branches are often needed to
00:09:18
do something temporarily, while the main
00:09:20
project can live doing some fingers,
00:09:21
change something there, so on, and then
00:09:24
we will merge again some version in
00:09:27
our case, there will be 2 branches and we We don’t
00:09:30
leak them under any circumstances, not for nonsense,
00:09:32
there’s no gender request and there’s no need to
00:09:34
leak anything anywhere, just someone who knows a lot,
00:09:36
hold back, that is, don’t need anything, nothing
00:09:39
happens, we have two branches here, we are
00:09:41
yours, where you work,
00:09:42
this is a jump, this is where the work is, I’m the problem the
00:09:45
fact that you and I work in the same
00:09:47
repository so that you and I don’t change the
00:09:49
same files and there aren’t constant
00:09:51
conflicts, we live in two parallel
00:09:54
realities, yes, you are the main branches, I’m kitash again, check, I’m
00:09:58
tasker branches, what am I doing, what will it
00:10:00
look like, and here’s commits of days I write
00:10:04
this stone I uploaded the solution of the
00:10:05
author's branch also something that is the
00:10:08
solution you solved the task I
00:10:10
copied the solution to myself
00:10:12
I check it in your same
00:10:14
repository but in parallel reality
00:10:16
I check the task and then I say the
00:10:19
task has been checked blah blah
00:10:20
changes and this is the message
00:10:22
it comes to you but my title check
00:10:24
lives in a separate branch and you can
00:10:27
look at it through gehapt here is
00:10:29
a link on how to look at git hop and you
00:10:31
can look at it on the command line in the
00:10:34
command line a little bit
00:10:37
more dangerous conditionally in terms of
00:10:38
forgetting to exit tass check branches, that is,
00:10:41
here it is written how to go to another
00:10:43
branch, how we can do something, how
00:10:45
to go back, the problem is that everyone
00:10:48
then forgets to go back,
00:10:50
but it’s okay if you
00:10:52
left the tass check branches for leaving and did something there,
00:10:55
write to me let's figure it out, it's okay, I'll
00:10:58
definitely figure it out even if you did something there and
00:10:59
then copied the main thing, if
00:11:02
you need help copying files from the
00:11:03
wizard, write to the main with us,
00:11:06
I'll explain if it comes out hop than up about
00:11:12
convenient because since you
00:11:14
have your own separately stage now to look at the
00:11:16
solution options when I check the
00:11:18
task from me, as a rule, there is not a lot of
00:11:22
code, that is, because the solution option for you
00:11:24
is a separate operation, it’s difficult to
00:11:26
show everything and therefore you will be like, this is what
00:11:29
you wrote the code on the left, this is what I
00:11:31
wrote, that is, I corrected it here
00:11:34
some kind of nonsense, yes, that is, there were no spaces here, there were
00:11:36
gaps here there
00:11:38
were spaces here there is no space, that
00:11:40
is, here there are two views with
00:11:42
Defo univ and this is from slabs, this is this or
00:11:45
fight and this is how it is shown, you can
00:11:48
be convenient, or the other is a little more
00:11:51
visible in all sorts of spaces and all sorts of
00:11:52
ore from slabs you will see on the left the code one
00:11:55
on the right the other it’s not like all
00:11:59
the edits like spaces and quotation marks dots
00:12:03
something like that, that is, when it doesn’t concern
00:12:05
syntax errors and it’s all just I’m
00:12:07
trying to show you how in python it’s
00:12:10
customary to do this, it doesn’t mean that you are
00:12:12
wrong, that the code doesn’t work,
00:12:16
but in python there is a lot of emphasis on
00:12:18
how to write beautiful codes correctly,
00:12:20
so I will constantly edit such things,
00:12:22
it doesn’t mean that in the next
00:12:24
task I expect you to write all the
00:12:26
correct ones if you didn’t put a space where you need it,
00:12:28
that’s so bad, it’s all just that over the course of
00:12:32
three months the course will gradually be remembered,
00:12:34
but my business is small, I would correct it,
00:12:37
everything except this, of course there will be some corrections
00:12:40
on the case, yes, that is, for example, you
00:12:42
wrote something in Python it’s usually
00:12:44
used differently, but then I’m
00:12:46
not just writing about it, I’m writing that it’s usually
00:12:48
written like this, so you do
00:12:51
n’t even have to click on this little thing until it
00:12:54
arrives in your email
00:12:56
in this form and look at it on git
00:12:59
hop, otherwise, with some It’s happened to
00:13:02
us that I’ve been checking assignments for a month now,
00:13:05
no one only notices the
00:13:07
check, they don’t look at them, that is, in this
00:13:11
check, I’m still slowly correcting all these things, I’m
00:13:13
correcting them and they’re just
00:13:16
conditionally remembered for 40 tasks,
00:13:19
so you definitely need to watch
00:13:21
that I’m telling you I corrected what I wrote, you can
00:13:23
do the same type of thing differently, yes,
00:13:26
like if you wrote it like this, you should do it like this, well,
00:13:28
I’ll write it a couple of times with the text to what
00:13:31
was necessary, then I’ll edit it silently,
00:13:33
well, that is, I think that you just
00:13:36
forgot, but you know what I'm talking about it,
00:13:38
I changed it, I just won't always
00:13:41
copy the same text, and there are extra
00:13:42
spaces somewhere, that's the only
00:13:44
murky moment, some operating
00:13:47
systems put a line break at the end of the last line,
00:13:49
some don't, so
00:13:51
if you see such a grid, it's nothing
00:13:54
bad, it's just yours The operating system or
00:13:57
your editor does not put a
00:13:59
line feed in the last line, but mine automatically
00:14:01
puts it, that is, when I just opened
00:14:03
your file to check, my editor
00:14:05
had already put a line feed there, it
00:14:08
looks scary, but no, if
00:14:09
you move it, it says there was simply no
00:14:11
line feed, then it appeared there is, it doesn’t
00:14:13
mean anything at all, it’s just a
00:14:15
property of different editors, it can be
00:14:18
ignored, but it will appear in
00:14:19
which we see me all the time, it delivers the
00:14:21
growth of the river, otherwise yes, you will have
00:14:23
such that some line has been moved that it
00:14:25
was here I am and in some places here I’m
00:14:27
no longer writing this without text because they
00:14:29
start this rule this is 20 times he already
00:14:31
knows what it’s about I just don’t write every time
00:14:33
that it was necessary so basically
00:14:36
all sorts of little things sometimes when the tasks become more complex
00:14:39
now these are just
00:14:41
very simple examples even at the beginning, I will
00:14:44
redo the codes directly, saying something
00:14:46
could be done like this, well, as if from
00:14:48
everyone there, conditionally, these seven shavings
00:14:50
could be turned into these two,
00:14:53
so sometimes it won’t be about the fact that
00:14:55
you have a bad code, just something in this
00:14:57
case in Python and in general you can still
00:14:58
take it like this then I will be
00:14:59
beautiful and that’s why
00:15:03
pumping like this will always be in my opinion
00:15:05
very convenient to look at get
00:15:07
high
00:15:08
so I show how to look at git
00:15:10
grab how to look at the command line
00:15:13
but for me it seems angel hop is most convenient
00:15:15
here everything is highlighted what has changed
00:15:17
that is, this change between your
00:15:19
solution this is what has clearly corrected why you may
00:15:22
need to look at all this on the
00:15:25
command line
00:15:26
if you want to run my example code
00:15:28
they just wanted to see
00:15:31
what the difference is yes if it is small from
00:15:32
things okay, we've looked at this enough,
00:15:35
you want to run the code and play with it somehow
00:15:37
then yes then water on the
00:15:39
command line and this one here
00:15:41
is written like this in absolutely
00:15:43
every task check there will be these links,
00:15:45
that is, well, it's hard to miss them if
00:15:49
you read the first couple once the message you
00:15:51
will just know that they always come to you,
00:15:53
that is, the last message,
00:15:55
check the buildings, open there without
00:15:56
a link, look at the check,
00:16:02
these two branches and what there are compartments
00:16:05
main now at the beginning of summer, branches are drawn there for melancholy, there are
00:16:07
no books as soon as the first
00:16:10
task I’ll check it will appear in Tomato and,
00:16:12
in principle, if you look at all the changes and all the
00:16:15
checks like this, you
00:16:17
will never need to go into it
00:16:19
at all, that is, you just look at the
00:16:21
check there all the time, you work in your
00:16:23
master branch,
00:16:27
that is, it lives specifically in parallel
00:16:31
so that we they didn’t conflict with you with
00:16:33
changes in the same file, that
00:16:35
is, that’s why we have everything completely
00:16:36
parallel, it’s clear that when
00:16:39
you look at the comments so that you don’t get
00:16:40
confused, what are these words like
00:16:44
comedies, watch it in graphics, and
00:16:51
the same The most important thing is that the blog is looking at the data guide
00:16:53
x, you can look at it here,
00:16:56
take it from the comet will always
00:16:57
upload the solution, that is, this is the stage
00:17:00
when I copy your solution from
00:17:03
your thread, I need it here, do it here, I
00:17:06
made detailed comments so that the div
00:17:08
here is just not easy a copy of your
00:17:11
solution and the really uninteresting others,
00:17:13
but only what I corrected, so
00:17:16
it’s simple and probably there will be a ton of these comments
00:17:19
every time I check
00:17:21
the building, first to 1 deuce mid, then
00:17:23
checking and showing it to me, of course,
00:17:26
too, everything is done there with scripts, that
00:17:28
is you have these messages so it
00:17:30
will always be the same that everything is hidden
00:17:33
now what it all really looks like, that
00:17:36
is, they did the basic setup of flexible information
00:17:39
like everything works, screened,
00:17:41
cloned then they took this utility
00:17:45
for no yes, that is, they also installed its
00:17:50
tokens, this is a one-time use, all once here
00:17:53
here they did it stupidly on different operating systems if
00:17:55
they did it they forgot everything now how it
00:17:58
will all really work now all the
00:18:00
previous ones despite the fact that I have
00:18:03
already said this for more than two hours almost
00:18:05
all once so toe not everything is
00:18:08
really scary yes so if you suddenly
00:18:10
now feel that you already out
00:18:12
because they came to teach the course from scratch you have
00:18:14
already downloaded some nonsense and don’t be
00:18:16
alarmed it’s really a monkey
00:18:19
set up the instructions once and forget and
00:18:21
then calmly work on your own now
00:18:25
how to work the building first you have
00:18:28
a repository there is a co2
00:18:30
site in it all tasks are
00:18:35
mandatory without exceptions without any
00:18:38
imagination all tasks are solved using
00:18:40
prepared files, that is, what does it
00:18:43
mean for you after there, let’s say a week,
00:18:46
then after the lecture it will be written to make a
00:18:48
building, this is what it looks like, it
00:18:51
will be written in the post after the course of lectures
00:18:53
and here it is written to do the task from
00:18:54
whale
00:18:57
41 42 these sections are
00:19:00
here for us union
00:19:04
yes that is, if 41 itanium 04
00:19:10
now we do the task we open accepted by the
00:19:14
method there with the editor you are
00:19:18
using we open it we can
00:19:19
start making the buildings we have done the task
00:19:23
yes let’s say with the action of just a print
00:19:25
do the next you will be at the stage of
00:19:28
running the code and then
00:19:30
we haven’t said anything at all yet, we’ll talk about it
00:19:32
until tomorrow, but for now, yes, and the
00:19:36
magic command was launched even before
00:19:38
it came out, now it looks like you
00:19:41
looked, like everything was
00:19:43
done correctly, now you have to check everything is
00:19:47
done by the panic utility, that is, delivery
00:19:49
check and for now show the answer, that is, you
00:19:54
need topaz to remember one word and there
00:19:57
is help here, more or less clear on
00:20:00
how to use it and it is written how to
00:20:02
call up the
00:20:03
options, there are very few of them, that is, everything will not be so
00:20:05
scary, the given one is written here,
00:20:06
you can call it without arguments,
00:20:08
it’s just testing all the tasks You can
00:20:11
call up the numbers of months with your hands using letters
00:20:13
and so on to indicate which task
00:20:15
to check, but if the task is 41 so that
00:20:19
I can write the time 4.45. someone
00:20:22
just write 1 since you are in
00:20:25
the directory 04 this is 4 when you call a
00:20:28
protest task 1 is called in the directory and 7 is 71
00:20:33
that is, it is as simple as possible so that you don’t
00:20:35
have to describe all these numbers in
00:20:37
full now
00:20:38
and then there is simply an option, that is, here
00:20:41
this is the launch option in general, and then
00:20:43
if minus and these are the answers unsure minus c
00:20:47
why is the goal I have no idea the
00:20:51
person needs the words check and activity I forgot
00:20:53
myself already the person has to submit it for verification, that
00:20:56
is, they did the task, gave it, hid
00:20:59
the file, did something, launched it themselves,
00:21:01
checked that everything ok, now
00:21:02
we talk about them alone, he checks the task
00:21:07
and says either that everything is super, then a very
00:21:10
short conclusion, he says the test passed,
00:21:12
everything is great, everything is
00:21:13
small, free, in this case, everything is
00:21:15
bad, they tell us that ours went wrong, the
00:21:18
test did not pass, I understand perfectly well that there is a
00:21:21
colossal thing here the amount of output
00:21:23
that can be confusing, but I didn’t want to do a
00:21:27
very kind option to
00:21:29
get used to it right away, the main thing here is
00:21:31
that at the end a div is shown here, it
00:21:34
says this is what you brought, this
00:21:35
should have been this, this is how
00:21:43
I know what is right and what is wrong,
00:21:47
so I ask Forgiveness I change and spikes
00:21:52
for a second another collection why
00:21:53
because I made you better soup for you they
00:21:56
tried where what so now now I
00:22:04
apologize I just changed the task and
00:22:07
changed it and here for a second I apologize toxic
00:22:12
this is very quickly someone after we
00:22:17
drag it out and so they are important to everyone I copied it,
00:22:27
we’ll just choose it as a victim
00:22:31
and just did an update for you, but in
00:22:36
this test repository no, well,
00:22:41
it didn’t interfere, it doesn’t matter, it’s just
00:22:44
repositories such nonsense and let’s
00:22:50
see, that is, you and I are the only ones who
00:22:56
made this print there, it’s
00:22:58
not always these tests they don’t always
00:23:01
show the differences super nicely, here
00:23:04
he seems to have found a similar letter and says there
00:23:06
must be a gek of something there and it coincides
00:23:10
and then the struggle
00:23:11
and it turned out like this, but in essence he
00:23:14
says that he should have pulled out a
00:23:15
line like this and you brought out something like this and how do
00:23:18
you show the differences when the code is a little more
00:23:21
complex, it shows
00:23:22
the difference better there, it’s just too little
00:23:24
strict, the differences are different, it’s trying
00:23:26
to show us in letters what’s different from what’s different from what’s
00:23:28
different in them, but the point is that in 95
00:23:32
percent of tests the green one will
00:23:35
mean how correct I am red like
00:23:36
how did you get it, it just says that you
00:23:41
need to output a line with such text, but you did
00:23:43
n’t output it according to the task, it’s not entirely
00:23:47
easy to output a line, you actually need to
00:23:49
do some
00:23:50
specific operations, we can do it strangely and
00:23:54
just get out that line which he
00:23:56
wants, that is, if the test passes again,
00:24:01
the duel din is the launch of tests for
00:24:03
task 1,
00:24:06
now if everything passes, it simply says
00:24:08
pastes with super here and abruptly you need to
00:24:12
ignore burning, I hid them
00:24:16
because these are usually some kind of warnings
00:24:18
about some modules that does not
00:24:20
concern us in any way, therefore, even if you
00:24:22
see warming here, ignoring everything that
00:24:24
needs to be entered here, that is,
00:24:28
here we are, when something goes wrong, in general,
00:24:31
almost always green is
00:24:33
right, red is wrong, but
00:24:36
unfortunately I didn’t always
00:24:37
manage to do that, so sometimes
00:24:39
it turns out that you need to look here,
00:24:41
this will happen very soon and for all
00:24:44
the basic tasks I will also do
00:24:46
the green one was correct, well, here
00:24:48
there is the concept of left and right
00:24:50
left is this right this is this right
00:24:54
and is always called like blah blah blah
00:24:57
correct something that is, well, it was
00:24:59
clear that this is the correct conclusion from the
00:25:00
steel house, yours are
00:25:02
now more or less clear, left now, right
00:25:09
now, left is correct,
00:25:12
green, right, this is wrong, that
00:25:15
is, for all basic tasks it
00:25:17
will be that green is correct, red is
00:25:19
incorrect, but in general, unfortunately, it is necessary
00:25:21
look exactly at left right to left
00:25:23
this is the correct conclusion the rule is right this is
00:25:25
wrong but by the time we get to this
00:25:29
you will have a better understanding of what is
00:25:30
happening so I but of course there will
00:25:33
slowly take a walk in the
00:25:34
beginning of all tasks 1 many sections
00:25:40
well exactly until the middle of the course almost
00:25:43
until green is correct and red
00:25:45
is wrong, that is, it will be easier to
00:25:47
remember when, that is, it will be done like
00:25:51
this, but with runs you need to check
00:25:53
the task, that is, there will be a stage to run
00:25:55
your code to see
00:25:57
that it works, there are no errors, that it
00:25:59
works normally, it must be completed before 9, otherwise it
00:26:01
will be difficult to understand why, that is
00:26:04
doesn’t work, then you run the test for
00:26:06
one task 1 to 1 for 2 2 well, there’s
00:26:10
nothing there, so it’s often cheap,
00:26:13
let’s say if you want to run 3 tasks,
00:26:15
you can run the same by default and
00:26:19
the output is very large, but because it shows the
00:26:21
details as if something went wrong
00:26:23
so
00:26:24
if all tasks passed the tests
00:26:26
the output would be super-short like
00:26:28
here, but when they do not pass the tests
00:26:31
it was large so it will often be convenient to
00:26:32
work with one task, yes, that is,
00:26:34
one test now if you
00:26:37
tested the task it works everything is
00:26:38
great you want to see the option
00:26:41
solutions team 1 on the floor, yes, that is, panic one
00:26:45
so much dimus and this is the answer,
00:26:49
well, it does something, puffs and then
00:26:52
says answers to knowledge that passed
00:26:54
hidden copied from somewhere
00:26:56
they were copied here, here
00:26:59
a file appeared here, here it is in response, that is
00:27:03
why
00:27:05
solution options are copied into a separate
00:27:07
file because, well, you don’t want to rewrite your file
00:27:09
not like that and so that you can
00:27:11
just open its files and see what
00:27:14
the difference is, what could be done, then
00:27:16
something else, and if you want to know at the top of
00:27:19
the building it’s exactly the same, only the disadvantages
00:27:23
and minus a minus c only works
00:27:26
if the test passes, that is, you won’t
00:27:27
see the answer if the task doesn’t pass
00:27:31
the test and you won’t be able to pass the task if
00:27:33
it doesn’t pass the test, that is, if you
00:27:44
burn yourself, it’s played, but I
00:27:48
updated it for you, no, okay let's
00:27:53
do it again now it's again
00:27:58
just so you understand that it's not anyone
00:28:01
we have there so I can someone
00:28:05
after it became senior
00:28:10
I prepared everything there now it's moved on to
00:28:13
something else as usual, that is, now we're
00:28:18
working until the assignment is due minus
00:28:23
and well, there we have it, we cooked it,
00:28:27
made it guided,
00:28:29
wrote a normal text that there is a
00:28:31
building under burns, and accordingly,
00:28:34
then another step that is not visible
00:28:36
went and wrote comments that
00:28:39
the building was done, he asked it, he refuted it,
00:28:40
that is, in fact, git t' git commit and the guide is
00:28:44
later done here yourself completely as
00:28:47
soon as you talk about submitting the task for
00:28:49
verification, it’s an automatic white whale with git
00:28:51
commit crew legs, this one to the task you
00:28:53
are trying to give, that is, if you, for
00:28:56
example, now did another
00:28:58
task, you would say there, let’s say
00:29:00
12, then I would give up 2 since we are now
00:29:05
allowing the first task will not pass the test
00:29:08
very much 1 will pass 2 no, then for the second, that
00:29:14
is, it didn’t pass, so the legs are Ted and does
00:29:16
n’t even try to add him, so, in
00:29:20
principle, part of the guitar falls off completely
00:29:23
because he is the team it is executed through
00:29:26
this utility,
00:29:29
the only thing that is not added is the guide
00:29:31
automatically because it’s just purely
00:29:33
whoever likes it, these are these files with
00:29:35
options, the solution, that is, you
00:29:38
can add these files the guide yourself, too, gitape
00:29:40
git commit Oedipus the utility doesn’t
00:29:44
add them because not everyone wants you
00:29:48
can add them to the repositories and fake ones, you can add them or not, if
00:29:51
you don’t want to add them at all,
00:29:53
in principle, you can even add them as a guide,
00:29:54
that is, then you
00:29:56
just have all the files that start with
00:29:59
raw ones, they are simply ignored, you can
00:30:01
add this unimportantly, this is a
00:30:03
known place practically where you you
00:30:05
will need a guide with your hands, that is,
00:30:08
to add or these files, otherwise
00:30:12
this utility when you say to become
00:30:14
buildings of some kind, it is
00:30:15
also here for hack work, let’s say let’s
00:30:17
say 2 files that need to be displayed here the
00:30:21
prince was the mac-address
00:30:25
you need to display with patches without: but we
00:30:28
’ll make a hacky version of the plan that we wo
00:30:30
n’t do something with python, it’s smart, we’ll just
00:30:33
take it and literally do it literally
00:30:36
naturally the task doesn’t need to be solved
00:30:39
my skin to show you the solution
00:30:41
now we’re saying let’s
00:30:44
test it and submit it for verification
00:30:46
right away and you can immediately say minus and
00:30:48
show the solution options now, how all
00:30:51
three things are done at the same time, the tests
00:30:54
are going on, but the test is already in a short version. a little
00:30:55
green icon where then it says the
00:30:58
task that passed the tests has been copied
00:31:01
and look since the two tasks are now
00:31:04
said by the guide 42 gta 4 1 comment writes a slightly different
00:31:08
message and the guns are fired and now he
00:31:11
went and wrote a message here
00:31:14
before everyone does it, we can see it
00:31:17
commit here here is how far
00:31:19
such and such a task has been completed, and here there is
00:31:21
a message, that is, it’s all about the
00:31:24
script itself, made and written,
00:31:26
the building is done, and therefore, despite the fact that
00:31:32
we talked a lot about this to everyone, well,
00:31:34
just so that you understand better what
00:31:36
happens because sometimes you never know the
00:31:38
Internet starts to swear that there is a
00:31:40
guide command how it gives him stripes so that they at
00:31:43
least understand what it’s about,
00:31:45
otherwise it’s for tasks you
00:31:48
basically only need to know how to run this
00:31:50
training and how to check one task to
00:31:52
see answers on how to run the change
00:31:55
everything is done the same way up to
00:31:58
minus and look at the answers minus c submit
00:32:02
for verification otherwise I still need to know you
00:32:04
only need one single command and to
00:32:06
hell yes, that is, it shows here how
00:32:10
to run it, yes, all these variations
00:32:13
that are here task with letters, sometimes
00:32:16
not all combinations that I would like
00:32:20
are supported, but most of the
00:32:22
disadvantages show the answers just to compile
00:32:25
for checking the aetiy that this is
00:32:27
written here as if let’s say
00:32:32
you were running it now and talkin’ would
00:32:34
n’t work there would be a special error
00:32:36
which one to say there are no tokens
00:32:37
to connect to him and I either didn’t go through defecation
00:32:42
and there will be an error telling the countries to
00:32:44
generate only for him that there’s
00:32:47
nothing else here to be honest,
00:32:50
not even the castle is needed, yes, that is, only
00:32:52
this guy help you can always
00:32:54
see everything that
00:32:55
’s why all the rest of the noise takes so long
00:32:57
they said this is preparation now, and
00:33:02
in order to consolidate this, so to speak, right now I’ll
00:33:03
quickly show the same one to the team,
00:33:05
that is, again we think that we are already great
00:33:08
and
00:33:09
we are working now on Windows, we have done
00:33:12
absolutely everything regarding the settings of the
00:33:14
guides guide hop,
00:33:15
that is, we are set up, aggregation is set up
00:33:19
the token has a utility installed on them in team
00:33:22
six rays, let's look and go stock up and go
00:33:27
here in the same way to this Natasha floor
00:33:30
so that a new one will be attracted to the street
00:33:35
will think about life, everything will be attracted to now
00:33:40
about the creation I will not do it in vimeo or some
00:33:43
doctrine of some kind, the
00:33:44
only thing that now as if there
00:33:46
would be such a nuance that it will move both in the
00:33:48
editor and the command line, then just
00:33:51
to run the bathing utilities that
00:33:53
tests tasks you need to be in the
00:33:55
desired directory
00:33:56
100 million in exactly the same way
00:34:02
we will have to meet kinky
00:34:11
often thinks for a long time life so now
00:34:16
let's immediately see what we will
00:34:18
let’s say I won’t use it, it’s
00:34:29
a little stupid, it’s just that I have a lot of things
00:34:32
completely neglected, so it
00:34:38
will be fast and it will listen to
00:34:49
listen to commands now, that is, at
00:34:55
home everything became okay, now the main
00:34:57
nuance is that we have chalk and, as it were, but
00:35:00
we can then upload some file
00:35:02
task, that is, we go, right now I have this
00:35:10
repository
00:35:11
task 41, we opened a text here there
00:35:16
specifically to write that the flame was
00:35:19
coming out twice and we start running and
00:35:21
we know that we did something
00:35:22
clumsily there ok it works here you
00:35:25
can download
00:35:26
run the code for this tomorrow help
00:35:29
consider checked everything works
00:35:31
now the only nuance is that when
00:35:34
you work in a graphical editor
00:35:35
if there are not immediately terminals at the bottom oh
00:35:38
let’s say somehow Ginny and in the formal
00:35:41
others you should also go to the
00:35:44
fourth block here that's how we
00:35:46
will do the task of one section of it for two
00:35:49
seconds two minutes so how would it
00:35:51
grow came and you term the question is open
00:35:53
and now that you have completed the task in it we will
00:35:56
save it there just in
00:36:00
case, go to the terminal and check that
00:36:02
the building will also be 1
00:36:10
It looks like I didn’t forget to indicate in the dependencies
00:36:16
how I could I don’t know well yes yes I’m sorry
00:36:24
this is again when you don’t have this
00:36:28
I again installed the old version with you I’ll fix it you won’t have
00:36:39
this
00:36:44
this is the old version of the script itself this
00:36:49
memory is something wrong man so and now I’m
00:37:07
teaching transport not to deliver
00:37:25
maybe it’s a new type of pound it wasn’t
00:37:28
swearing that I’m too old for this
00:37:35
let’s try yes it came to you, that is,
00:37:42
they’re coming back here they did the task in the
00:37:47
terminal here they opened it and tested it
00:37:49
then they wanted to see the answer option
00:37:51
they launched a
00:37:52
new file appeared if you want to
00:37:55
look at it, well, you match, open
00:37:58
the chalk, he went to listen to something there, think about
00:38:01
life, since the building has been copied, ok,
00:38:04
open a new file with the answers, yes, it has
00:38:07
appeared in the same directory, looked at
00:38:09
how to solve, okay, now continue here to
00:38:12
submit for verification 5 minus t minutes have passed to
00:38:16
send for verification, well, now he’s
00:38:20
swearing at me there because he didn’t come to the
00:38:23
end-of-stream tariff and well, because it’s a
00:38:25
token that is not added to the
00:38:28
battle for both, but how would the scheme be such an
00:38:33
interrogation, while I have time it’s
00:38:35
a little and strange because everything
00:38:37
seems to be done before in the terminal, in
00:38:40
fact, you will need to separately in the
00:38:42
editors’ bed before you wrote something there
00:38:44
and then in the terminal you check,
00:38:48
run, run the code, check
00:38:50
something works and test, look at the
00:38:54
answers and look, give the task it
00:38:57
’s like there the first times you will have to repeat a little on words
00:39:00
on a piece of paper how you
00:39:03
can run it and then it will be easier
00:39:06
those tasks you can, as it were, take
00:39:10
tasks here one by one and one by one, yes, that is,
00:39:12
you did one building, you passed it today you didn’t
00:39:14
pass it, you can test and look at the answers for
00:39:19
each task separately and then hand in the
00:39:20
whole batch, for example, to hand in the whole
00:39:23
batch,
00:39:24
well, at least try, yes, this is to
00:39:26
say the guy just minus c without the number of
00:39:28
tasks
00:39:29
if you raise useful
00:39:32
expectations, that is, that’s not what was described to me 1a
00:39:34
or one or two Italy, this means taking
00:39:37
absolutely all the buildings and try to pass
00:39:39
all of them, but now those
00:39:41
who didn’t pass the test didn’t pass, and
00:39:48
okay, it’s just that now it just
00:39:52
turned out a little strange that she just
00:39:55
swore, she couldn’t even flush, he’s cursing
00:39:59
what you should have, that
00:40:01
is, in general the task is done, so it’s
00:40:03
understandable and everything is bad, but the point is
00:40:07
that if you submitted the task
00:40:10
one at a time like we did before
00:40:11
initially, you can test it one by one,
00:40:14
or you can
00:40:15
test it one by one, look at the
00:40:18
solution options one at a time, and submit everything in a batch,
00:40:23
so most of today’s things are
00:40:26
taken upon yourself here this lead, in addition to
00:40:29
the files with answers with the files with
00:40:33
answers, I recommend that you still
00:40:34
do something because if you have them
00:40:35
here like this, a little bit for how it is now
00:40:37
and there will be more and more of them in each directory
00:40:40
because you
00:40:41
will be for each look at the solution option
00:40:43
if you don’t comment on them, well, how
00:40:47
would you start to completely ignore
00:40:49
the bits and here the status is there because
00:40:52
you have for and the number of files will grow,
00:40:53
that is, if you don’t want to add them,
00:40:56
you can delete them or just
00:40:58
add them all at once guide ignore if you want to
00:41:01
add, then it’s better to gradually add so
00:41:03
that it still becomes broken about something ral
00:41:05
said they were just having fun time
00:41:07
didn’t understand that is, you can do it like this, that
00:41:09
is, everything that starts on lancer club is
00:41:12
ignored until it is now git status -
00:41:14
they ignore these two if you don’t
00:41:17
want them to be in the repo, history
00:41:19
why you don’t want it, but I don’t
00:41:23
know honestly, that is, unless about the
00:41:29
next move before you want to return there, maybe I don’t
00:41:31
know, redo the tasks, but in principle
00:41:33
you can safely add them all the pack guide
00:41:35
from dot
00:41:37
and fill in no x but this is
00:41:42
the situation today, we’ll
00:41:44
end with this, that is, today we
00:41:46
figured out a little from the gita, a little knocked down hop,
00:41:47
figured out a little from this
00:41:49
utility,
00:41:51
the main thing is this last part, how the
00:41:53
work process will be, but tomorrow we will
00:41:55
talk a little about slug a little about
00:41:58
the poet in general, something like what is the
00:42:01
basic syntax of how to run paper
00:42:03
clips like this when some will forgive just
00:42:05
simple and we will talk about
00:42:08
editors
00:42:09
I will show a little more in detail darling
00:42:12
and I’ll show ginny a little bit
00:42:14
ginny purely as a backup option if
00:42:16
darling directly calls I don’t know, there’s blood coming out of the eyes,
00:42:20
so tomorrow I’ll do this process in the
00:42:23
last hour, yes, like how we will work
00:42:25
with the editor, run the code, create it for
00:42:27
verification, we will repeat it, yes, because
00:42:31
tomorrow we will understand a little better what their
00:42:33
nutrition is going on, and at least the basic
00:42:35
things and
00:42:36
how to run the code, we’ll see how how
00:42:39
we get to work and this
00:42:40
last part repeat briefly but pinches
00:42:44
so for today, as if essentially after
00:42:47
today you will just have a
00:42:49
bunch of instructions that you need to follow
00:42:52
if you are not familiar with git git hop
00:42:55
especially if you are not oriented I just
00:42:57
recommend taking everything directly step by step
00:42:59
carry out but taking into account only changing
00:43:01
the names where necessary and everything in the sense of a lot of
00:43:05
imagination there if you know how it can be done
00:43:07
differently but it means that is or
00:43:11
let’s say you have a lot of keys there, this is
00:43:13
something else you can do a little
00:43:15
differently but how it would be as advisable as possible
00:43:20
not to deviate even if you know that
00:43:22
you can close your eyes here there doing
00:43:24
so after today you
00:43:27
will have a post like this
00:43:29
I will say where it will be written that after
00:43:33
today you need to do something bad ta
00:43:37
ta ta ta ta ta and there it will be written to
00:43:40
do this such such a thing, I
00:43:43
know that this is super boring, but you just
00:43:46
need to set up a
00:43:49
git git hop link on each machine step by step, here I mean the
00:43:52
setup guide intoxication knocked down hop
00:43:54
clone your repository and
00:43:57
install panic,
00:43:58
but it’s still been trying to
00:44:00
be called this since the second year
00:44:03
showing it to do this after the output,
00:44:06
you have done everything, you are free and the minimum knowledge you
00:44:10
need is lost in GitHub purely so that you roughly
00:44:13
understand what is happening next, we will
00:44:16
only use this part,
00:44:19
namely working with this utility, that is,
00:44:22
you are only here from here on the question to know
00:44:24
how to run it, how to look for
00:44:27
everything else, this is a single happy
00:44:30
setup for each car,
00:44:33
here is the date today, well, for those who see Heinrich for the first time,
00:44:39
the most difficult lecture is because at the very
00:44:42
beginning of the course you need to deal with a bunch of
00:44:44
all sorts of nonsense,
00:44:45
so here we just need to go through
00:44:48
the instructions, don’t be scared, then
00:44:50
honestly nothing bad will happen I just
00:44:52
paid attention to these things, I can’t set up
00:44:54
for you if I could m Sarah didn’t
00:44:56
set up so you just need to
00:44:58
go through all these
00:44:59
fats and what should you do next we’ll
00:45:03
figure it out tomorrow little by little
00:45:05
sleep there the syntax how everything works
00:45:07
again with tasks there won’t be any,
00:45:09
although you can already go to the period
00:45:11
who can, but we’ll just
00:45:14
sort out this whole process for now, we now already
00:45:16
know the editors, just in case, you
00:45:21
can take any editor, we’ll talk about
00:45:23
chalk simply because I think that this is the
00:45:25
best option at the moment moment of nutrition
00:45:28
for beginners
00:45:29
and for us it’s just perfect, but if
00:45:33
you have a different one, use another one, so we’re in favor, I
00:45:36
’ll tell you a little more in detail in three to
00:45:38
show the advantages of what it can do, how it can
00:45:41
be useful, next
00:45:43
week we’ll deal with the normal
00:45:46
syntax further with the gifts of data loops
00:45:50
this is so on and so on, so that’s
00:45:53
all for today,
00:45:54
please, anyone from Smolensk, be afraid, it’s
00:45:58
just a lot of preparatory work,
00:45:59
it will be better, then we’ll
00:46:03
study everything from scratch,
00:46:05
so then that’s all for today,
00:46:07
thank you all, and see you tomorrow, slowly
00:46:12
with weapons

Description:

Скрипт pyneng для тестирования заданий, просмотра варианта решений и сдачи заданий на проверку 00:00:00 Скрипт pyneng 00:04:31 Установка pyneng 00:06:20 Настройка pyneng 00:08:10 Оповещение про проверку заданий, просмотр проверки 00:18:29 Пример выполнения заданий, проверки pyneng, просмотр варианта решения и сдача на проверку 00:33:05 Повторение выполнения заданий на Windows в Cmder

Preparing download options

popular icon
Popular
hd icon
HD video
audio icon
Only sound
total icon
All
* — If the video is playing in a new tab, go to it, then right-click on the video and select "Save video as..."
** — Link intended for online playback in specialized players

Questions about downloading video

mobile menu iconHow can I download "02 Часть 3. Утилита pyneng для тестирования и сдачи заданий" video?mobile menu icon

  • http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.

  • The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.

  • UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.

  • UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.

mobile menu iconWhich format of "02 Часть 3. Утилита pyneng для тестирования и сдачи заданий" video should I choose?mobile menu icon

  • The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.

mobile menu iconWhy does my computer freeze when loading a "02 Часть 3. Утилита pyneng для тестирования и сдачи заданий" video?mobile menu icon

  • The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.

mobile menu iconHow can I download "02 Часть 3. Утилита pyneng для тестирования и сдачи заданий" video to my phone?mobile menu icon

  • You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.

mobile menu iconHow can I download an audio track (music) to MP3 "02 Часть 3. Утилита pyneng для тестирования и сдачи заданий"?mobile menu icon

  • The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.

mobile menu iconHow can I save a frame from a video "02 Часть 3. Утилита pyneng для тестирования и сдачи заданий"?mobile menu icon

  • This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.

mobile menu iconWhat's the price of all this stuff?mobile menu icon

  • It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.