AttributeError: Can't pickle local object code example
Example: AttributeError: Can't pickle local object
# The process must be called within:
if __name__=="__main__":
# The process must be called within:
if __name__=="__main__":