Junior — Middle
What is your level of proficiency in Python and what skills do you have in it?
sobes.tech AI
Answer from AI
I have a proficiency in Python that allows me to use it effectively for automating tasks, writing scripts, and developing small applications. My skills include working with basic data structures (lists, dictionaries, sets), understanding OOP, exception handling, working with files and modules.
I also know how to use popular libraries for DevOps tasks, such as subprocess for running commands, os and shutil for file system operations, and requests for HTTP requests. I have experience writing scripts for deployment automation, monitoring, and log collection.
An example of a simple script for reading a file and printing lines containing a specific word:
keyword = "error"
with open("log.txt", "r") as file:
for line in file:
if keyword in line.lower():
print(line.strip())