python的第一个函数的列表,如何传递到第二个函数里去
                 	
                        发表在Python图书答疑
                        2021-01-18                         悬赏:1 学分                        
                    		
                            《Python从入门到实践》第10章  自定义函数
悬赏:1 学分                        
                    		
                            《Python从入门到实践》第10章  自定义函数                                                	
                        
                        
                    
                     悬赏:1 学分                        
                    		
                            《Python从入门到实践》第10章  自定义函数
悬赏:1 学分                        
                    		
                            《Python从入门到实践》第10章  自定义函数                                                	
                        
                        
                    
                    	是否精华
                    	是
                    	否
                    
                    
                    
                            版块置顶:
                            是
                            否
                        
                    def get_kpi_list(self):
'''function: get the kpis that need to be renamed
'''
kpi_list = []
with open(r'/root/service/kpi.csv','r') as f:
lines = [line.rstrip('\n') for line in f]
kpi_list = lines
return kpi_list
#get_kpi_list()
def rename_kpi(self,data):
kpi_list = []
request_url = url + pram02
request= urllib2.Request(request_url)
request.add_header('Authorization',token)
request.add_header('Content-Type', 'application/json')
response = urllib2.urlopen(request)

 
	
                                                 VIP会员
VIP会员 购物车
购物车

 私信
                         私信 
                     
					 发表新帖
发表新帖 立即签到
立即签到 
        		  
        		 
         		 关注
关注
                  回复
 回复 支持(
                	支持( 反对(
                    反对( 
                







 
                     
                     
					 
						 
						 
						 
						