Page 395 - Computer_Science_F5
P. 395

Computer Science  Overview of Python          (d)  Interpreted language: Python code
                                                         is executed line by line by the
           Python is an interpreted, high-level
                                                         Python interpreter, facilitating rapid
           programming language known for its
                                                         development and prototyping.
           simplicity, readability, and versatility.
           It prioritises code readability and
          FOR ONLINE READING ONLY
           expressiveness, using a clean and
           concise syntax. Python supports multiple   Applications:
                                                     (a)  Web development:  Python offers
           programming paradigms, including              frameworks like Django and Flask
           procedural, object-oriented, and functional   for building web applications and
           programming.                                  APIs.

                                                     (b)  Data science and machine learning:
           Features:                                     Python is used with libraries such as
           (a)  Readability: Python has a clear and      NumPy, Pandas, and TensorFlow for
                intuitive syntax, making it easy to      data analysis and machine learning.
                learn and understand.                (c)  Scripting and automation: Python is
           (b)  Dynamically typed: Python allows         commonly used for writing scripts
                variables to be dynamically typed,       to automate tasks, perform system
                enabling flexible and concise code.      administration, and conduct software
           (c)  Extensive standard library: Python       testing.
                comes with a large collection of     (d)  Education: Python is widely used
                modules and packages for various         in academic institutions to teach
                tasks, reducing the need for external    programming and computer science
                dependencies.                            concepts.


           Introduction to python OOP
           Python is a programming language that is highly regarded for its simplicity and
           readability. It is an interpreted language, meaning that it does not require compilation
           before running. Created by Guido van Rossum and introduced in 1991, Python has
           gained popularity in multiple fields including web development, data analysis, artificial
           intelligence, scientific computing, and more.


           Setting up Python environment: Installation


               Activity 6.1:

             Checking if python is installed on Windows PC

             Aim:
             To guide in checking if Python is already installed on Windows PC


                                                 386
                                                                for Advanced Secondary Schools



     Computer Science Form 5.indd   386                                                     23/07/2024   12:34
   390   391   392   393   394   395   396   397   398   399   400