What do scripts(stored in bin directory of the project) do in addition to modules in a python project? -


i have been following lpthw ex. 46 in says put script in bin directory can run. don't idea of using script when have modules. significance scripts provide? scripts executable *.exe files(in case of windows) rather modules compiled python? if modules provide code needed project scripts provide code needed execute them? how scripts , modules linked each other, if so?

scripts can used stand-alone programs tasks both simple , complex.

when put them in bin directory, , have bin directory in path, can execute them exe, assuming have configured interpreter correctly (in windows), or have put #!/usr/bin/python top line linux.

for example, might write python script computes mean of list of numbers passed stdin, stick in bin directory, , execute c program same purpose.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -