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.
- Host: GitHub
- URL: https://github.com/ullaskunder3/selfpythonprac
- Owner: ullaskunder3
- Created: 2020-12-19T20:56:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-20T09:01:40.000Z (over 5 years ago)
- Last Synced: 2025-02-08T22:25:24.356Z (over 1 year ago)
- Language: Python
- Size: 1.34 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
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