For all you crypto maniac

Nude_Bikergirl
Nude_Bikergirl

I created a script in python that will inform of you of your coins performance, could be done with more coins up to you.

github.com/python-enthusiast/crypto-stuff

Attached: circuitpython-python-logo-master-flat.png (21 KB, 800x238)

Other urls found in this thread:

python.org/dev/peps/pep-0008/
pyformat.info/

lostmypassword
lostmypassword

neat

Attached: 1519696624890.jpg (61 KB, 1000x800)

StonedTime
StonedTime

Your formatting gave me cancer.

w8t4u
w8t4u

pls no bully all i do is sql at work

AwesomeTucker
AwesomeTucker

Here, have some midnight reading:
python.org/dev/peps/pep-0008/

Firespawn
Firespawn

Attached: 1439099163387.jpg (65 KB, 1920x1080)

New_Cliche
New_Cliche

your next task: use an exhange's api and python requests library

idontknow
idontknow

Sure OP I'd love a keylogger

Skullbone
Skullbone

use the binance api for prices if available

AwesomeTucker
AwesomeTucker

Thank you man.

Yes sensei

Nojokur
Nojokur

also
time.sleep(3600)
this is a script more appropriate for cron jobs

Techpill
Techpill

then how would i get the old price from when the hour started?

Evil_kitten
Evil_kitten

last time I shared code for trading crypto I got bullied by anons that barely know how to code

Gigastrength
Gigastrength

on the other hand, I just noticed that your script has literal reddit spacing.

Emberfire
Emberfire

write it to a text file then read from it next time it's run

Your style is terrible. Please do not double space every line and you don't need redundant comments all over the place like that they make your code unreadable.

old_price = round((float(bitcoin_price)),2) # Turns the price to a float

That comment is useless because it is obvious what the code is doing. In fact that entire line is useless. Just use string formatting when you print the value and limit it to two decimal places like this

print("{0:.2f}".format(old_price))

also use string formatting instead of concatenation when you are printing as many variables as you are

pyformat.info/

Attached: 1461797347740.jpg (32 KB, 680x453)

SniperWish
SniperWish

unironically posting your code to Veeky Forums

If it was any good you wouldn't share it with us. Thanks for the laugh though.

Attached: 1501529221494.jpg (31 KB, 660x574)

TechHater
TechHater

dope, scale with rush and take api.

Fried_Sushi
Fried_Sushi

rust $$$

Garbage Can Lid
Garbage Can Lid

html scraping
you do know what APIs are, right user? there are even python wrapper libs that already exist for the cmc api

TreeEater
TreeEater

I'll be ok.

Attached: 2f7.jpg (28 KB, 601x508)

RumChicken
RumChicken

don't double space every line
nice b8 m8

Attached: (You).jpg (24 KB, 491x307)

Spamalot
Spamalot

Pair it with my bot and we could make bank. satoshibox.com/5j856nvvtk28eqb6nsuioc237

TurtleCat
TurtleCat

Apis seem cool, I'll play with it

BunnyJinx
BunnyJinx

Introduce a third party backdoor into my system

No thanks.

Dreamworx
Dreamworx

Lol. Dude, did you look at the code at all? It's open source, don't judge too quick. The author is actually an idiot. This is the most horribly done CS 101 assignment. He has zero skills in programming, let alone introducing a backdoor to your computer LMAO

ZeroReborn
ZeroReborn

WTF I just ran this script and now my etherdelta account got cleaned?? I thought you guys told me it was legit

viagrandad
viagrandad

neat script user! how about you turn that GMT time into local time based on where the user runs the script

Emberburn
Emberburn

Node.js is sexier than Python
I unironically masturbate to Node.js

Emberfire
Emberfire

You're a faggot. OP's script is alright. He even said hes not a python expert. That code looks fine you judgemental faggot. Lets see you sling some python

StrangeWizard
StrangeWizard

Does it receive an input from an outside source? Then it's a security hole.

SomethingNew
SomethingNew

Node.js + TypeScript is pretty amazing

VisualMaster
VisualMaster

Code is well formatted and clear. Good job OP. I’ll take it for a spin later.

Disable AdBlock to view this page

Disable AdBlock to view this page

Confirm your age

This website may contain content of an adult nature. If you are under the age of 18, if such content offends you or if it is illegal to view such content in your community, please EXIT.

Enter Exit

About Privacy

We use cookies to personalize content and ads, to provide social media features and to analyze our traffic. We also share information about your use of our site with our advertising and analytics partners.

Accept Exit