Page 271 - Ai_C10_Flipbook
P. 271

The Settings Menu is used for:

                    • Switch between light and dark mode.
                    • Modify font size, line numbers, and syntax highlighting.
                    • Enable/disable auto-scrolling, cell numbering, and output scrolling.
                    • Configure autocomplete and linting for different programming languages.

                    • Modify JSON settings files for finer control.
                 Help Menu


                 Help Menu is used to:
                    •  Provide a list  of keyboard shortcuts to improve navigation and workflow in
                   notebooks.
                    • Provides the information on jupyter notebook.
                    • Provides  access  to  reference  materials  of  jupyter  notebook  and  the  various
                   python's packages.


                         Introduction to Python


                 Python is a general-purpose, object-oriented, easy-to-learn high-level programming language. Guido van Rossum

                 designed Python at Centrum Wiskunde & Informatica and released it in 1991. He wanted to give a unique  name,
                 so he named it after the famous BBC comedy TV show “Monty Python's Flying Circus”.
                 Python as a language supports simple English-like statements making it easy for programmers to learn and
                 maintain the code. It has both procedural and object-oriented programming approaches. These important points
                 make it more popular among the programmers.


                         Why Python for Artificial Intelligence?


                 There are many programming languages like Lisp, Prolog, C++, Java and Python, which can be used for
                 developing applications of AI. Python gained its popularity due to the following reasons:
                    • It is easy to Read, Write, Learn and Maintain: It has simple English-like statements which are easy to learn
                   and use. Anybody can easily get used to its syntax and gain expertise in it.
                    • Large Standard Library: Python has a large number of built-in modules and packages for handling various
                   types of problems especially related to AI. These important libraries make it popular specially in AI-based
                   programs where we need to focus more on its use and rather than its core design.
                    • Interactive Mode:  The  interactive  mode  in  Python  provides  flexibility  of  testing  and  debugging  the  code
                   snippets before implementing in actual AI model.
                    • Portability and Compatibility: Python supports multiple platforms like Windows, Linux, Mac, Raspberry, Pi,
                   etc. which means code written on one platform can easily run on another platform with little or no changes.  It
                   has the same interface on all platforms.
                    • Extendable: It allows the addition of low-level modules to the Python interpreter that helps a programmer to
                   customise their tools according to their requirements in an efficient manner.
                    • Databases and Scalability: Python provides support to all types of databases along with a better structure
                   and support so that it can hold increasing amounts of data without sacrificing performance for much larger
                   programs than shell scripting.
                                                                                    Advance Python (Practical)  269
   266   267   268   269   270   271   272   273   274   275   276