mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	
		
			
	
	
		
			8 lines
		
	
	
	
		
			159 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			8 lines
		
	
	
	
		
			159 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								"""When ran as a script, simulates cat with no arguments."""
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import sys
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								if __name__ == "__main__":
							 | 
						||
| 
								 | 
							
								    for line in sys.stdin:
							 | 
						||
| 
								 | 
							
								        sys.stdout.write(line)
							 |