0
What is the main meaning for (from sys import exit)
What is the main meaning for (from sys import exit)
5 Respostas
0
it means from module sys, take function exit.
it is like , from math import sqrt
0
oh.. i see.. so, what does this exit have to deal with the program? btw thnk u so much for the reply
0
like if you have infinity loop and you want to come out of the loop based on any condition, then exit function will be used and exit () is defined in sys module
0
ok... now i get it... once again thanks to you
0
its ok man..cheers..enjoy python