Hack Bulgaria
github.com/HackBulgaria
In computing, JavaScript Object Notation or JSON is an open-standard file format that uses human-readable text to transmit data objects consisting of attribute-value pairs and array data types (or any other serializable value). It is a very common data format used for asynchronous browser–server communication, including as a replacement for XML in some AJAX-style systems.
JSON is a standard for communication with data in human-readable format. It's similar to Python's dictionaries with very little differences. JSON keys have to be only strings and it's values must be simple (serializible) - int, float, str, list, dict
import json
def read_json():
with open('colors.json', 'r') as f:
data = json.load(f)
return data
def write_json():
data = read_json()
dic = {"yellow": 125}
data.update(dic)
with open('colors.json', 'w') as f:
json.dump(data, f)
Hypertext Markup Language (HTML) is the standard markup language for creating web pages and web applications.
Web browsers receive HTML documents from a web server or from local storage and render them into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the appearance of the document.
<!DOCTYPE html>
<html>
<head>
<title>First HTML</title>
</head>
<body>
<h1>My First Heading</h1>
</body>
</html>
In computing, a comma-separated values (CSV) file stores tabular data (numbers and text) in plain text. Each line of the file is a data record. Each record consists of one or more fields, separated by commas.
The CSV file format is not standardized. The basic idea of separating fields with a comma is clear, but that idea gets complicated when the field data may also contain commas or even embedded line-breaks.
Similar to Excel tables
Used mainly in statistics for simple datasets
By Hack Bulgaria