Sunday, October 5, 2025

Module#1 Introduction and Python Installation(அறிமுகம் மற்றும் Python நிறுவுதல்)

Module 1: அறிமுகம் மற்றும் Python நிறுவுதல் (Introduction and Python Installation) என்பதை Google Colab-ஐப் பயன்படுத்தி எவ்வாறு நடைமுறைப்படுத்துவது என்று பார்ப்போம். Google Colab என்பது Python நிரல்களை எழுதவும், இயக்கவும் உதவும் ஒரு மேகக்கணி அடிப்படையிலான தளம். இதற்கு உங்கள் கணினியில் Python-ஐ நிறுவ வேண்டிய அவசியமில்லை.


Module 1: அறிமுகம் மற்றும் Python நிறுவுதல் (Introduction and Python Installation)

1. Python என்றால் என்ன? (What is Python?)

  • Python என்பது ஒரு மிகவும் சக்திவாய்ந்த, எளிமையான, மற்றும் பல்துறை நிரலாக்க மொழி (versatile programming language).

  • இது 1991 இல் Guido van Rossum என்பவரால் உருவாக்கப்பட்டது.

  • Python-இன் முக்கிய நோக்கம், நிரல்களை எளிதாகவும், படிக்கக்கூடியதாகவும் எழுதுவதுதான். இதன் தொடரியல் (syntax) ஆங்கில மொழிக்கு நெருக்கமாக இருக்கும்.

2. Python எதற்குப் பயன்படுகிறது? (What is Python used for?)

Python பல துறைகளில் பரவலாகப் பயன்படுத்தப்படுகிறது:

  • வலை மேம்பாடு (Web Development): Django, Flask போன்ற Frameworks மூலம் இணையதளங்களை உருவாக்கலாம்.

  • தரவு அறிவியல் மற்றும் இயந்திர கற்றல் (Data Science & Machine Learning): NumPy, Pandas, Scikit-learn, TensorFlow போன்ற நூலகங்கள் (libraries) மூலம் தரவுகளை பகுப்பாய்வு செய்து, AI மாதிரிகளை உருவாக்கலாம்.

  • பயன்பாட்டு மேம்பாடு (Application Development): டெஸ்க்டாப் செயலிகளை உருவாக்கலாம்.

  • ஆட்டோமேஷன் (Automation): மீண்டும் மீண்டும் செய்ய வேண்டிய பணிகளை தானியங்குபடுத்தலாம்.

  • விளையாட்டு மேம்பாடு (Game Development): Pygame போன்ற நூலகங்கள் உள்ளன.

3. Python-ஐ ஏன் கற்க வேண்டும்? (Why learn Python?)

  • கற்றுக்கொள்ள எளிமையானது: இதன் எளிமையான தொடரியல் புதியவர்களுக்கு மிகவும் உதவியாக இருக்கும்.

  • படிக்கக்கூடியது: இதன் குறியீடு (code) மனிதர்களால் எளிதாகப் புரிந்துகொள்ளக்கூடியது.

  • பெரிய சமூகம் (Large Community): உங்களுக்கு ஏதேனும் சந்தேகம் ஏற்பட்டால், இணையத்தில் நிறைய ஆதரவு கிடைக்கும்.

  • பல்துறை (Versatile): பல்வேறு வகையான பணிகளுக்குப் பயன்படுத்தலாம்.

  • நல்ல வேலைவாய்ப்புகள்: தரவு அறிவியல், AI போன்ற துறைகளில் Python வல்லுநர்களுக்கு நல்ல தேவை உள்ளது.

4. Python-ஐ நிறுவுதல் (Google Colab பயன்படுத்தி)

பொதுவாக Python-ஐ நம் கணினியில் நிறுவலாம். ஆனால், கற்றல் தொடங்கும் போது, Google Colab போன்ற ஆன்லைன் தளங்களைப் பயன்படுத்துவது மிகவும் எளிது. இது உங்களுக்கு எந்த மென்பொருளையும் நிறுவ வேண்டிய தேவையை நீக்கும்.

Google Colab என்றால் என்ன?

Google Colab என்பது Google வழங்கும் ஒரு இலவச cloud-based Jupyter Notebook சேவை. இது உங்கள் Google கணக்குடன் செயல்படும். Python குறியீடுகளை எழுதவும், இயக்கவும், பகிரவும் இதை நீங்கள் பயன்படுத்தலாம்.

Google Colab-ஐப் பயன்படுத்துவதற்கான படிகள்:

  1. Google கணக்கில் உள்நுழையவும்: உங்களிடம் Google கணக்கு (Gmail) இல்லையென்றால், ஒன்றை உருவாக்கவும்.

  2. Google Colab-க்கு செல்லவும்: உங்கள் இணைய உலாவியில் colab.research.google.com என்று தட்டச்சு செய்து செல்லவும்.

# Python அறிமுகம்

 Here's a structured curriculum for teaching Python Basics in Tamil, broken down into 10 modules:

Python அடிப்படைகள் (Python Basics) - தமிழ் வழி (In Tamil)

Module 1: அறிமுகம் மற்றும் Python நிறுவுதல் (Introduction and Python Installation)

  • Python என்றால் என்ன? (What is Python?)

  • Python எதற்குப் பயன்படுகிறது? (What is Python used for?)

  • Python-ஐ ஏன் கற்க வேண்டும்? (Why learn Python?)

  • Python-ஐ நிறுவுதல் (Windows, macOS, Linux) (Installing Python)

  • முதல் நிரல்: "உலகே வணக்கம்!" (First program: "Hello World!")

Module 2: Python நிரல் அமைப்பு மற்றும் தொடரியல் (Python Program Structure and Syntax)

  • நிரலின் அடிப்படை அமைப்பு (Basic structure of a program)

  • வரி கருத்துகள் (#) (Line comments)

  • அடைப்புக்குறிகள் மற்றும் உள்ளிழுத்தல் (Indentation) (Parentheses and indentation)

  • கூற்றுக்கள் மற்றும் வெளிப்பாடுகள் (Statements and Expressions) (Statements and expressions)

  • நிரலை இயக்குவது எப்படி? (How to run a program?)

Module 3: மாறிகள் மற்றும் தரவு வகைகள் (Variables and Data Types)

  • மாறிகள் என்றால் என்ன? (What are variables?)

  • மாறிகளுக்குப் பெயர் சூட்டும் விதிகள் (Rules for naming variables)

  • முழு எண்கள் (Integers) (Integers)

  • தசம எண்கள் (Floats) (Floats)

  • சரங்கள் (Strings) (Strings)

  • பூலியன் (Boolean) (Boolean)

  • தரவு வகைகளை மாற்றுதல் (Type Conversion) (Type conversion)

Module 4: இயக்கிகள் (Operators)

  • கணித இயக்கிகள் (+, -, *, /, %, **, //) (Arithmetic operators)

  • ஒப்பீட்டு இயக்கிகள் (==, !=, <, >, <=, >=) (Comparison operators)

  • தருக்க இயக்கிகள் (and, or, not) (Logical operators)

  • அசைன்மென்ட் இயக்கிகள் (=, +=, -=, etc.) (Assignment operators)

  • முன்னுரிமை (Operator Precedence) (Operator Precedence)

Module 5: கட்டுப்பாட்டு ஓட்டம் - நிபந்தனை கூற்றுக்கள் (Control Flow - Conditional Statements)

  • if கூற்று (if statement)

  • if-else கூற்று (if-else statement)

  • if-elif-else கூற்று (if-elif-else statement)

  • உள்ளிழுக்கப்பட்ட if கூற்றுக்கள் (Nested if) (Nested if statements)

  • எடுத்துக்காட்டுகள் (Examples)

Module 6: கட்டுப்பாட்டு ஓட்டம் - சுழற்சிகள் (Control Flow - Loops)

  • for சுழற்சி (for loop)

  • range() செயல்பாடு (range() function)

  • while சுழற்சி (while loop)

  • break மற்றும் continue கூற்றுக்கள் (break and continue statements)

  • உள்ளிழுக்கப்பட்ட சுழற்சிகள் (Nested loops) (Nested loops)

  • எடுத்துக்காட்டுகள் (Examples)

Module 7: சரங்கள் மற்றும் பட்டியல்கள் (Strings and Lists)

  • சரங்களை உருவாக்குதல் மற்றும் அணுகுதல் (Creating and accessing strings)

  • சர செயல்பாடுகள் (String methods) (String methods)

  • பட்டியல்கள் என்றால் என்ன? (What are lists?)

  • பட்டியல்களை உருவாக்குதல் மற்றும் அணுகுதல் (Creating and accessing lists)

  • பட்டியல் செயல்பாடுகள் (List methods) (List methods)

  • உள்ளிழுக்கப்பட்ட பட்டியல்கள் (Nested lists) (Nested lists)

Module 8: அகராதிகள் மற்றும் தொகுப்புகள் (Dictionaries and Tuples)

  • அகராதிகள் என்றால் என்ன? (What are dictionaries?)

  • அகராதிகளை உருவாக்குதல் மற்றும் அணுகுதல் (Creating and accessing dictionaries)

  • அகராதி செயல்பாடுகள் (Dictionary methods) (Dictionary methods)

  • தொகுப்புகள் என்றால் என்ன? (What are tuples?)

  • தொகுப்புகளை உருவாக்குதல் மற்றும் அணுகுதல் (Creating and accessing tuples)

  • தொகுப்பு மற்றும் பட்டியல் வேறுபாடுகள் (Tuple vs List differences)

Module 9: செயல்பாடுகள் (Functions)

  • செயல்பாடு என்றால் என்ன? (What is a function?)

  • செயல்பாடுகளை வரையறுத்தல் (def) (Defining functions)

  • செயல்பாடுகளை அழைத்தல் (Calling functions)

  • செயல்பாடு அளவுருக்கள் (Parameters) மற்றும் ஆர்குமென்ட்கள் (Arguments) (Function parameters and arguments)

  • திரும்பும் மதிப்பு (Return value) (Return value)

  • உள்ளிழுக்கப்பட்ட செயல்பாடுகள் (Nested functions) (Nested functions)

  • Lambda செயல்பாடுகள் (Lambda functions)

Module 10: தொகுப்புகள் மற்றும் தொகுதிகள் (Packages and Modules)

  • தொகுதிகள் என்றால் என்ன? (What are modules?)

  • ஒரு தொகுதியை இறக்குமதி செய்தல் (import) (Importing a module)

  • பொதுவான Python தொகுதிகள் (உதாரணமாக: math, random) (Common Python modules)

  • தொகுப்புகள் என்றால் என்ன? (What are packages?)

  • நமது சொந்த தொகுதிகளை உருவாக்குதல் (Creating our own modules)

  • pip மூலம் தொகுப்புகளை நிறுவுதல் (Installing packages with pip)

This curriculum provides a solid foundation for beginners. You can expand on each topic with more detailed explanations, coding examples, and exercises.

Here's an image to represent the idea of learning Python basics:





#1 Polar vs Pandas

Simple Program to explain the speed, Memory Usage  using polar > pandas. import pandas as pd import polars as pl import numpy as ...