Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TXT Lines to JSON array

A simple python script which downloads a raw file and converts all of the file lines into a json array

Ex.

[
    "item1",
    "item2",
    "item3"
]

How to set up packages

Run the following command in your command shell to install all the required packages

pip install -r requirements.txt

Then, run python main.py to download the file.

Configuration

All configuration are in config.json and must be changed before executed

downloadURL - Recommended to be a raw file (a file which only has data and is separated into different lines, such as a Github raw file of a txt document)

fileName - Must end in .json, the file will be uploaded with this name

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages