Skip to content

saranyadevi-codes/codealpha_task_2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

📋 Project Overview

• This Python script automatically moves all .jpg and .jpeg image files from one folder to another. • It helps organize files easily by separating image files into a chosen destination folder. • The program uses OS and Shutil modules to perform file operations safely and efficiently.

🚀 Features

• Moves all .jpg and .jpeg files automatically. • Creates the destination folder if it doesn’t exist. • Works for any folder path entered by the user. • Displays the name of each file moved. • Helps organize images in just one run.

🧰 Concepts Used

• os module — for accessing file paths and directories. • shutil module — for moving files. • if-else conditions — to check folder existence. • for loop — to go through each file. • input() and print() — for user interaction and output.

🎓 Learning Outcome

• Learned how to automate tasks using Python scripting. • Understood how to work with files and directories using os and shutil. • Practiced loops, conditionals, and input/output operations in real-life scenarios.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages