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

https://github.com/gakurualex/outdated

CS50's Introduction to Programming with Python Problem Set 3 on Exceptions, Outdated
https://github.com/gakurualex/outdated

datetime strftime strptime

Last synced: 10 months ago
JSON representation

CS50's Introduction to Programming with Python Problem Set 3 on Exceptions, Outdated

Awesome Lists containing this project

README

          

# Outdated #

CS50's Introduction to Programming with Python Problem Set 3 on Exceptions
Outdated problem.

A program that prompts the user for a date, anno Domini, in month-day-year order, formatted like 9/8/1636 or September 8, 1638, wherein the month in the latter might be any of the month of the year and output the same date in YYYY-MM-DD format. If the user's not valid in either format prompt again..

# Prerequisite #
clone this repo

```bash
git clone git@github.com:GakuruAlex/outdated.git
```

change directory to outdated

```bash
cd outdated
```

Create a virtualenv

```bash
python3 -m venv myenvname
```

Activate virtualenv

```bash
source myenvname/bin/activate
```

Install requirements

```bash
pip install -r requirements.txt
```

# Usage #

## Run program ##

```bash
python3 outdated.py
```
# Author #

[Alex Gakuru](https://github.com/GakuruAlex)