Matrix movie still

How to Use Command Line (10 Commands) Windows & Mac

1. Alias With the command line, you can create an alias for a command. As an example, let’s create an alias surf that opens up medium.com. To open up medium.com via the command line you need to use open [URL] syntax: To create an alias surf for this command: 2. Create a new alias surf by adding the following into the .bash_profile: 3. Save the file and restart the

How to Use Command Line (10 Commands) Windows & Mac Read More »

Lambdas in Python

Lambdas in Python

Lambdas in Python are anonymous functions that take any number of arguments but only contain a single expression. As an example, here is a lambda that multiplies a number by three: This lambda isn’t particularly useful as-is because there’s no way to call it. However, you could assign it to a variable and then call

Lambdas in Python Read More »