+ 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???
1 ответ
+ 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!