Page 267 - Ai_C10_Flipbook
P. 267

The above code will create a new environment named myenvion with Python 3.12.7 and some basic
                           packages useful for working in it.
                             After  some  basic  process  of  installation  going  on  it  will  ask  your  confirmation  to  proceed  for
                           downloading the basic packages. Press ‘y’ to continue with the installation.






















                             After completing the installation process, you will see the screen given below: It shows that the new
                           virtual environment with the name myenvion has been successfully created.

                             Now to make the newly created virtual environment as active environment to work, type the given
                           command at the prompt sign:

                           conda activate myenvion
                             This  would  activate  the  virtual  environment  and  you  will  notice  the  change  in  the  name  of  the
                           environment from base → myenvion.




















                         Working with Jupyter Notebook


                 Jupyter Notebook is an open-source web-based tool that allows users to create and share documents containing
                 live code, equations, visualizations, and text. When used with Anaconda, Jupyter Notebook comes pre-installed,
                 making it easy to launch and manage projects. This powerful tool enables users to write and execute code in a
                 flexible interface, making it ideal for students, researchers, and developers alike.
                 To open Jupyter Notebook, follow these steps:

                 Step 1   Type Jupyter Notebook in the Search box beside the Start button.
                 Step 2   Click on Jupyter Notebook option.




                                                                                    Advance Python (Practical)  265
   262   263   264   265   266   267   268   269   270   271   272