Skip to content

Instantly share code, notes, and snippets.

View chinmay29hub's full-sized avatar
🤙
HTML Is A Programming Language

Chinmay Sonawane chinmay29hub

🤙
HTML Is A Programming Language
View GitHub Profile
@chinmay29hub
chinmay29hub / hello.html
Created May 7, 2022 18:06
A simple pyscript hello world program.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PyScript</title>
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>
@chinmay29hub
chinmay29hub / factorial.html
Created May 8, 2022 04:57
A simple pyscript for factorial
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>
@chinmay29hub
chinmay29hub / libraries.html
Created May 8, 2022 05:50
A simple pyscript for dealing with libraries
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>
<py-env>
from tqdm import tqdm
import time
for i in tqdm(range(20), desc = 'tqdm() Progress Bar'):
time.sleep(0.1)
# some tasks here
# some more operations here