Hi,
   I normally create small scripts for crons, Sometime I do create multiple
modules.
My question is how to pass same variable to modules which is being used.

e.g.

script.py file contans following code

*import module *

*bucket* = 'some_bucket'

object = module.*Class_name*('value');

object.*some_awesome_function*()

I want bucket variable should be available in *some_awesome_function. *

How to achieve above?


-- 
Regards
Mukesh Yadav
mukeshyadav.com
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to