A simple code made to be used by shops of any kind. This python code can be used by two admin(owners) and users(consumers). Both of them have their own modules and have many choices to go through.
*from datetime import datetime
now = datetime.now()
dt_tm = now.strftime("%d/%m/%Y %H:%M:%S")
print("Date of purchase: ", dt_tm[0:10])
print("Time of purchase: ", dt_tm[11:19])
*print('%-18s%-16i%-11i%i'%(i,stock[i],basket[i],total))
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You will need the following forrunning this code- 1)Python 3 installed in your system. 2)Any kind of IDE(Integrated Development Environment) that you are comfortable with, but it shall support Python else go for a suitable code editor. OR You can directly run the code by your Terminal Window(for macOS and Linux Operating Systems) or Command Prompt(for Windows Operating Systems)
1)Installing Python 3:- Visit the following url for details on how to install Python 3 for various Operating systems https://realpython.com/installing-python/#step-1-download-the-python-3-installer
2)Installing IDE or Code Editor:- Visit the following url for details on how to install a suitable IDE or Code Editor https://realpython.com/python-ides-code-editors-guide/#which-python-ide-is-right-for-you
PS- I personally use Atom Editior available at https://atom.io
This project is not any kind of extention of any other project
Simply download the .py file and run it on your IDE or Code Editor
Feel free to pull requests, for contributing.
- Ramesh Sachan (@holps-7) - Vellore Institute of Technology
- Gaurang Dwivedi (@Gaur025) - Dehradun Institute of Technology
This project is licensed under the MIT License - see the LICENSE.md file for details
- Gaurang Dwivedi for asking me to work on something fun together.
- Got bored on summer vacation after my first year of college, so did this project for fun.