And if you're looking for something with a little more horsepower, a little more flexibility in the way that it allows you to work with the platform, and eventually can give you the ability to just write the document and code together that you need to explain what you want to convey, check out Jupyter Notebook and prepare to find yourself in an environment which truly makes coding and talking about that code far, far easier.
It's how I write my most complicated pieces while keeping them sane and coherent.
Nice writeup. Something you maybe left out that will be helpful for the new users is how to install bpython for Python 3.6 on Ubuntu: $ sudo apt-get install bpython3
A nice thing that I learned about running python programs that I didn't know until recently is to run it like this, it shows more verbose output:
$ python3 -Wd script.py
This is especially cool when you are doing web dev with Django or Flask.
For example if you are using django then you can do: $ python3 -Wd manage.py test -v 3
Looks good, I will have to try it out. Not that often I do things in the interactive shell but I might find it less annoying using this :)
I use it a lot when querying the blockchain and testing things. Although I use a database far more often nowadays.
Hello themarkymark!
Congratulations! This post has been randomly Resteemed! For a chance to get more of your content resteemed join the Steem Engine Team
Really nice subject
the truth that if it works well 30% of the time I'm happy hahaha, I'll take a look to see
Looks good, I will have to try it out
And if you're looking for something with a little more horsepower, a little more flexibility in the way that it allows you to work with the platform, and eventually can give you the ability to just write the document and code together that you need to explain what you want to convey, check out Jupyter Notebook and prepare to find yourself in an environment which truly makes coding and talking about that code far, far easier.
It's how I write my most complicated pieces while keeping them sane and coherent.
I love notebooks. When doing ML they are amazing. I use them more often than interactive.
Yes, notebooks are perfect for ML.
great tips! i started using python recently. so far i'm loving it. great post!
Nice writeup. Something you maybe left out that will be helpful for the new users is how to install bpython for Python 3.6 on Ubuntu:
$ sudo apt-get install bpython3
A nice thing that I learned about running python programs that I didn't know until recently is to run it like this, it shows more verbose output:
This is especially cool when you are doing web dev with Django or Flask.
For example if you are using django then you can do:
$ python3 -Wd manage.py test -v 3
Just can use
pip install bpython
Okay didn't know about that. Thanks. Btw voted for you for witness.