on-internet
← Community

What is Python built-in function "compile" used for?

Stack Overflow ·

I came across a built-in function compile today. Though i read the documentation but still do not understand it's usage or where it is applicable. Please can anyone explain with example the use of this function. I will really appreciate examples. From the documentation, the function takes some parameters as shown below. compile(source, filename, mode[, flags[, dont_inherit]])

Comments

Sign in or sign up to comment and upvote.

No comments yet.