Working pf functions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Working pf functions

I just eager to know how the function like print,Len and every mudules like numpy are working.i just need to what are the things they write inside those modules.is there any way to learn???

2nd Sep 2018, 1:21 PM
Gokula Krishnan S
Gokula Krishnan S - avatar
1 Answer
+ 2
Python is open-source, so you can see the numpy code. For the print function, there are different ways to write into the console : print() or, with using sys module : sys.stdout.write() You can also change the output of the print function, for example to write directly in a file : import sys sys.stdout(filename) To know how all work : Google is your best friend!
3rd Sep 2018, 1:19 PM
Théophile
Théophile - avatar