Another HNG !?

My name is Abdulmalik Bello, and I'm excited to share that I'm about to embark on another HNG internship. HNG is renowned for the opportunity it provides to learn from industry experts through its challenging tasks and projects. This year's edition features a premium version where one can network, receive job postings, and engage weekly in various fun events. HNG Premium Network costs #5000 for one year of access.

My goal for this internship is to enhance my technical skills by working on diverse projects and learning new technologies. As excited as I am about starting the HNG Internship, I am also quite anxious about the first few weeks. This is because it coincides with my final year undergraduate exams. Balancing both responsibilities will undoubtedly be challenging, and I am concerned about managing my time effectively to ensure that I excel in both areas.

Currently, I'm working on a project focused on converting natural language into Azure CLI commands. An extra feature of this project is to autonomously run these commands for users. While converting natural language to Azure CLI commands is manageable with the help of large language models (LLMs), the challenge lies in running CLI commands within a web app.

During my research, I discovered the Python subprocess module. This module allows you to run other programs or commands within your Python code, essentially giving commands to your computer instead of typing them directly into the command prompt.

I delved into learning how this module works, including how it accepts input, captures output, processes and redirects errors, and chains commands. Additionally, I learnt how to securely parse arguments into a process, as the user's authentication keys would be needed to run the CLI commands. This experience was enlightening, and I am now building a Flask app around it.

0
Subscribe to my newsletter

Read articles from Abdulmalik Kehinde Bello directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Abdulmalik Kehinde Bello
Abdulmalik Kehinde Bello