“Python is a general-purpose language. It is a fairly old language created by Guido Van Rossum. The design began in the late 1980s and was first released in February 1991. It has a wide range of applications from Web development (like Django and Flask), scientific and mathematical computing (Orange, SymPy, NumPy) to desktop graphical user Interfaces”.
In B. S. Anangpuria Institute of Technology & Management at our department of Computer Science & Engineering, in the first Part, we start with basics of Python Language like Basic Operators, Conditional Statements, Looping, Control Statements, String, Manipulation, Collections (Lists, Tuples, Dictionaries).
The Second part let students learn various inbuilt Modules/Packages like Time, Sys etc., OOP concepts and File Handling etc. These basics lead the students in writing and running Python scripts to more advanced features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules.
The Third Part that we start is with GUI Programming in Python. Python provides various options for developing graphical user interfaces (GUIs). A Tkinter is the standard GUI library for Python. Python, when combined with Tkinter, provides a fast and easy way to create GUI applications. Tkinter provides us with a variety of common GUI elements which students can use to build our interfaces – such as buttons, menus and various kinds of entry fields and display areas. We call these elements widgets.
The widget classes in Tkinter provides with a lot of default functionality. They have methods for configuring the GUI’s appearance – for example, arranging the elements according to some kind of layout – and for handling various kinds of user-driven events. Once students have constructed the backbone of their GUI, they will need to customize it by integrating it with our internal application class.
The fourth part starts with Database Connectivity. As we know, a database is a repository of information managed by a database engine which ensures the integrity of data and fast access to the data. The database is important in the context of many kinds of applications. Whenever an application needs to store data persistently and to access this data regularly, the database is required. A database can be as simple as a document file or an Excel spreadsheet, or it can be as big and complex as a SQL database like Oracle. So this complete Database part will surely help students to design a good Database in their applications.
At last, we start with How to develop applications using Web Framework. A Web Framework makes it easier to reuse code for common HTTP operations and to structure projects so students with knowledge of the framework can quickly build and maintain the application. Web frameworks are a concept implemented by Django, Flask, Bottle and several other libraries. Frameworks provide functionality in their code or through extensions to perform common operations required to run web applications. These common operations include URL routing, HTML, XML, JSON, and other output format templating, Database manipulation, Security against Cross-site request forgery (CSRF) and other attacks, Session storage and retrieval.