An open API service indexing awesome lists of open source software.

https://github.com/ullaskunder3/selfpythonprac

In this repository, I will be gradually updating the codebase of the given problems with my own solutions. Also, I may try to explain the code and tell my opinion about the problem if needed.
https://github.com/ullaskunder3/selfpythonprac

Last synced: about 1 year ago
JSON representation

In this repository, I will be gradually updating the codebase of the given problems with my own solutions. Also, I may try to explain the code and tell my opinion about the problem if needed.

Awesome Lists containing this project

README

          

# SIMPLE PROJECT ON DICTIONARY

> A Python module is a Python file containing a set of functions and variables to be used in an application.
>
> > example: create module with **.py**\
> > call a module using **import** statement

Modules can be either:

1. Built in

2. User-defined.

## Module Used In Project:

- Built in
- - time |E.g. function: **time.sleep(sec)**
> This module provides various time-related functions. For related functionality

- - difflib |E.g. function: **get_close_matches**
> get_close_matches(word, possibilities, n, cutoff) accepts four parameters: ... possibilities - the list in which to search for close matches of word. n (optional) - the maximum number of close matches to return

- - json |E.g. function: **json.load**
> json.load() takes a file object and returns the json object. A JSON object contains data in the form of key/value pair. The keys are strings and the values are the JSON type

## How to run
- Use terminal **cmd** or **bash**
- To run a Python script, we have to write ‘python’ keyword before the file name in the command prompt.
- - E.g python app.py
> Make sure you are in the right directory