[Twisted-Python] How to get initialize values of function

MichaƂ Tyde ajchos at wp.pl
Fri Aug 5 05:30:06 MDT 2005


I have code like that:

class class1:
	def funct1(self, some_args):
		if a==b:#(the condition doesn't matter)
			self.funct30("value")
			enother_val=funct30().__init__ #it doesn't work
			#i want to have in enother_value="value" - argument from function
funct30()
	def funct30(self, value):		
		# do something
		# i can't return here a value, because the program work inappropriate

Maybe this is a very simple solution, but i have got now any idea.
Thanks in advance for answers





More information about the Twisted-Python mailing list