Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ashkan0201/json_or_txt


https://github.com/ashkan0201/json_or_txt

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Json_or_txt
Hello, I am Ashkan.

With this code, you understand the decorators, how we have used it for the code we presented?

Now I will explain about this code.
This code opens a file, then tries to read it as json, but if it encounters an error, the program understands that it should read it as text, and even if it encounters an error, it will show a message to the user.

## Installation
```bash
$ pip install json5
```
or
```bash
$ pip install -r requirements.txt
```

## My information

Email me if you see a bug:

- [email protected]