new program file for class ATMOS
This commit is contained in:
		
							parent
							
								
									7145ef616d
								
							
						
					
					
						commit
						b538f43c57
					
				
							
								
								
									
										17
									
								
								pyatmos/class_atmos.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								pyatmos/class_atmos.py
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					class ATMOS(object):
 | 
				
			||||||
 | 
					    '''
 | 
				
			||||||
 | 
					    class ATMOS
 | 
				
			||||||
 | 
					    - attributes:
 | 
				
			||||||
 | 
					        - self defined
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - methods:
 | 
				
			||||||
 | 
					        - None
 | 
				
			||||||
 | 
					    '''
 | 
				
			||||||
 | 
					    def __init__(self,info):
 | 
				
			||||||
 | 
					        self.info = info
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        for key in info.keys():
 | 
				
			||||||
 | 
					            setattr(self, key, info[key])  
 | 
				
			||||||
 | 
					   
 | 
				
			||||||
 | 
					    def __repr__(self):
 | 
				
			||||||
 | 
					        return 'Instance of class ATMOS' 
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user