David Amos Profile picture
Author, technical writer, and recovering mathematician. He/him. New book ➡ https://t.co/n4R2oow8N9…
Apr 6, 2022 28 tweets 4 min read
Day 3 of "Learn IPython in 10 Days" is HERE 🚀🐍

Learn how IPython reduces context switching by giving you access to the system shell from within the REPL itself.

Read the full tutorial, or continue reading this thread for the condensed version.

davidamos.dev/using-ipython-… You can execute system shell commands from within IPython by prepending them with the ! character.

Everything on the line after the ! gets passed verbatim to your system shell.
Apr 5, 2022 29 tweets 6 min read
DAY 2 of Learn IPython in 10 Days is HERE 🚀

Read the lesson on the course website, or view the rest of this thread for a condensed version!

davidamos.dev/ipython-basics/ One of the first things you'll notice about IPython is the syntax highlighting: Image
Apr 4, 2022 21 tweets 5 min read
The built-in Python shell is BORING 🥱

You deserve a better Python REPL 🐍 🔥

That’s why I’m starting this free 10-day mini-course to teach you how to effectively use the IPython REPL.

ipython.readthedocs.io/en/stable/inde… For the next 10 days I’ll tweet a short thread with some tips for getting the most out of IPython.

We’ll cover everything from getting IPython installed to mastering magic commands and more.

You’ll learn how IPython can reduce friction in dev workflows and boost productivity.
Feb 22, 2022 14 tweets 4 min read
The #JuliaLang REPL is amazing.

Here are 3 things I love about it: 1/ The Built-in Package Manager

With the Julia REPL open, press the right square bracket ] to drop into the 𝙿𝚔𝚐 REPL where you can install packages and manage Julia environments.

There's no need to install a separate package manager. It comes with every Julia install.
Feb 9, 2022 8 tweets 3 min read
Today's #JuliaLang doodle with Javis.jl is recreating a classic... Look closely at the circles. Are the curving at all?

Here's the code:

(I'm sure there's a better way to do this, I just haven't completely figured out Javis yet!)
Feb 8, 2022 17 tweets 3 min read
A Tale of Two NaNs (A #Python 🧵)

(Plus a bonus experiment in Twitter fonts that may end disastrously) NaNs are annoying.

You can’t tell if they’re in a list:

>>> 𝚏𝚕𝚘𝚊𝚝(“𝚗𝚊𝚗”) 𝚒𝚗 [𝟷, 𝟸, 𝚏𝚕𝚘𝚊𝚝(“𝚗𝚊𝚗”)]
𝙵𝚊𝚕𝚜𝚎
Feb 8, 2022 5 tweets 2 min read
I've learning to make animations with Javis.jl and came up with this little doodle tonight. Nothing fancy, just getting my feet wet! And here's the code: Image