This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
| import re | |
| def replace(string, substitutions): | |
| substrings = sorted(substitutions, key=len, reverse=True) | |
| regex = re.compile('|'.join(map(re.escape, substrings))) | |
| return regex.sub(lambda match: substitutions[match.group(0)], string) | 
| # See official docs at https://dash.plotly.com | |
| # pip install dash pandas | |
| from dash import Dash, dcc, html, Input, Output | |
| import plotly.express as px | |
| import pandas as pd | |
| df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/gapminderDataFiveYear.csv') | 
This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project: