In which order many functions are executed in a python code

Joel Goldstick joel.goldstick at gmail.com
Fri Jun 9 14:56:16 EDT 2017


On Fri, Jun 9, 2017 at 2:46 PM, Thomas Nyberg <tomuxiong at gmx.com> wrote:
> On 06/09/2017 11:39 AM, sondes kalboussi wrote:
>>
>> Am a bit confused I was thinking that the order of execution of functions in a code is from the first to the last function but sometimes it is the opposite, for instance, some parameters or outputs from the second function are called in the first one even thou they are not global, any hints ?
>>
> Maybe if you post some specific code it will be easier to see what

Functions are run in the order in which they are called from the main code
-- 
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays



More information about the Python-list mailing list