Python Programming Tasks

Python Programming

In the Python Programming internship program, you will build strong foundational and intermediate-level skills in software development and automation. This internship covers essential Python concepts like syntax, data structures, file handling, APIs, and data analysis. Through hands-on projects, you will work on real-world tasks such as web scraping, command-line apps, and REST APIs — preparing you for advanced scripting and development roles.

 

Level 1: Easy Projects

 

Task 1: Python Environment Setup and Hello World

Problem Statement:
Set up Python development environment and write a simple “Hello, World!” program.

Steps to Complete:
• Install Python and an IDE (e.g., VS Code, PyCharm)
• Configure environment variables if needed
• Write and run a Python script that prints “Hello, World!”
• Save and run the script from command line and IDE

 


 

 

Task 2: Basic Calculator Program

Problem Statement:
Create a simple calculator that performs addition, subtraction, multiplication, and division.

Steps to Complete:
• Take user input for two numbers and an operator
• Perform the calculation based on the operator
• Display the result
• Handle division by zero and invalid inputs

 


 

 

Task 3: Working with Lists and Loops

Problem Statement:
Write a program that takes a list of numbers and outputs the sum and average.

Steps to Complete:
• Define a list of numbers
• Use a loop to calculate the sum
• Calculate the average by dividing the sum by the number of elements
• Print the results

 


 

 

Level 2: Intermediate Projects

 

Task 4: File Handling – Read and Write Text Files

Problem Statement:
Create a program that reads a text file and writes its content to a new file in uppercase.

Steps to Complete:
• Open a text file and read its contents
• Convert the text to uppercase
• Write the uppercase text into a new file
• Handle file exceptions

 


 

 

Task 5: Simple Contact Book Application

Problem Statement:
Build a contact book program that can add, view, and search contacts using dictionaries.

Steps to Complete:
• Create functions to add a contact (name and phone number)
• Store contacts in a dictionary
• Implement search functionality by name
• Display all contacts

 


 

 

Task 6: Web Scraping with BeautifulSoup

Problem Statement:
Scrape the titles of the latest news articles from a news website.

Steps to Complete:
• Use requests to fetch the web page content
• Parse HTML with BeautifulSoup
• Extract and print the titles of news articles
• Handle exceptions and invalid URLs

 


 

 

Level 3: Advanced Projects

 

Task 7: Build a Command-line To-Do Application

Problem Statement:
Create a CLI app to add, view, mark as done, and delete to-do tasks saved in a JSON file.

Steps to Complete:
• Implement command-line input to accept commands
• Store tasks in a JSON file
• Add features to list, add, delete, and mark tasks as done
• Ensure data persistence between runs

 


 

 

Task 8: REST API with Flask

Problem Statement:
Build a simple REST API that handles CRUD operations for a notes application.

Steps to Complete:
• Set up Flask app with routes for Create, Read, Update, Delete
• Use an in-memory dictionary or SQLite to store notes
• Test endpoints using Postman or curl
• Handle error cases (missing note, invalid data)

 


 

 

Task 9: Data Analysis with Pandas

Problem Statement:
Analyze a CSV dataset to generate summary statistics and visualizations.

Steps to Complete:
• Load a CSV file using Pandas
• Calculate mean, median, and mode of numerical columns
• Create simple plots (histogram, bar chart) using matplotlib or seaborn
• Save the cleaned data and charts

 

Join our online community

Leave a Comment

Your email address will not be published. Required fields are marked *

Review My Order

0

Subtotal