OOPS with Python and packages

Python Chapter summary - Unit 1 Unit 1 Python Fundamentals: An Introduction to Python programming: Introduction to Python, IDLE to develop programs; How to write your first programs: Basic coding skills, data types and variables, numeric data, string data, five of the Python functions; Control statements: Boolean expressions, selection structure, iteration structure; Define and use Functions and Modules: define and use functions, more skills for defining and using functions and modules, create and use modules, standard modules Contents What is python? Python is a high level interpreted language that is preffered in rapid development of programs due to it’s easy and simple syntax. IDLE IDLE is the short form of integrated development learning environment. Data types in python int(5), string(’this is a string’ or this is a string), tuple( (5,3,5) ), float(5.3), bool(true/false) … Python interation structure Unlike other languages python uses indententation instead of using brackets. Comments Comments are a piece of code that is essentially “dead code” these are essential to show the programmer what the code does and not to do anything. Comments in python - ...

November 23, 2023 · 25 min · 5176 words · Aum Pauskar

OOPS with Java

Java tutorial Java is a cross platform compiled language that uses jvm (java virtual machine) that can be used in any machine no matter the hardware or software, provided the machine supports jvm FYI The object class is the root of all classes Data can be gatered with the scanner method in the java library but cannot cater charecter type data with the standard library. Those can be gathered by sc = next().charat(0) Hello world Code ...

November 16, 2023 · 22 min · 4594 words · Aum Pauskar

Virtualenv

Python virtual environment Python virtual environemt is a program that aids in creating a serperate virtual environment for each project Requiremnets Python 3 Pip Steps Installing virtual environemnt package 1 pip install virtualenv Creating virtual environent Windows - cmd/powershell 1 py -m venv {your_env_name} Linux 1 python3 -m venv myworld Activating virtual environemt Windows - cmd 1 myworld\Scripts\activate.bat Windows - powershell 1 myworld\Scripts\activate.ps1 Linux ...

November 16, 2023 · 1 min · 76 words · Aum Pauskar