description here
The purpose of this project is to understand how to:
- create a Python package
- create a command interpreter using the
cmd
module - serialize and deserialize a Class
- write and read a JSON file
- manage
datetime
- use
*args
and**kwargs
- handle named arguments in a function
- allowed editors:
vi
,vim
,emacs
- the first line of all files should be exactly
#!/usr/bin/python3
- all code should use the
PEP8
style (version 1.7.*) - all files must be executable
- all files will be interpreted/compiled on Ubuntu 14.04 LTS using
python3
(version 3.4.3)
- all test files should be in the folder
tests
- all test files should be text files (extension:
.txt
) - all test files should be executed using the command
python3 -m doctest ./tests/*
- all modules should have documentation
python3 -c 'print(__import__("my_module").__doc__)'
- all functions (inside and outside of classes) should have documentation
python3 -c 'print(__import__("my_module").my_funct\ ion.__doc__)'
- AUTHORS - list of contributors
- -
- -
- -
~/me$ ./console.py
(hbnb) help
Documented commands (type help <topic>):
========================================
EOF help quit
(hbnb)
(hbnb)
(hbnb) quit
~/me$
~/me$ echo "help" | ./console.py
(hbnb)
Documented commands (type help <topic>):
========================================
EOF help quit
(hbnb)
~/me$ cat test_help
help
~/me$ cat test_help | ./console.py
(hbnb)
Documented commands (type help <topic>):
========================================
EOF help quit
(hbnb)
~/me$
At this time, there are no known bugs.
Lizzie Turner | GitHub | Twitter
Sonia Chevli | GitHub | Twitter
AirBnB Clone is open source and free to download and use