From 15c6326159bb0f2077e724aa6d1c8ddb8a1d0e0e Mon Sep 17 00:00:00 2001 From: Sonny Li Date: Sun, 30 Jun 2024 02:00:45 -0400 Subject: [PATCH] Update create-a-gif-with-python.mdx --- .../create-a-gif-with-python/create-a-gif-with-python.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/create-a-gif-with-python/create-a-gif-with-python.mdx b/projects/create-a-gif-with-python/create-a-gif-with-python.mdx index 38b0db63..2e990215 100644 --- a/projects/create-a-gif-with-python/create-a-gif-with-python.mdx +++ b/projects/create-a-gif-with-python/create-a-gif-with-python.mdx @@ -62,13 +62,13 @@ You can quickly check if the `imageio` package was successfully installed by ope Let’s open up a code editor like [VS Code](https://code.visualstudio.com) and create a new file called **create_gif.py**. -To use the `imageio` library, you need to import it in your code. The "v3" in the `import` statement means you're using version 3 of the `imageio` library: +To use the `imageio` library, you need to import it in your code: ```py import imageio.v3 as iio ``` -The `as` part allows you to give the library a shorter name to work with (a nickname/alias), making it more convenient. So we've renamed `imageio.v3` to `iio` moving forward. +The "v3" in the `import` statement means you're using version 3 of the `imageio` library. The `as` part allows you to give the library a shorter name to work with (a nickname/alias), making it more convenient. So we've renamed `imageio.v3` to `iio` moving forward. Now, run the code to make sure it works. Hopefully there's no error!