Page 41 - Python Basics: A Practical Introduction to Python 3
P. 41

2.4. Ubuntu Linux


            On some Linux installations, you can open IDLE with the following
            shortened command:

            $ idle3

            IDLE opens a Python shell in a new window. The Python shell is an
            interactive environment that allows you to type in Python code and
            execute it immediately. It’s a great way to get started with Python!

               Note

               While you’re free to use a code editor other than IDLE if you
               prefer, note that some chapters, especially chapter 7, “Finding
               and Fixing Code Bugs,” do contain material specific to IDLE.



            The Python shell window looks like this:




























            At the top of the window, you can see the version of Python that is
            running and some information about the operating system. If you see
            a version less than 3.9, then you may need to revisit the installation
            instructions in the previous section.






                                                                          40
   36   37   38   39   40   41   42   43   44   45   46