Skip to content

This repository is collection of cool python concepts, tricks and useful functions.

Notifications You must be signed in to change notification settings

akanshajainn/Assimilating-Python

Repository files navigation

Assimilating-Python

This repository is collection of cool python concepts, tricks and useful functions.

Usage and Explanation of each file

  1. inheritance.py has different type of inheritance explained using a class example.

  2. deletefoldercontents.py has a very useful function to delete any folder contents programatically, either you can run it in terminal/command prompt giving path to folder as input like below :

    deletefoldercontents.py '/Users/akanshajain/Downloads/FolderYouWantToDelete/'

    or just take the function clearfolder() and use it anywhere in your code.

  3. Cool Stuff/ contains code files having some of the cool tricks we can do using python. For ex, Creating PPT.

  4. datetime.ipynb explains

  • conversion to and from python's datetime object,
  • extraction of day, month, hour, minutes etc,
  • creating timeseries dataset using pandas and numpy,
  • visualisation of timeseries data using plotly.
  1. examples/ contains code files of some example programs utilising concepts of python. For ex, banking system.

  2. movefiles.py has a very useful function to transfer any folder contents programatically to another folder, either you can run it in terminal/command prompt giving path to both folder as input like below :

    python movefiles.py 'Desktop/folderOne/' 'Desktop/folderTwo/'

    or just take the function moveFiles() and use it anywhere in your code.

About

This repository is collection of cool python concepts, tricks and useful functions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published