Search

Playwright

Installation

Introduction:

Playwright Test is an end-to-end test framework for modern web apps. It bundles test runner, assertions, isolation, parallelization and rich tooling. Playwright supports Chromium, WebKit and Firefox on Windows, Linux and macOS, locally or in CI, headless or headed, with native mobile emulation for Chrome (Android) and Mobile Safari.

Installing Playwright

Using npm, yarn or pnpm #

The command below either initializes a new project or adds Playwright to an existing one.

npm:
  • npm init playwright@latest
yarn:
  • yarn create playwright
pnpm:
  • pnpm create playwright

When prompted, choose / confirm:

  • TypeScript or JavaScript (default: TypeScript)
  • Tests folder name (default: tests, or e2e if tests already exists)
  • Add a GitHub Actions workflow (recommended for CI)
  • Install Playwright browsers (default: yes)
You can re-run the command later; it does not overwrite existing tests.

What's Installed#

Playwright downloads required browser binaries and creates the scaffold below.

playwright.config.ts         # Test configuration
package.json
package-lock.json            # Or yarn.lock / pnpm-lock.yaml
tests/
example.spec.ts                # Minimal example test

The playwright.config centralizes configuration: target browsers, timeouts, retries, projects, reporters and more. In existing projects dependencies are added to your current package.json.

tests/ contains a minimal starter test.

Running the Example Test#

By default tests run headless in parallel across Chromium, Firefox and WebKit (configurable in playwright.config). Output and aggregated results display in the terminal.

npm:
  • npx playwright test
yarn:
  • yarn playwright test
pnpm:
  • pnpm exec playwright test


Tips:
  • See the browser window: add --headed.
  • Run a single project/browser: --project=chromium.
  • Run one file: npx playwright test tests/example.spec.ts.
  • Open testing UI: --ui.
See Running Tests for details on filtering, headed mode, sharding and retries.

Locators:

Check: Check the input Checkbox

Ensure that checkbox or radio element checked.

syntax:

await page.getByRole('checkbox').check();

Ex: await page.getByRole('checkbox', { name: 'Accept Terms' }).check();

Manual Testing

Software:

Software is a collection of programs, data and instructions that tell a Computer how to perform specific tasks.

It is the non-physical(intangible) component of a Computer system that enables hardware to function.

Software can be categorized into two types


System Software:

These softwares are used to provide interface between the system components.

Application Software:

These are developed based on client business needs in order to perform their business activities

Application s/w divided into two types.


a. Product Based :- 

When we develop an application based on standard requirements, it can be sold to any customer in the market.

b. Project Based :- 

When an application is developed based on specific client requirements, it is delivered exclusively to that client.
 

It is a process used to identify the correctness and completeness and to measure the quality of a developed software application.

  • Software testing plays a key role in delivering reliable applications and minimizing project maintenance costs.
  • The primary objective pf software testing is defect identification, which in turn enhances software quality when resolved.
Defect :- It is a variation between the expected result and the actual result produced by the application under test.
  • Defect may also be known as a bug.

Correctness :- Validating that the implemented functionality performs as expected through operational testing.

Completeness :- Ensure that all client business requirements are addressed through the application's functionalities.


  • According to the development team, an application is qualified as a quality product when it meets all client requirements.
  • According to the client or end user, an application is considered high quality when it is fit for use and aligned with business requirements
Following are the major factors depends software quality:
  • Budget or Cost
  • In Time Release
  • Reliability
    1. Meet client requirements in terms of functionality
    2. Meet Client Expectations
Software Testing Methods :-
  • Manual Testing
  • Automation Testing
  • Performance Testing
  • Security Testing
Manual Testing :-

Manual testing involves verifying the application's actual behavior by performing operations or transactions without the use of automation tools. Test engineers prepare test cases to validate the application.

Advantages : Simple & Easy

Disadvantages : 
  • Time Consuming
  • Human Erros
  • In Efficient Results some time
Automation Testing :-






Python Playlist by NAL

Python & PyCharm Installation

In Market there are two python versions there i.e. Python2 & Python3. These two had some syntax differences are there. Now in the Market using Python 3 as latest.

How to download python and Steps to setup.
  • Download Python3
  • Type 'Download Python3' in google
  • Click on 'Python.org' website for download
  • Click on the Python Version and Download


  • Install the Python by following user guidelines.

    If  Python version not showing in CMD , you need to Configure Environment variables in a machine(Especially for windows machines).

    We can able to run Python3 code from Command prompt as well.



    Download and Install PyCharm (Python Editor IDE)

  • Search 'Download Pycharm' in google and click on website navigation.
  • Click on Download to 'Community Edition' for free.

  • After download, Install PyCharm by installation Guide lines.

Python Website Tutorial

Python is one of the most popular and widely used programming language in nowadays, because of its simplicity, extensive features and support of libraries. Python also have clean and simple syntax which makes it beginner-friendly, while it also provides powerful libraries and frameworks that makes it perfect for the developers.

Our Python tutorial thoroughly explains Python basics and advanced concepts, starting with installation, conditional statements, loops, built-in data structures, Object-Oriented Programming, Generators, Exception Handling, Python RegEx, and many other concepts. This tutorial is designed for beginners and working professionals.

What is Python?

Python is a general-purpose, dynamically typed, high-level, compiled and interpreted, garbage-collected, and purely object-oriented programming language that supports procedural, object-oriented, and functional programming.

Simple Python Program

print("Hello World!")  

Why Should You Learn Python?

Python provides many useful features to the programmer. These features make it the most popular and widely used language. We have listed below few-essential features of Python.


Ease to use and Learn:


Python has a simple and easy-to-understand syntax, unlike other languages such as C, C++, Java, etc., which makes it easier for the beginners to learn.


Object-Oriented Language:


It supports object-oriented programming, making writing reusable and modular code easy.


GUI Programming Support:


Python provides several GUI frameworks, such as Tkinter and PyQt, which allows developers to create desktop application easily.


Dynamic Memory Allocation:


Python automatically manages memory allocation which makes it easier for developers to write complex programs without worrying about memory management.


Wide Range of Libraries and Frameworks:


Python has a vast collection of libraries and frameworks, such as NumPy, Pandas, Django, and Flask, that can be used to solve a wide range of problems.


Versatility:


Python is a universal language in various domains such as web development, machine learning, data analysis, scientific computing, and more.


Where is Python Used?

Python is a general-purpose, popular programming language, and it is used in almost every technical field. The various areas of Python use are given below.


Data Science: Data Science is a vast field, and Python is an important language for this field because of its simplicity, ease of use, and availability of powerful data analysis and visualization libraries like NumPy, Pandas, and Matplotlib.


Artificial Intelligence: AI is an emerging Technology, and python is a perfect language for the artificial intelligence and machine learning because of the availability of powerful libraries such as TensorFlow, Keras, and Pytorch.


Machine Learning: Python is also widely used for machine learning because of its simplicity, ease of use and the availability of powerful machine learning libraries.


Data Analysis: Python is also used to create visualizations of data. It is also used to analyze the price trends and market predictions and automate workflows across multiple data sources.


Web Development: Python is used to develop websites and web applications. There are several popular frameworks like Django and Flask which are used to build web applications.


Python Popular Frameworks and Libraries

Python has wide range of libraries and frameworks widely used in various fields such as machine learning, artificial intelligence, web applications, etc. We define some popular frameworks and libraries of Python as follows.


Web development (Server-side) - Django Flask, Pyramid, CherryPy

GUIs based applications - Tkinter, PyGTK, PyQt, PyJs, etc.

Machine Learning - TensorFlow, PyTorch, Scikit-learn, Matplotlib, Scipy, etc.

Mathematics - NumPy, Pandas, etc.

BeautifulSoup: a library for web scraping and parsing HTML and XML

Requests: a library for making HTTP requests

SQLAlchemy: a library for working with SQL databases

Kivy: a framework for building multi-touch applications

Pygame: a library for game development

Pytest: a testing framework for Python Django

REST framework: a toolkit for building RESTful APIs

FastAPI: a modern, fast web framework for building APIs

Streamlit: a library for building interactive web apps for machine learning and data science

NLTK: a library for natural language processing


Java Tutorial

Java Tutorial

Java is an object-oriented, class-based, concurrent, secured and general-purpose computer programming language. It is a widely used robust technology.

What is Java ?

Java is a programming language and a platform. Java is a high-level, robust, object-oriented and secure programming language.

Java was developed by Sun Microsystems (which is now a subsidiary of Oracle) in the year 1995. James Gosling is known as the father of Java. Before Java, its name was Oak. Since Oak was already a registered company, so James Gosling and his team changed the name from Oak to Java.

Platform: Any hardware or software environment in which a program runs is known as a platform. Since Java has a runtime environment (JRE) and API, it is called a platform.

Java Example

Let's have a quick look at the Java programming example. A detailed description of the Hello World! example is available below.

public class Main{  

    public static void main(String args[]){  

     System.out.println("Hello, World!");  

    }  

}  

Getting Started

   Before diving into coding, we will need to set up your development environment. Java development typically requires the Java Development Kit (JDK), which includes the Java compiler and other essential tools. You can download the JDK from the official Oracle website and follow the installation instructions for your operating system.

Once we have the JDK installed, you can use a text editor or an Integrated Development Environment (IDE) like IntelliJ IDEA, Eclipse, or NetBeans to write and run your Java code. IDEs provide features such as code completion, debugging, and project management, making them invaluable tools for developers.

Application

According to Sun Microsystems, 3 billion devices run Java. There are various devices where Java is currently used. Some of them are as follows:

1. Desktop Applications such as Acrobat Reader, media player, antivirus, etc.

2. Web Applications such as irctc.co.in, tpointtech.com, etc.

3. Enterprise Applications such as banking applications.

4. Mobile

5. Embedded System

6. Smart Card

7. Robotics

8. Games, etc.

Types of Java Applications

There are the following 4-types of applications that can be created using Java programming:

1) Standalone Application

2) Web Application

3) Enterprise Application

4) Mobile Application

Java Platforms / Editions

There are four platforms or editions of Java:

1) Java SE (Java Standard Edition)

It is a Java programming platform. It includes Java programming APIs such as java.lang, java.io, java.net, java.util, java.sql, java.math etc. It includes core topics like OOPs, String, Regex, Exception, Inner classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection, Collection, etc.

2) Java EE (Java Enterprise Edition)

It is an enterprise platform that is mainly used to develop web and enterprise applications. It is built on top of the Java SE platform. It includes topics like Servlet, JSP, Web Services, EJB, JPA, etc.

3) Java ME (Java Micro Edition)

It is a micro platform that is dedicated to mobile applications.

4) JavaFX

It is used to develop rich Internet applications. It uses a lightweight user interface API.

Prerequisite

To learn Java, you must have a basic knowledge of C/C++ programming language.

Why Java Programming named "Java"?

Java is an island in Indonesia where the first coffee was produced (called Java coffee). It is a kind of espresso bean. Java name was chosen by James Gosling while having a cup of coffee nearby his office.

Features of Java



The primary objective of Java programming language creation was to make it portable, simple and secure programming language. Apart from this, there are also some excellent features which play an important role in the popularity of this language. The features of Java are also known as Java buzzwords.


A list of the most important features of the Java language is given below.

1.Simple

2.Object-Oriented

3.Portable

4.Platform independent

5.Secured

6.Robust

7.Architecture neutral

8.Interpreted

9.High Performance

10.Multithreaded

11.Distributed

12.Dynamic

Simple
  • Java is easy to learn, with a syntax that is simple, clean, and easy to understand. According to Sun Microsystems, Java is a simple programming language because:
  • Java syntax is based on C++, making it easier for programmers to learn after C++.
  • Java has eliminated many complex and seldom-used features, such as explicit pointers and operator overloading.
  • There is no need to remove unreferenced objects because Java has Automatic Garbage Collection.

Object-Oriented
  • Java is an object-oriented programming language where everything is an object. Object-oriented programming means that we organize our software as a combination of various types of objects that incorporate both data and behavior.


  • Object-Oriented Programming (OOP) is a methodology that simplifies software development and maintenance by providing specific rules.

The basic concepts of OOP are:

1. Object
2. Class
3. Inheritance
4. Polymorphism
5. Abstraction
6. Encapsulation

Portable
  • Java's portability allows programs to run on various platforms without modification. This is achievable because Java code is compiled into bytecode, which is independent of the underlying hardware and operating system. The JVM on each system interprets this bytecode, ensuring platform compatibility.

This portability makes Java ideal for cross-platform applications, allowing developers to write code once and run it anywhere with a compatible JVM. This key reason contributes to Java's widespread use in enterprise applications, web development, and mobile platforms.


full stack

 

Full Stack Developer

 

1. Front-End Development (Client-Side)

Core Technologies:

  • HTML: Structure web pages.
  • CSS: Style web pages for layout, colors, and fonts.
  • JavaScript: Add interactivity and dynamic behavior.

Advanced Front-End Skills:

  • CSS Frameworks:
    • Bootstrap: Responsive design.
    • Tailwind CSS: Utility-first CSS framework.
  • JavaScript Libraries and Frameworks:
    • React.js: Popular for creating component-based UI.
    • Angular: Full-featured framework for dynamic web applications.
    • Vue.js: Lightweight and flexible framework.

Front-End Build Tools:

  • npm/yarn: For managing JavaScript dependencies.
  • Webpack/Vite: Module bundlers to streamline front-end builds.

2. Back-End Development (Server-Side with Java)

Programming Language:

  • Java: Core language for building robust and scalable applications.

Back-End Frameworks:

  • Spring Framework:
    • Spring Boot: Simplifies building microservices and web applications.
    • Spring Security: Authentication and authorization.
    • Spring Data JPA: Database interaction with Java Persistence API (JPA).
  • Hibernate:
    • ORM (Object Relational Mapping) framework to interact with relational databases.

API Development:

  • RESTful APIs:
    • Build REST APIs using Spring Boot.
  • GraphQL:
    • Optional for building more efficient APIs.

3. Databases

Relational Databases:

  • MySQL
  • PostgreSQL
  • Oracle Database

NoSQL Databases:

  • MongoDB
  • Cassandra

ORM (Object-Relational Mapping):

  • Use Hibernate or Spring Data JPA for database interactions.

4. Tools and Version Control

  • Version Control: Git (GitHub, GitLab, Bitbucket).
  • Build Tools: Maven, Gradle.
  • IDE: IntelliJ IDEA, Eclipse, or VS Code.

5. DevOps and Deployment

Deployment Platforms:

  • Cloud Services:
    • AWS (Amazon Web Services)
    • Azure
    • Google Cloud Platform (GCP)
  • Web Servers:
    • Apache Tomcat
    • Nginx

Containerization and Orchestration:

  • Docker: For containerizing applications.
  • Kubernetes: For managing containers.

CI/CD:

  • Jenkins, GitHub Actions, or CircleCI for continuous integration and deployment.

6. Microservices Architecture

Learn to build scalable and modular applications:

  • Use Spring Boot to develop microservices.
  • Use Spring Cloud for service discovery, configuration management, and load balancing.
  • Understand API Gateway tools like Zuul or Spring Cloud Gateway.

7. Front-End and Back-End Integration

  • Use APIs to connect the front-end (React.js, Angular) with the back-end (Spring Boot).
  • Tools like Postman and Swagger to test APIs.

8. Additional Skills

  • Testing Frameworks:
    • JUnit, Mockito: Unit testing in Java.
    • Selenium: For automated UI testing.
  • Problem Solving:
    • Algorithms and data structures (e.g., LeetCode, HackerRank).
  • Soft Skills:
    • Team collaboration tools like Jira, Trello, Slack.
    • Agile development methodologies.

9. Learning Path

  1. Learn Java Basics:
    • Core Java: Syntax, OOP concepts, collections, multithreading, exception handling.
    • Advanced Java: JDBC, Servlets, JSP.
  2. Learn Front-End Basics:
    • HTML, CSS, JavaScript.
    • Choose a front-end framework (React.js, Angular, or Vue.js).
  3. Learn Back-End with Spring Boot:
    • Build RESTful APIs.
    • Connect APIs to a database using JPA/Hibernate.
  4. Practice Full-Stack Projects:
    • Build simple applications like a to-do app, blog, or e-commerce platform.
  5. Learn Deployment:
    • Deploy your app using Docker, AWS, or Kubernetes.
  6. Advanced Topics:
    • Explore microservices, cloud computing, and CI/CD pipelines.

10. Sample Java Full Stack Projects

  1. E-Commerce Website:
    • Front-End: React.js or Angular.
    • Back-End: Spring Boot with RESTful APIs.
    • Database: MySQL.
  2. Blog Application:
    • Use Spring Boot and MongoDB for backend and React.js for frontend.
  3. Task Management App:
    • Front-end with Vue.js.
    • Back-end using Spring Boot with Hibernate.
  4. Real-Time Chat App:
    • Use WebSockets with Spring Boot for backend and Angular for frontend.

 

 

 

Python full stack:

 

Python Full stack Developer Role:

  • Strong full stack development skills in Python with focus on OOP concepts, including frameworks like Django, flask, fast API
  • Experience with UI modern frameworks, like ReactJS
  • Good experience with MySQL - designing the database schema, writing queries, etc.
  • Experience with HTML, CSS
  • Knowledge of using Git and working with CI/CD toolchains
  • Knowledge of testing frameworks like pytest, unittest
  • Strong problem solving skills and solutioning complex problems
  • Experience in contributing to best coding practices and designing highly scalable, secure, and easy to maintain software solutions
  • Solid analytical skills with the ability to refine strategic, technical roadmaps and synthesizing to make improvements and recommendations
  • Must have worked in complex, cross-functional projects involving technology and business resources
  • Ability to continuously drive results, display a high level of confidence, inspire and motive team performance
  • Able to design, review and document high level and detail solutions
  • Able to work with leadership team for seeking help with architecture, driving continuous results
  • Provide hands-on support in implementing critical components across the entire stack, from front-end, middle-tier, back-end, infrastructure and data stores to automate and scale
  • Knowledge of core cloud services and serverless approaches, and infrastructure as a code
  • Working closely with Product owners and other stakeholders to understand the requirements and design software solutions to meet the product requirements

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

 

To become a Python Full Stack Developer, you'll need to master both front-end and back-end development with Python as the primary back-end technology. Here's a structured roadmap tailored for Python full stack development:


1. Front-End Development (Client-Side)

Core Technologies:

  • HTML: For structuring web pages.
  • CSS: For styling web pages.
  • JavaScript: For interactivity and dynamic behavior.

Advanced Skills:

  • CSS Frameworks: Bootstrap or Tailwind CSS for responsive design.
  • JavaScript Libraries/Frameworks:
    • React.js: Popular for building front-end UI components.
    • Vue.js: Lightweight front-end framework.
    • Angular: Full-featured framework for dynamic web apps.

Tools:

  • Package Managers: npm or Yarn.
  • Build Tools: Webpack, Vite, or Parcel.

2. Back-End Development (Server-Side with Python)

Key Frameworks:

  • Django: A high-level Python web framework that includes ORM, admin panel, and authentication.
  • Flask: A lightweight Python framework for building scalable web applications.
  • FastAPI: For building modern, fast, and asynchronous APIs.

Back-End Skills:

  • RESTful APIs: Building APIs to communicate with front-end.
  • Authentication: User management and token-based authentication (e.g., JWT, OAuth).
  • Middleware: Understanding and implementing middleware for requests/responses.

3. Databases

Learn to interact with databases for storing and retrieving data.

Relational Databases:

  • PostgreSQL
  • MySQL

NoSQL Databases:

  • MongoDB
  • Redis: For caching.

ORM (Object-Relational Mapping):

  • Django ORM: For database interaction in Django.
  • SQLAlchemy: Popular ORM used with Flask.

4. Front-End & Back-End Integration

  • Learn how to integrate Python back-end with front-end frameworks like React.js or Vue.js.
  • Use APIs (built using Django Rest Framework or Flask) to connect front-end to back-end.

5. DevOps and Deployment

Deploying your full stack applications is an essential skill.

Key Tools:

  • Docker: Containerization for application consistency across environments.
  • Heroku: Easy deployment for Python apps.
  • AWS or Google Cloud: For advanced deployments.
  • Gunicorn or uWSGI: For serving Python applications.
  • Nginx/Apache: Web servers for deployment.

CI/CD Pipelines:

  • Tools like GitHub Actions, Jenkins, or CircleCI for continuous integration and deployment.

6. Additional Skills

  • Version Control: Git and GitHub for code management.
  • Testing: Unit testing with unittest, integration testing with PyTest, or Django’s built-in testing tools.
  • WebSockets: For real-time communication using Django Channels or FastAPI.

7. Learning Path

  1. Start with Python:
    • Learn Python basics: syntax, data structures, OOP.
    • Work on small Python projects (e.g., calculator, web scraper).
  2. Learn Front-End:
    • Focus on HTML, CSS, and JavaScript basics.
    • Pick a front-end framework like React or Vue.js.
  3. Learn Back-End Frameworks:
    • Start with Flask for a simple understanding of back-end workflows.
    • Move to Django for full-stack applications.
    • Explore FastAPI for modern APIs.
  4. Work with Databases:
    • Learn database basics (SQL and NoSQL).
    • Practice connecting Python back-end with databases using ORM.
  5. Build Projects:
    • Examples:
      • Blog application with Django.
      • To-do list app with Flask and React.js.
      • E-commerce site with Django and a PostgreSQL database.
  6. Deploy Projects:
    • Deploy apps on platforms like Heroku, AWS, or Docker containers.

8. Sample Python Full Stack Project Ideas

  • E-Commerce Website: Build with Django (backend), React.js (frontend), and PostgreSQL (database).
  • Blog Platform: Create using Flask, SQLite, and Bootstrap.
  • Task Management App: Use FastAPI for APIs and integrate with Vue.js.
  • Real-Time Chat App: Build using Django Channels for WebSocket support and React.js for the front-end.

By mastering these technologies and building projects, you'll become a skilled Python Full Stack Developer capable of handling both client-side and server-side development.Top of Form

 

 

Bottom of Form

 

 

Java Questions

1. What is the use of the "this" keyword in Java?

  1. Referring to the instance variable when a local variable has the same name
  2. Passing itself to the method of the same class
  3. Passing itself to another method
  4. Calling another constructor in constructor chaining

    Answer: a

    Description: "this" is an important keyword in java. It helps to distinguish between local variable and variables passed in the method as parameters.

2. Which type of Java application uses GUI components like AWT, Swing, and JavaFX?
  1. Web Applications
  2. Standalone Applications
  3. Mobile Applications
  4. Distributed Applications

Answer: b

Description: Standalone applications use GUI components such as AWT, Swing, and JavaFX for desktop environments.

3. What is the primary role of the javac command in Java?

  1. To execute Java applications
  2. To compile Java source code into bytecode
  3. To manage Java packages
  4. To optimize Java code

Answer: b

Description: The javac command is used to compile Java source code into bytecode.

4. What is the purpose of the final keyword in Java?

  1. To create a constant variable
  2. To prevent method overriding
  3. To prevent inheritance
  4. All of the above

Answer: d

Description: The final keyword can be used to create constants, prevent method overriding, and prevent class inheritance.

5) When an array is passed to a method, what does the method receive?

  1. The reference of the array
  2. A copy of the array
  3. Length of the array
  4. Copy of the first element

Answer: a

Description: When an array is passed to a method, the method receives a reference to the original array, allowing it to modify the array's elements directly.

Python Boot Camp

Course Content

Section 1: Day 1 - Beginner - Working with Variables in Python to Manage Data

1. What you're going to get from this course

2. Start Here

3. Downloadable Resources and Tips for Taking the Course

4. Day 1 Goals: what we will make by the end of the day

5. Download and Setup PyCharm for Learning

6. Printing to the Console in Python

7. String Manipulation and Code Intelligence

8. The Python Input Function

9. Python Variables

10. Variable Naming

11. Day 1 Project: Band Name Generator

Section 2: Day 2 - Beginner - Understanding Data Types and How to Manipulate Strings

Section 3: Day 3 - Beginner - Control Flow and Logical Operators

Section 4: Day 4 - Beginner - Randomisation and Python Lists

Section 5: Day 5 - Beginner - Python Loops

Section 6: Day 6 - Beginner - Python Functions & Karel

Section 7: Day 7 - Beginner - Hangman

Section 8: Day 8 - Beginner - Function Parameters & Caesar Cipher

Section 9: Day 9 - Beginner - Dictionaries, Nesting and the Secret Auction

Section 10: Day 10 - Beginner - Functions with Outputs

Section 11: Day 11 - Beginner - The Blackjack Capstone Project

Section 12: Day 12 - Beginner - Scope & Number Guessing Game

Section 13: Day 13 - Beginner - Debugging: How to Find and Fix Errors in your Code

Section 14: Day 14 - Beginner - Higher Lower Game Project

Section 15: Day 15 - Intermediate - Local Development Environment Setup & the Coffee Machine

Section 16: Day 16 - Intermediate - Object Oriented Programming (OOP)

Section 17: Day 17 - Intermediate - The Quiz Project & the Benefits of OOP

Section 18: Day 18 - Intermediate - Turtle & the Graphical User Interface (GUI)

Section 19: Day 19 - Intermediate - Instances, State and Higher Order Functions

Section 20: Day 20 - Intermediate - Build the Snake Game Part 1: Animation & Coordinates

Section 21: Day 21 - Intermediate - Build the Snake Game Part 2: Inheritance & List Slicing

Section 22: Day 22 - Intermediate - Build Pong: The Famous Arcade Game

Section 23: Day 23 - Intermediate - The Turtle Crossing Capstone Project

Section 24: Day 24 - Intermediate - Files, Directories and Paths

Section 25: Day 25 - Intermediate - Working with CSV Data and the Pandas Library

Section 26: Day 26 - Intermediate - List Comprehension and the NATO Alphabet

Section 27: Day 27 - Intermediate - Tkinter, *args, **kwargs and Creating GUI Programs

Section 28: Day 28 - Intermediate - Tkinter, Dynamic Typing and the Pomodoro GUI Application

Section 29: Day 29 - Intermediate - Building a Password Manager GUI App with Tkinter

Section 30: Day 30 - Intermediate - Errors, Exceptions and JSON Data: Improving the Password

Section 31: Day 31 - Intermediate - Flash Card App Capstone Project

Section 32: Day 32 - Intermediate+ Send Email (smtplib) & Manage Dates (datetime)

Section 33: Day 33 - Intermediate+ API Endpoints & API Parameters - ISS Overhead Notifier

Section 34: Day 34 - Intermediate+ API Practice - Creating a GUI Quiz App

Section 35: Day 35 - Intermediate+ Keys, Authentication & Environment Variables: Send SMS

Section 36: Day 36 - Intermediate+ Stock Trading News Alert Project

Section 37: Day 37 - Intermediate+ Habit Tracking Project: API Post Requests & Headers

Section 38: Day 38 - Intermediate+ Workout Tracking Using Google Sheets

Section 39: Day 39 - Intermediate+ Capstone Part 1: Flight Deal Finder

Section 40: Day 40 - Intermediate+ Capstone Part 2: Flight Club

Section 41: Day 41 - Web Foundation - Introduction to HTML

Section 42: Day 42 - Web Foundation - Intermediate HTML

Section 43: Day 43 - Web Foundation - Introduction to CSS

Section 44: Day 44 - Web Foundation - Intermediate CSS

Section 45: Day 45 - Intermediate+ Web Scraping with Beautiful Soup

Section 46: Day 46 - Intermediate+ Create a Spotify Playlist using the Musical Time Machine

Section 47: Day 47 - Intermediate+ Create an Automated Amazon Price Tracker

Section 48: Day 48 - Intermediate+ Selenium Webdriver Browser and Game Playing Bot

Section 49: Day 49 - Intermediate+ Automating Job Applications on LinkedIn

Section 50: Day 50 - Intermediate+ Auto Tinder Swiping Bot

Section 51: Day 51 - Intermediate+ Internet Speed Twitter Complaint Bot

Section 52: Day 52 - Intermediate+ Instagram Follower Bot

Section 53: Day 53 - Intermediate+ Web Scraping Capstone - Data Entry Job Automation

Section 54: Day 54 - Intermediate+ Introduction to Web Development with Flask

Section 55: Day 55 - Intermediate+ HTML & URL Parsing in Flask and the Higher Lower Game

Section 56: Day 56 - Intermediate+ Rendering HTML/Static files and Using Website Templates

Section 57: Day 57 - Intermediate+ Templating with Jinja in Flask Applications

Section 58: Day 58 - Web Foundation Bootstrap

Section 59: Day 59 - Advanced - Blog Capstone Project Part 2 - Adding Styling

Section 60: Day 60 - Advanced - Make POST Requests with Flask and HTML Forms

Section 61: Day 61 - Advanced - Building Advanced Forms with Flask-WTForms

Section 62: Day 62 - Advanced - Flask, WTForms, Bootstrap and CSV - Coffee & Wifi Project

Section 63: Day 63 - Advanced - Databases and with SQLite and SQLAlchemy

Section 64: Day 64 - Advanced - My Top 10 Movies Website

Section 65: Day 65 - Web Design School - How to Create a Website that People will Love

Section 66: Day 66 - Advanced - Building Your Own API with RESTful Routing

Section 67: Day 67 - Advanced - Blog Capstone Project Part 3 - RESTful Routing

Section 68: Day 68 - Advanced - Authentication with Flask

Section 69: Day 69 - Advanced - Blog Capstone Project Part 4 - Adding Users

Section 70: Day 70 - Advanced - Git, Github and Version Control

Section 71: Day 71 - Advanced - Deploying Your Web Application

Section 72: Day 72 - Advanced - Data Exploration with Pandas: College Major v.s. Your Salary

Section 73: Day 73 - Advanced - Data Visualisation with Matplotlib: Programming Languages

Section 74: Day 74 - Advanced - Aggregate & Merge Data with Pandas: Analyse the LEGO Dataset

Section 75: Day 75 - Advanced - Google Trends Data: Resampling and Visualising Time Series

Section 76: Day 76 - Advanced - Beautiful Plotly Charts & Analysing the Android App Store

Section 77: Day 77 - Advanced - Computation with NumPy and N-Dimensional Arrays

Section 78: Day 78 - Advanced - Linear Regression and Data Visualisation with Seaborn

Section 79: Day 79 - Advanced - Analysing the Nobel Prize with Plotly, Matplotlib & Seaborn

Section 80: Day 80 - Advanced - The Tragic Discovery of Handwashing: t-Tests & Distributions

Section 81: Day 81 - Advanced - Capstone Project - Predict House Prices

Section 82: Day 82 - Professional Portfolio Project - [Python Scripting]

Section 83: Day 83 - Professional Portfolio Project - [Python Web Development]

Section 84: Day 84 - Professional Portfolio Project - [Python Scripting]

Section 85: Day 85 - Professional Portfolio Project - [GUI]

Section 86: Day 86 - Professional Portfolio Project - [GUI]

Section 87: Day 87 - Professional Portfolio Project - [Game]

Section 88: Day 88 - Professional Portfolio Project - [Web Development]

Section 89: Day 89 - Professional Portfolio Project - [Web Development]

Section 90: Day 90 - Professional Portfolio Project - [GUI Desktop App]

Section 91: Day 91 - Professional Portfolio Project - [HTTP Requests & APIs]

Section 92: Day 92 - Professional Portfolio Project - [Image Processing & Data Science]

Section 93: Day 93 - Professional Portfolio Project - [Web Scraping]

Section 94: Day 94 - Professional Portfolio Project - [GUI Automation]

Section 95: Day 95 - Professional Portfolio Project - [Game]

Section 96: Day 96 - Professional Portfolio Project - [HTTP Requests & APIs]

Section 97: Day 97 - Professional Portfolio Project - [Web Development]

Section 98: Day 98 - Professional Portfolio Project - [Python Automation]

Section 99: Day 99 - Professional Portfolio Project - [Data Science]

Section 100: Day 100 - Professional Portfolio Project - [Data Science]

Section 101: Final Stretch

…………………………..

Section 1 : Day 1 

Python Install and Pycharm setup

Download and Setup PyCharm for Learning

In the coming lessons, we'll be using the PyCharm Integrated Development Environment to learn to code. It's a completely free piece of software and is used by professional Python developers across the globe. They also have a handy course template feature, which we'll be using for the beginner parts of the lessons from Day 1 to 15. So while you might have another favourite code editor, I only recommend to use PyCharm for this course.

Step 1

Download and install Python to your computer. Head over to the official Python website to download the latest version of Python for your computer system. Then complete the installation.

https://www.python.org/downloads/

 Step 2

Download the Free Community Edition of PyCharm using the link below:

https://www.jetbrains.com/edu-products/download/#section=pycharm-edu

IMPORTANT: If you already have PyCharm, make sure you update to the latest version of PyCharm otherwise the steps below might not work!

 Step 3

Once PyCharm installs successfully, you should see the welcome screen. Click on the Learn tab and click "Enable Access".


Step 4

Once all the required plugins install successfully. Close and Restart PyCharm.

Step 5

Head over to the link below and click "Open in PyCharm".

https://plugins.jetbrains.com/plugin/25212-100-days-of-code--the-complete-python-pro-bootcamp?noRedirect=true

 

Step 6
Remember to sign the user agreement(or the projects won't open properly)


 Step 7

It should take you directly to the course. If it does not work, you can also go to File -> Learn and Teach -> Browse Courses.

 


 

  • Next, scroll down to find the course: 100 Days of Code - The Complete Python Pro Bootcamp and click "Start". You can also search for it in the search course area.

 


 

  • Now you should have access to the beginner course (Day 1 - Day 15) on PyCharm. You will be guided through the lessons to go from Task to Task (you can see the task numbers on the right pane e.g. 1 - 6 for Day1).

 


  • Printing to the Console in Python : Session 6
  • Hello World Example for Day1


  • if we enter Text in print method within double course, Python considered that is not a code, So it will display like output.
  • In Console displayed paths are related to 'Location of the execution file'
  • if we removed double course in print statement, syntax error will be displayed in console window after execution.

  • if syntax is wrong error existed line will be displayed in red color underlined.
  • if we we place a cursor on error existed line, tool tip will be displayed  like 'Missing closing quote ["]'.
  • Tick mark is displayed in editor indicates 'No problems found'.
Printing Practice:

Write a program that uses print statements to print following recipe into the Output console. The text to print is already there, you just need to make it into code. your code should print all five lines exactly the same as the example output below. Make sure that you don't change any of these existing text as everything, punctuation  and casing all need to match!


Code Exercise 1 : Program:




Example Output:


Session 7 String Manipulation
  • Multiple lines of text can be printed line by line by in single print statement using '\n' new line command.


  • String Concatenation/join example different ways


  • Python doesn't accept the spaces in code, it shows indentation errors


  • warning will be displayed if we make a white space in between 'print' and parenthesis. But code execution will be succeed.
Code Exercise 2 Debugging Practice Program 


after correct the code