jbrooksuk / Sublime-Evaluate

Selection evaluation in Sublime Text
https://james-brooks.uk
25 stars 6 forks source link

[Feature request] Could we add python's `random` alongside `math` and `datetime`? #13

Open laserbeam3 opened 5 years ago

laserbeam3 commented 5 years ago

I've been using Evaluate for years now, just had to generate a bunch of random numbers and thought I could with this little guy. I think the code to add support is rather simple, I think an extra import and one extra line in the dict at the end of evaluate.py (am thinking that looking at the code for the first time).

Is that a reasonable request? to add random along math and datetime?

Unsure which other python libraries would make sense... Or what side effects this could have.