To create a command interpreter using the cmd
module, you can create a class that inherits from cmd.Cmd
and define the desired commands.
Implement unit testing in a large project using the unittest
module. Organize test files in a tests
directory mirroring the project structure. Run tests using python3 -m unittest discover tests
.
For working with JSON files, use the json
module. Serialize Python objects to JSON strings and deserialize JSON strings to Python objects.
Manage datetime in Python using the datetime
module. Utilize the various methods and functions provided to manipulate and format date and time.
UUID (Universally Unique Identifier) can be generated using the uuid
module in Python. It provides functions to generate random or name-based UUIDs.
*args
and **kwargs
are used for variable-length argument lists in Python functions. *args
allows passing a variable number of non-keyword arguments, and **kwargs
allows passing a variable number of keyword arguments.
HTML is the structure of your page, it should be the first thing to write. CSS is the styling of your page, the design All your CSS files should be in styles folder All your images should be in images folder You are not allowed to use !important and id (#... in the CSS file) You are not allowed to use tags img, embed and iframe You are not allowed to use Javascript Current screenshots have been done on Chrome 56 or more. No cross browsers
Kenedy Maina Sandra Obunga