Showing posts with label Projects. Show all posts
Showing posts with label Projects. Show all posts

Monday, 10 November 2025

Should You Buy a Desktop, All-In-One, or Laptop for Your Child Learning Programming?

 


Today’s parents face a new kind of confusion:

Which computer is best for kids who want to learn programming?

Should you go for a desktop, an all-in-one, or a laptop?

Let’s break it down in a simple, practical way so you can make a confident decision.


First Things First: What Does a Kid Need to Learn Programming?

No matter which device type you choose, make sure the computer has:

  • 8GB RAM minimum (16GB if budget allows)

  • SSD storage (not HDD — it keeps things fast)

  • A comfortable keyboard

  • A screen that does not strain the eyes

Kids learning programming do not need extremely expensive hardware.
However, they do need a comfortable and stable environment to code and practice.


Option 1: Desktop PC

A desktop consists of:

  • CPU cabinet (tower)

  • Monitor

  • Keyboard and mouse

Advantages

  • Best performance for the price

  • Can be upgraded later (RAM, storage, graphics, etc.)

  • Big screen means less eye strain and easier multitasking

  • Best for creating a proper study/coding setup

Disadvantages

  • Not portable

  • Needs some space

  • Requires separate components

Best For:

Kids who will study at home, especially serious learners (Python, Web Dev, Game Dev, AI later on).

Dell Vostro 3030 Tower Desktop Computer https://amzn.to/3JLtjX5

HP OMEN 16L RTX 5060 https://amzn.to/4hSrDHH



Option 2: All-In-One Desktop (AIO)

This looks like a monitor but has the computer built inside it.

Advantages

  • Clean and space-saving setup

  • Easy to place and use

  • Looks neat on a study table

Disadvantages

  • Limited upgrade options

  • If one part fails, repairs can be more expensive

  • Not really portable

Best For:

Kids who learn at home and parents who prefer minimal wires and a tidy setup.

HP AIO Desktop PC 54.5 cm (large screen home station) https://amzn.to/47MYmcR

Lenovo A100 AIO Desktop (budget friendly) https://amzn.to/47zkYPq

Option 3: Laptop

Laptop = portable computer, everything built together.

Advantages

  • Portable — can be used anywhere

  • Can be carried to school, workshops, coaching classes

  • Does not require a large desk

Disadvantages

  • For the same price, a laptop is less powerful than a desktop

  • Smaller screen can strain eyes over long hours

  • Limited upgrade options

  • Typing comfort is not as good as a full keyboard

Best For:

Kids who need flexibility, move around a lot, or share the computer between home and outside places.

Lenovo LOQ Gaming Laptop (high-spec) https://amzn.to/4i0KhgU

ASUS TUF Gaming A15 Laptop (mid-level) https://amzn.to/3X7L9GZ

HP Victus Gaming Laptop (value for serious dev)
https://amzn.to/3LuQ4iy

Comparison at a Glance

FeatureDesktop PCAll-in-OneLaptop
Performance Value⭐⭐⭐⭐    ⭐⭐⭐                    ⭐⭐
Upgrade Friendly⭐⭐⭐⭐    ⭐⭐                    
Portability    ⭐⭐                        ⭐⭐⭐⭐
Eye Comfort⭐⭐⭐⭐    ⭐⭐⭐⭐⭐ (unless external monitor used)
Ideal Use CaseSerious codingHome study setupStudy on the move

So Which One Should You Choose?

If your child is serious about programming:

Desktop PC is the best investment.

If your home space is limited and you want a neat setup:

All-in-One is a good compromise.

If your child needs portability and flexibility:

→ Go for a Laptop (but consider adding an external keyboard + monitor later for comfort).


My Recommendation (Straight and Simple)

SituationBest Choice
Child studies mostly at homeDesktop PC
Child studies in a small space with a single deskAll-In-One
Child travels to classes, school projects, coding workshopsLaptop

One More Important Tip

No matter what device you choose:
Invest in a proper study table and chair.

Good posture matters more than processor speed.



Thursday, 23 October 2025

The Ultimate Python Masterclass: Build 24 Python Projects

 


Introduction

Python is one of the fastest-growing programming languages in the world, thanks to its readability, versatility, and rich ecosystem. Whether you’re interested in automation, web development, data science, or machine learning, Python offers a gateway to many fields. The Ultimate Python Masterclass: Build 24 Python Projects is a course designed not just to teach you Python syntax, but to use Python by building real projects—24 of them. That means rather than passively watching videos, you’ll actively create and experiment, which is precisely how programming becomes skill rather than just knowledge.


Why This Course Matters

Learning programming can often feel abstract: syntax rules, data types, functions. But until you apply what you’ve learned in a project, the knowledge remains inert. This course flips that script: you learn by building. By doing 24 projects, you amass experience in writing code, solving problems, debugging, structuring your program, integrating modules, and seeing results. That’s the kind of experience many employers and practical programmers value.

Because the projects build on each other (or at least cover different aspects of Python), you also gain breadth: scripts, tools, applications, maybe small games or utilities. This broad exposure helps you decide which direction you want to head (web dev, data science, automation) and gives you confident familiarity with Python.


What You Will Learn / Course Structure

Here’s an overview of what the course typically covers:

1. Setup & Fundamentals

You begin by installing Python, setting up your IDE or editor, understanding how to run Python scripts, and getting comfortable with basic syntax: variables, data types, input/output, and basic control flow.

2. Control Flow & Data Structures

Next you dive into loops, conditionals, lists, dictionaries, sets, tuples—Python’s core data structures. You’ll build small scripts that manipulate data, process input, and produce output. These foundations are critical for any project.

3. Functions, Modules & Error Handling

Once you’re comfortable with data structures, the course moves into defining your own functions, using modules, organizing your code into reusable parts, and handling errors/exception. Good programming style begins here.

4. Object-Oriented Programming (OOP)

At this stage you’ll learn how to define classes and objects in Python—how to encapsulate data and behaviors, how to use inheritance or composition, and how to build more structured programs. This is important for larger projects.

5. Project-based Learning

The heart of the course is the 24 projects. Each project gives you a concrete goal: for example a text-processing tool, a mini game, a web scraper, a GUI utility, or an automation script. These projects integrate what you’ve learned and challenge you to apply it. You write, test, debug, and iterate.

6. Preparing for Real-World Use

By the end, you’ll not only know how to write Python code—but you’ll have a portfolio of projects you can show, and you will be ready to move into more specialized domains like web development (Flask/Django), data science (Pandas/Numpy), automation (scripts/tools), or even machine learning (basic pipelines).


Who Should Take This Course

This course is ideal if you are:

  • A complete beginner in programming who wants to learn Python from scratch.

  • Someone who already knows some programming but wants to strengthen Python skills by building actual projects.

  • A learner who prefers learning by doing—building projects rather than just watching theory.

  • Interested in automating tasks, building utilities, starting a Python-based portfolio, or exploring Python’s many use-cases.

If you’re already an experienced developer working on advanced projects, this course may seem basic—but it still offers value in filling gaps, building a portfolio, and reinforcing good habits.


What You’ll Walk Away With

After completing the course you will:

  • Be comfortable writing Python scripts and small applications.

  • Understand Python’s core syntax, data structures, functions, modules, and classes.

  • Have built 24 projects you can showcase—each demonstrating real coding practice.

  • Be ready to explore more advanced topics (web, data, machine learning) using Python.

  • Possess confidence in your ability to start, build, test and finish a Python project.


Tips to Get the Most Out of It

  • Do each project: don’t skip the coding. Build, run, break it, fix it. That’s how you learn.

  • Modify the projects: Once you finish a project, try adding a feature or changing logic. It deepens understanding.

  • Keep practicing daily: Even short daily practice helps more than long but sporadic sessions.

  • Use your own ideas: After finishing the course, pick your own project and apply what you’ve learned to it—this is where you solidify skills.

  • Document your work: Write comments, create README files for your projects, and add them to a GitHub repo. This builds your portfolio.


Join Free: The Ultimate Python Masterclass: Build 24 Python Projects

Final Thoughts

The Ultimate Python Masterclass: Build 24 Python Projects offers an engaging and practical path into Python programming. By emphasizing project completion over passive learning, it helps you build coding muscle, not just theory. If you’re ready to move from “learning about code” to “doing real code”, this course is a strong choice. Use it as a stepping stone into application development, automation, web dev or data science with Python.

Thursday, 16 October 2025

๐Ÿ’ป 30 Must-Have Products Every Laptop and Computer User Should Own

 


Whether you’re a student, programmer, content creator, or remote worker, your laptop or desktop setup can make or break your productivity. The right accessories not only improve comfort but also boost efficiency and protect your device.

Here’s a curated list of 30 essential products that make a real difference ๐Ÿ‘‡


๐Ÿ–ฅ️ Productivity & Comfort

1. Laptop Stand

A good laptop stand raises your screen to eye level, improving posture and preventing neck strain. It also enhances cooling by increasing airflow beneath your device.

2. External Keyboard

Typing for hours on a laptop keyboard can be tiring. An external keyboard offers better ergonomics and a more comfortable typing experience.

3. Ergonomic Mouse

An ergonomic mouse reduces wrist strain and helps prevent repetitive strain injuries — ideal for long work sessions.

4. Wrist Rest Pad

Supports your wrists while typing or using the mouse, keeping them aligned and relaxed.

5. Monitor Stand or Riser

If you use an external monitor, a stand helps you maintain the correct viewing height and keeps your workspace tidy.

6. Adjustable Chair

A proper ergonomic chair supports your spine and posture, essential for anyone spending hours at a desk.

7. Desk Mat

A large desk mat offers a smooth surface for your mouse and protects your desk from scratches or spills.


⚡ Power & Connectivity

8. USB-C Hub or Docking Station

Expands your laptop’s limited ports, allowing you to connect multiple devices, SD cards, or external monitors.

9. Power Bank for Laptops

Stay charged on the go. Modern power banks can power even high-end laptops and are great for travel.

10. Surge Protector / UPS

Protects your computer from power surges and unexpected outages that could damage hardware.

11. Cable Organizer Kit

Keeps cables neat and prevents the messy spaghetti look under your desk.

12. Extra Power Adapter

Having a spare charger in your bag or office saves time and stress when one goes missing.


๐Ÿ’พ Storage & Backup

13. External SSD 

Backup is essential! External drives offer fast, reliable storage for large files and projects.

14. Portable USB Drive

Quick and convenient for file sharing or moving data between computers.

15. Cloud Storage Subscription

Services like Google Drive or Dropbox keep your data secure and accessible anywhere.


๐Ÿ”Š Audio & Video

16. Noise-Cancelling Headphones

Perfect for focusing in noisy environments or during travel.

17. External Webcam

Upgrade your video call quality with a dedicated webcam for clear, professional visuals.

18. Microphone or Headset with Mic

Ensures crisp and clear audio during meetings, podcasts, or recordings.

19. Bluetooth Speakers

Enjoy music, meetings, or tutorials with great sound quality.


๐ŸŒฌ️ Cooling & Maintenance

20. Laptop Cooling Pad

Prevents overheating, extends hardware life, and improves performance during heavy use.

21. Cleaning Kit or Microfiber Cloth

Removes smudges, fingerprints, and dust without damaging your screen.

22. Compressed Air Duster

Cleans dust from keyboards, fans, and ports — essential for maintaining airflow.


๐Ÿ”’ Security & Protection

23. Laptop Sleeve or Bag

Protects your laptop from scratches and bumps while traveling.

24. Keyboard Cover

Shields your keyboard from dust, crumbs, and spills.

25. Screen Protector or Privacy Filter

Protects your display and ensures privacy when working in public places.

26. Laptop Lock (Kensington Lock)

Prevents theft by securing your device to a fixed object.


๐Ÿ’ก Extras & Upgrades

27. External Monitor

Dual screens can double your productivity — ideal for coding, design, or multitasking.

28. Wireless Keyboard & Mouse Combo

Frees your desk from cable clutter and adds flexibility.

29. Portable Wi-Fi Router / Hotspot

Ensures a stable internet connection while traveling or working remotely.

30. LED Desk Lamp with USB Port

Reduces eye strain and provides soft, focused lighting for late-night work sessions.


⚙️ Final Thoughts

A productive setup isn’t just about the computer — it’s about creating an environment that enhances your focus, comfort, and creativity. Even a few of these products can make your daily computing experience smoother and healthier.

Tuesday, 6 February 2024

Foundations of Project Management

 


What you'll learn

Describe project management skills, roles, and responsibilities across a variety of industries

Explain the project management life cycle and compare different program management methodologies 

Define organizational structure and organizational culture and explain how it impacts project management.

Join Free: Foundations of Project Management

There are 4 modules in this course

This course is the first in a series of six to equip you with the skills you need to apply to introductory-level roles in project management. Project managers play a key role in leading, planning and implementing critical projects to help their organizations succeed. In this course, you’ll discover foundational project management terminology and gain a deeper understanding of  the role and responsibilities of a project manager. We’ll also introduce you to the kinds of jobs you might pursue after completing this program. Throughout the program, you’ll learn from current Google project managers, who can provide you with a multi-dimensional educational experience that will help you build your skills  for on-the-job application. 

Learners who complete this program should be equipped to apply for introductory-level jobs as project managers. No previous experience is necessary.

By the end of this course, you will be able to:

- Define project management and describe what constitutes a project.
- Explore project management roles and responsibilities across a variety of industries.
- Detail the core skills that help a project manager be successful.
- Describe the life cycle of a project and explain the significance of each phase.
- Compare different program management methodologies and approaches and determine which is most effective for a given project.
- Define organizational structure and culture and explain how it impacts project management. 
- Define change management and describe the role of the project manager in the process.

Project Execution: Running the Project


 

What you'll learn

Implement the key quality management concepts of quality standards, quality planning, quality assurance, and quality control.

Demonstrate how to prioritize and analyze data and how to communicate a project’s data-informed story. 

Discuss the stages of team development and how to manage team dynamics.

Describe the steps of the closing process and create project closing documentation.

Join Free: Project Execution: Running the Project

There are 6 modules in this course

This is the fourth course in the Google Project Management Certificate program. This course will delve into the execution and closing phases of the project life cycle. You will learn what aspects of a project to track and how to track them. You will also learn how to effectively manage and communicate changes, dependencies, and risks. As you explore quality management, you will learn how to measure customer satisfaction and implement continuous improvement and process improvement techniques. Next, you will examine how to prioritize data, how to use data to inform your decision-making, and how to effectively present that data. Then, you will strengthen your leadership skills as you study the stages of team development and how to manage team dynamics. After that, you will discover tools that provide effective project team communication, how to organize and facilitate meetings, and how to effectively communicate project status updates. Finally, you will examine the steps of the project closing process and how to create and share project closing documentation. Current Google project managers will continue to instruct and provide you with hands-on approaches for accomplishing these tasks while showing you the best project management tools and resources for the job at hand.

Learners who complete this program should be equipped to apply for introductory-level jobs as project managers. No previous experience is necessary.

By the end of this course, you will be able to: 

 - Identify what aspects of a project to track and compare different tracking methods.
 - Discuss how to effectively manage and communicate changes, dependencies, and risks.
 - Explain the key quality management concepts of quality standards, quality planning, quality assurance, and quality control.
 - Describe how to create continuous improvement and process improvement and how to measure customer satisfaction.
 - Explain the purpose of a retrospective and describe how to conduct one. 
 - Demonstrate how to prioritize and analyze data and how to communicate a project’s data-informed story. 
 - Identify tools that provide effective project team communication and explore best practices for communicating project status updates.
 - Describe the steps of the closing process for stakeholders, the project team, and project managers.

Sunday, 17 December 2023

Python for Data Analysis: Pandas & NumPy

 


What you'll learn

Understand python programming fundamentals for data analysis

Define single and multi-dimensional NumPy arrays

Import HTML data in Pandas DataFrames

Join Free : Python for Data Analysis: Pandas & NumPy

About this Guided Project

In this hands-on project, we will understand the fundamentals of data analysis in Python and we will leverage the power of two important python libraries known as Numpy and pandas. NumPy and Pandas are two of the most widely used python libraries in data science. They offer high-performance, easy to use structures and data analysis tools. 

Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Friday, 24 November 2023

Introduction to Microsoft Excel (Free Course)

 


What you'll learn

Create an Excel spreadsheet and learn how to maneuver around the spreadsheet for data entry.

Create simple formulas in an Excel spreadsheet to analyze data.

Learn, practice, and apply job-ready skills in less than 2 hours

Receive training from industry experts

Gain hands-on experience solving real-world job tasks

Build confidence using the latest tools and technologies

About this Guided Project

By the end of this project, you will learn how to create an Excel Spreadsheet by using a free version of Microsoft Office Excel.  

Excel is a spreadsheet that works like a database. It consists of individual cells that can be used to build functions, formulas, tables, and graphs that easily organize and analyze large amounts of information and data. Excel is organized into rows (represented by numbers) and columns (represented by letters) that contain your information. This format allows you to present large amounts of information and data in a concise and easy to follow format. Microsoft Excel is the most widely used software within the business community. Whether it is bankers or accountants or business analysts or marketing professionals or scientists or entrepreneurs, almost all professionals use Excel on a consistent basis. 

You will learn what an Excel Spreadsheet is, why we use it and the most important keyboard shortcuts, functions, and basic formulas.

Join Free - Introduction to Microsoft Excel

Thursday, 16 November 2023

Data Science Coding Challenge: Loan Default Prediction (Free Project)

 


Objectives

Load, clean, analyze, process, and visualize data using Python and Jupyter Notebooks

Produce an end-to-end machine learning prediction model using Python and Jupyter Notebooks

Skills you’ll demonstrate

Data Science

Data Analysis

Python Programming

Machine Learning


About this Project

In this coding challenge, you'll compete with other learners to achieve the highest prediction accuracy on a machine learning problem. You'll use Python and a Jupyter Notebook to work with a real-world dataset and build a prediction or classification model.


Important Information:


How to register?


To participate, you’ll need to complete simple steps. First, click the “Start Project” button to register.


Next, you’ll need to create a Coursera Skills Profile, which only takes a few minutes. We’ll send you a profile link the week of the challenge.


When does the challenge start?


The coding challenge begins Tuesday, August 29th, at 8 AM (PST) and closes Thursday, August 31st, at 11:59 PM (PST). If you’re registered, you’ll receive a reminder email on the challenge start date. 


Please note this is a timed competition. Once the challenge is unlocked, you’ll have 72 hours to complete it. You can submit as many times as you would like within this timeframe.


What will the winners receive?


Participants will be evaluated based on their model’s prediction accuracy. The top 20% of participants will receive an achievement badge on their Coursera Skills Profile, highlighting their performance to recruiters.  The top 100 performers will get complimentary access to select Data Science courses.


All participants can showcase their projects to potential employers on their Coursera Skills Profile.


Winners will be notified by email the week of September 10th.


Good luck, and have fun!


Project plan

This project requires you to independently complete the following steps:

•Importing and preprocessing data


•Analyze the data


•Build machine learning models


•Evaluate machine learning models

Join Free -  Data Science Coding Challenge: Loan Default Prediction

Sunday, 12 November 2023

Introduction to Python

 


What you'll learn

Uses of Python

Python variables and input

Python Decisions and Looping


About this Guided Project

Learning Python gives the programmer a wide variety of career paths to choose from. Python is an open-source (free) programming language that is used in web programming, data science, artificial intelligence, and many scientific applications. Learning Python allows the programmer to focus on solving problems, rather than focusing on syntax. Its relative size and simplified syntax give it an edge over languages like Java and C++, yet the abundance of libraries gives it the power needed to accomplish great things.

In this tutorial you will create a guessing game application that pits the computer against the user. You will create variables, decision constructs, and loops in python to create the game.

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  • Task 1: How Python is Used

  • Task 2: Python Input and variables

  • Task3: Python Decisions

  • Challenge Task: Python Input and Decisions

  • Challenge Solution: Python Input and Decisions

  • Task 4: Python Loops

  • Task 5: Python Functions

  • Challenge Task: Python While Loops and Functions

  • Challenge Solution: Python While Loops and Functions

Join - Introduction to Python

Understanding Basic SQL Syntax

 


What you'll learn

Identify and use correct syntax when writing SQL retrieval queries.

Learn, practice, and apply job-ready skills in less than 2 hours

Receive training from industry experts

Gain hands-on experience solving real-world job tasks

Build confidence using the latest tools and technologies

About this Guided Project

In this project you will learn to identify and use correct syntax when writing SQL retrieval queries. Through hands-on activities in SQLiteStudio, you will gain experience with the SQL syntax used to display specific columns, filter for specific rows, and determine the sequence of those columns and rows in query output. Familiarity with SQL syntax is a marketable skill for both Information Technology professionals and non-IT super users.

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

•Describe basic SQL syntax rules along with requirements for the names of tables, and the naming and data type requirements for table columns (fields).

•Use the SELECT command and FROM clause to control the columns that are displayed and the order in which they display in query output.

•Limit the rows retrieved by an SQL query by applying the WHERE clause with one or more conditions.

•Use the ORDER BY clause to modify the sort order of the rows returned from an SQL retrieval query.

•Code an SQL retrieval query that uses the JOIN command to retrieve data rows from tables that are related via a common column.

Join - Understanding Basic SQL Syntax

Saturday, 11 November 2023

Mastering Data Analysis with Pandas

 


What you'll learn

Master data analysis and manipulation in Pandas and Python

Define and manipulate Pandas Series

Master Pandas Attributes, methods and math operations

Project Link - Mastering Data Analysis with Pandas

About this Guided Project

In this structured series of hands-on guided projects, we will master the fundamentals of data analysis and manipulation with Pandas and Python. Pandas is a super powerful, fast, flexible and easy to use open-source data analysis and manipulation tool. This guided project is the first of a series of multiple guided projects (learning path) that is designed for anyone who wants to master data analysis with pandas.


Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

•Introduction and Pandas Series Fundamentals

•Define a Pandas Series with Custom Index

•Define a Pandas Series from a Dictionary 

•Pandas Attributes

•Pandas Methods

•Import One Dimensional CSV Data 

•Pandas Built-in Functions

•Sorting Pandas Series

•Perform Math Operations on Pandas Series

•Check if a Given Element Exists in a Pandas Series

Friday, 3 November 2023

Getting Started With Game Development Using PyGame

 

About this Guided Project

In this 1-hour long project-based course, you will learn how to create a basic single-player Pong replica using the PyGame library for Python, creating a welcome screen, a game that responds to user input to move the paddle, scoring, and a game over screen with user options. By the end of the course, learners will have a basic understanding of the PyGame library and will be able to create simple games built on shapes. No previous experience with PyGame is required, as this is a basic introduction to the library, but familiarity with Python is recommended.

Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

Create the display and the ball

Add motion to the ball and a paddle

Detect collisions and create a Game Over screen

Expand game play options

Reset the game to continue play

Scorekeeping, randomizing, and expansion options

Join  - Getting Started With Game Development Using PyGame

Sunday, 1 October 2023

Clean and analyze social media usage data with Python

 



Objectives

Increase client reach and engagement

Gain valuable insights that will help improve social media performance

Achieve their social media goals and provide data-driven recommendations

Project plan

This project requires you to independently complete the following steps:

  • Import required libraries
  • Generate random data for the social media data
  • Load the data into a Pandas DataFrame and explore the data
  • Clean the data
  • Visualize and analyze the data

Join - Clean and analyze social media usage data with Python

Friday, 2 September 2022

Wednesday, 6 October 2021

Control structures [if elif]


Control structures 

if elif

  •    Whenever you want to execute certain commands only when the certain condition is satisfied. 
  •    So, in that case you can go for if else statements, the condition can also be single or you can also give multiple condition, in that case you will have multiple else statements.
  • In the image below you can see this, more clearly.

     



  • So, first we will look into the if else family of constructs, if else and If-elif-else are a family of constructs, where a condition is first checked, if it is satisfied only then the operations will be performed. 
  • If, the condition is not satisfied the code exits the construct or moves on to the other options. So, whenever we use just an if statement or with an else statement or with using multiple if's and multiple else clause. 
  • The first check would be the condition, whenever the condition is satisfied only then the code will be executed or the statement will be executed, otherwise the code exits the construct itself and moves to the other options. So, that is how the if else family of the constructs works. 


  • Let us see different task for each construct. So, first we will look into if construct, the command would be if expression colon and statements in the next line.
  • If is a key word, if the condition is satisfied whatever condition you have given it under the expression, then the statements will get executed. Otherwise, the code exit the construct itself. 
  • Next, we will move ahead and see what is the syntax would be for If-else construct
  • It forms a basis from the if construct, wherever we have given the first statement, using the if keyword and followed by if keyword you have to give the expression to be checked, that is where the condition to be specified.

Join us: https://t.me/jupyter_python

Tuesday, 5 October 2021

Operations On Dataframe in Python [Part II]


Concise summary of Dataframe.


  • So, next we are going to see about how to get the concise summary of DataFrame.

  • So, there is a command called info that returns a concise summary of a DataFrame, the concise summary includes the data type of index; index being the row labels, the data type of row labels is what the output gives as well as it gives the data type of columns, it also gives the count of non-null values.

  • Basically, how many filled values are there in your DataFrame. 

  • Also, it gives the memory usage of the DataFrame and the syntax would be you use the info command along with the DataFrame name.

Syntax = DataFrame.info()












Join us: https://t.me/jupyter_python

Wifi Password Generator in Python


WIFI PASSWORD EJECTOR

Description

  • a simple python script that tells you the password of the wifi you're connected with

Requirements

  • just need to install python in your system.




Source Code:- 

import subprocess

data = (
    subprocess.check_output(["netsh", "wlan", "show", "profiles"])
    .decode("utf-8")
    .split("\n")
)
profiles = [i.split(":")[1][1:-1] for i in data if "All User Profile" in i]
for i in profiles:
    results = (
        subprocess
        .check_output(["netsh", "wlan", "show", "profile", i, "key=clear"])
        .decode("utf-8")
        .split("\n")
    )
    results = [b.split(":")[1][1:-1] for b in results if "Key Content" in b]
    try:
        print("{:<30}|  {:<}".format(i, results[0]))
    except IndexError:
        print("{:<30}|  {:<}".format(i, ""))



Output:
















Join us: https://t.me/jupyter_python

Monday, 4 October 2021

Python Project [ Age_Calculator]


Calculate Your Age!

This script prints your age in three different ways :

  1. Years
  2. Months
  3. Days

Prerequisites

You only need Python to run this script. You can visit here to download Python.



Input:

import time
from calendar import isleap

# judge the leap year
def judge_leap_year(year):
    if isleap(year):
        return True
    else:
        return False


# returns the number of days in each month
def month_days(month, leap_year):
    if month in [1, 3, 5, 7, 8, 10, 12]:
        return 31
    elif month in [4, 6, 9, 11]:
        return 30
    elif month == 2 and leap_year:
        return 29
    elif month == 2 and (not leap_year):
        return 28


name = input("input your name: ")
age = input("input your age: ")
localtime = time.localtime(time.time())

year = int(age)
month = year * 12 + localtime.tm_mon
day = 0

begin_year = int(localtime.tm_year) - year
end_year = begin_year + year

# calculate the days
for y in range(begin_year, end_year):
    if (judge_leap_year(y)):
        day = day + 366
    else:
        day = day + 365

leap_year = judge_leap_year(localtime.tm_year)
for m in range(1, localtime.tm_mon):
    day = day + month_days(m, leap_year)

day = day + localtime.tm_mday
print("%s's age is %d years or " % (name, year), end="")
print("%d months or %d days" % (month, day))



Output :










Join us: https://t.me/jupyter_python

Python Project [Whatsapp Bot]

Whatsapp Bot

Perform Operation like

  1. Put your details
  2. connect with internet
  3. Pass your message

Input:

import pywhatkit
from datetime import datetime

now = datetime.now()

chour = now.strftime("%H")
mobile = input('Enter Mobile No of Receiver : ')
message = input('Enter Message you wanna send : ')
hour = int(input('Enter hour : '))
minute = int(input('Enter minute : '))

pywhatkit.sendwhatmsg(mobile,message,hour,minute)


Output :





Join us: https://t.me/jupyter_python

Popular Posts

Categories

100 Python Programs for Beginner (118) AI (150) Android (25) AngularJS (1) Api (6) Assembly Language (2) aws (27) Azure (8) BI (10) Books (251) Bootcamp (1) C (78) C# (12) C++ (83) Course (84) Coursera (298) Cybersecurity (28) Data Analysis (24) Data Analytics (16) data management (15) Data Science (216) Data Strucures (13) Deep Learning (67) Django (16) Downloads (3) edx (21) Engineering (15) Euron (30) Events (7) Excel (17) Finance (9) flask (3) flutter (1) FPL (17) Generative AI (47) Git (6) Google (47) Hadoop (3) HTML Quiz (1) HTML&CSS (48) IBM (41) IoT (3) IS (25) Java (99) Leet Code (4) Machine Learning (185) Meta (24) MICHIGAN (5) microsoft (9) Nvidia (8) Pandas (11) PHP (20) Projects (32) Python (1215) Python Coding Challenge (882) Python Quiz (341) Python Tips (5) Questions (2) R (72) React (7) Scripting (3) security (4) Selenium Webdriver (4) Software (19) SQL (45) Udemy (17) UX Research (1) web application (11) Web development (7) web scraping (3)

Followers

Python Coding for Kids ( Free Demo for Everyone)