mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Improve dropdowncalc - use python with preloaded math lib
before: https://i.imgur.com/w1EcgeS.png after: https://i.imgur.com/wPEQZC9.png
This commit is contained in:
parent
9df28899de
commit
cb8d6b80e3
@ -1,3 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
ifinstalled bc && echo "Welcome to the Calculator." && bc -lq
|
||||
NOT_BLOAT="/tmp/pystartuplmao"
|
||||
|
||||
cat > "$NOT_BLOAT" <<EOF
|
||||
from math import *
|
||||
EOF
|
||||
|
||||
python -i "$NOT_BLOAT"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user