+ 2
a standard library , how we use it in python and how to install pip..what's actually the use of pip? can anyone give me summary?
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2439/
4 Respostas
+ 7
You can't install packages on SoloLearn, if you're trying to do that... You can do that on your computer.
+ 3
The standard library is a group of libraries that comes with Python, you import them like normal modules e.g. import itertools
Pip is a package manager that makes it simple to install other modules, it comes preinstalled with most Python distributions.
+ 3
Daya you don't need libraries for doing basic python stuff. But still for experimenting you can go to https://pypi.org/ and find a library (or package) you want to install. Then open the command prompt on your computer by typing "cmd" in the start menu. In command prompt, type "pip install <name of package you want to install>".
Replace <name of package you want to install> with anything you want. For example "pip install pillow" will install PIL (python imaging library) which then you can import in your code with "import PIL".
You need python installed on your computer to do this.
+ 1
@yash how can I install on computer ..give me the steps briefly