Hi~ all guys,
I have a strange question, what's the difference of "exec" and "import"?
IMO, when we use "import", the script is also be executed, (maybe its
namespace is owned by itself), and "exec" does something like this, it
executes some script. So i think its difference is its namespace.
I want to get your hint~

thanks a lot
_______________________________________________
python-devel mailing list
python-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/python-devel

Reply via email to