I very new to Python and I want to do the following: I am creating a script that is doing for example a ssh login to devices to check all kind of things (capacity, uptime etc.) I want open a file for reading, read the first line and put every word into a variable for later use. I have been searching and trying but no result.
input file is: input.file
example: Varables are: DevType, ManuF, ip, Serial
server   Dell   172.0.0.1   abc123   
storage  IBM    172.0.0.2   w2q3r4134  
network  Cisco  172.0.0.3   vf578WWr 
Thanks for helping me out.
 
    