Skip to content
← Back to Community
PIthon: A 100% free crowdsourced Pi host.
Profile icon
ebest

PIthon is a crowdsourced Pi calculator that runs with Python. It lets you use your Repl.it hacker plan for a cause (I don't have hacker plan. I hear hacker plan is faster then no hacker plan)! Just press the run button and input your username then how many digits you want to contribute and it will process! JUST DO IT (not plagiarism... right?). It's quick and easy to do. A question in the share section: Is there any way to hide the importing part where it imports the 5000 modules I use?

Direct run link

I WANT CYCLES (votes)

Edit:
Yay! I was featured!

Edit:
10000 digits?!?!?!

-Ebest

Voters
Profile icon
AUUOBRZT
Profile icon
SilverPhoebe
Profile icon
MarcusWeinberger
Profile icon
Existential
Profile icon
mkhoi
Profile icon
Inevitable
Profile icon
katyadee
Profile icon
CircuitSacul
Profile icon
21natzil
Profile icon
ebest
Comments
hotnewtop
Profile icon
EchoCoding

@ebest How did you get a json_store_client key? I want to integrate the total run number into a project, but can't figure out how to use a key.

Profile icon
ebest

@EchoCoding You can either do it the proper way (go to jsonstore.io) or you can do it the cheater way (take my key and change it a bit so it's a unique key. I did it this way)

Profile icon
EchoCoding

@ebest Alright, thank you!

Profile icon
ebest

@EchoCoding Remember to credit me! (I can see you on your monitor thing. I'm monitoring you now) (I see you using my view tracker, too. It is mine, right? Give credits!)

Profile icon
ebest

@EchoCoding Hey if you like json store then check out this
Json store awsome implamentation (this isn't advertising)

Profile icon
EchoCoding

@ebest I got you. Just playing around with ideas for it rn.

Profile icon
EchoCoding

@ebest That's actually very interesting. I haven't seen anyone do something quite like that. As for curses, I've never heard of it, but very cool!

Profile icon
ebest

@EchoCoding Yeah! I just found out about curses. It's interesting.

Profile icon
HappyFakeboulde

bug: on line 127 to 130, you say type(ds) != int, but you get ds from just input(), which will return a string, not an int
you should do a try-except with int(ds) or (not ds.isnumeric())

Profile icon
ebest
Profile icon
HappyFakeboulde

...it doesn't work...

Traceback (most recent call last): File "main.py", line 72, in <module> with open(".env", "r") as t: FileNotFoundError: [Errno 2] No such file or directory: '.env'
Profile icon
ebest

@HappyFakeboulde Works fine right now...?

Profile icon
HappyFakeboulde

@ebest i'm pretty sure other users can't access your .env
even if they're just trying to open it using the program they're running that you wrote
try logging out of your account and run it

Profile icon
ebest

@HappyFakeboulde me = sad
Should work for now, just less secure

Profile icon
HappyFakeboulde

@ebest k good thanks

Profile icon
ebest

@HappyFakeboulde was the HappyFakeboulde supposed to be HappyFakeBoulder?

Profile icon
HappyFakeboulde

@ebest ...yeah
it still doesn't work btw

Profile icon
ebest

@HappyFakeboulde ok I'm stupid... Fixed.

Profile icon
ebest
Profile icon
HappyFakeboulde

@ebest hi what
also does it get slower the more digits are calculated or does it stay about the same

Profile icon
ebest

@HappyFakeboulde WHY DO YOU DO THIS TO ME you only added 1 ONE digit! rage

Profile icon
ebest

@HappyFakeboulde slower but at the beginning it takes a while to load some info

Profile icon
HappyFakeboulde

@ebest well yeah i was just testing it out i'll probably add more later

Profile icon
ebest

@HappyFakeboulde so it's like
t = 10t + 5000
in milliseconds
t being time

Profile icon
ebest
Profile icon
HappyFakeboulde

@ebest okay so that would be in just one session right
i'm asking like
if you do a session of 10 digits when 5000 digits have been calculated
would it take about the same amount of time as doing 10 digits when 2000 digits are done
or would it take longer

Profile icon
ebest

@HappyFakeboulde probably the same, but there may/may not be a small difference because every time it calculates a digit it has larger parameters to run on.

Profile icon
ebest

@HappyFakeboulde and one more thing:

Profile icon
ebest
Profile icon
HappyFakeboulde

@ebest if you call me w**fy i won't contribute to your calculating pi

Profile icon
ebest

@HappyFakeboulde oh well waify

I think it comes from your avatar which looks 2D

Profile icon
HappyFakeboulde

@ebest but how would a 2d avatar make people call me w**fy

Profile icon
ebest

@HappyFakeboulde wait

actually go ask the people who started this