Reuven M. Lerner @lernerpython.com · 2d

"sys" is where #Python keeps vital info about its runtime environment. So why import it? Not to load it; sys is loaded when Python starts. Rather, the import just defines "sys" as a global variable. Importing "sys" takes almost no time, and provides useful info.

1 likes 0 replies

?