1

I have started learning coding recently... and I often have to import modules like import random, import os, import turtle etc(in python). Why does this process have to me manual? Why aren't all these modules pre imported?

Drab Lad
  • 13
  • 2
  • 1
    This is not the place for these kinds of questions, but, since you asked, it ensures that the program only loads what it needs. Also, you can define your own modules, and use other peoples' modules. – Seth Oct 31 '20 at 21:29

1 Answers1

0

They aren't all preimported because it would need much memory and it's more efficient if you just load what you really need

Somethink
  • 56
  • 5