This document provides an overview and tutorial for the Python programming language. It discusses Python's history and features, how to set up the Python environment and run Python programs, Python's basic syntax including variables, operators, and control flow structures, built-in data types like numbers, strings, lists, and dictionaries, and many Python functions and methods. The tutorial is designed for new Python programmers to learn the fundamentals of the language.
This document provides an overview and tutorial on the Python programming language. It discusses Python's history and features, how to set up a Python environment and run Python programs, Python's basic syntax including variables, operators, control flow and functions. It also covers built-in data types like numbers, strings, lists, tuples and dictionaries, modules, files I/O, object-oriented programming concepts in Python and more. The tutorial is designed for programmers new to Python.
Python is a general-purpose, interpreted, interactive, object-oriented and high-level
programming language. Python was created by Guido van Rossum in the late eighties and
early nineties. Like Perl, Python source code is also now available under the GNU General
Public License (GPL).
This document provides an overview and tutorial on the Python programming language. It discusses Python's history and features, how to set up the Python environment and get started with the language. It then covers Python's basic syntax, variable types, operators, and decision-making constructs like if/else statements. The tutorial is designed for beginners to help them learn Python programming from scratch.
This document provides an overview of the Python programming language. It discusses Python's history, features, and environment setup. Python is an interpreted, interactive, object-oriented programming language created by Guido van Rossum in 1991. It includes high-level data structures, supports object-oriented programming, and is extensible via modules. The document also covers installing Python, running Python programs, basic syntax, variables, operators, and input/output.
The document provides an overview of the Python programming language. It discusses Python's history, features, and environment setup. Python is an interpreted, interactive, object-oriented programming language created by Guido van Rossum in 1991. It includes high-level data structures, supports OOP and functional programming, and has a large standard library. The document also covers installing Python, running Python programs, basic syntax, variables, operators, and data types.
This document provides an overview, prerequisites, and table of contents for a tutorial on learning the Python programming language from scratch. It is designed for software programmers who want to learn Python. The tutorial will cover Python's history and features, setting up a local environment to run Python, basic syntax like variables, data types, operators, and decision making statements. It will also discuss how to get and install Python, set environment paths, run Python programs, and handle command line arguments. The content is copyrighted and users are prohibited from redistributing it without permission.
This document provides an overview and tutorial for Python 3. It discusses the key differences between Python 3 and Python 2, including changes to print statements, integer division, and exceptions. It also covers setting up a Python development environment, basic Python syntax like identifiers, comments, and data types. The tutorial is designed for programmers looking to upgrade their Python skills to version 3 and also serves as an introduction for learning Python from scratch.
This document provides an overview and tutorial for Python 3. It discusses the key differences between Python 3 and Python 2, how to set up the Python environment, basic Python syntax, variables, operators, and built-in data types. It also covers core programming concepts like decision making, loops, functions, modules, date/time handling, files I/O, and more. The tutorial is designed for programmers looking to learn or upgrade their skills to Python 3.
This document provides an overview and tutorial on the Python programming language. It discusses Python's history and features, how to set up a Python environment and run Python programs, Python's basic syntax including variables, operators, control flow and functions. It also covers built-in data types like numbers, strings, lists, tuples and dictionaries, modules, files I/O, object-oriented programming concepts in Python and more. The tutorial is designed for programmers new to Python.
Python is a general-purpose, interpreted, interactive, object-oriented and high-level
programming language. Python was created by Guido van Rossum in the late eighties and
early nineties. Like Perl, Python source code is also now available under the GNU General
Public License (GPL).
This document provides an overview and tutorial on the Python programming language. It discusses Python's history and features, how to set up the Python environment and get started with the language. It then covers Python's basic syntax, variable types, operators, and decision-making constructs like if/else statements. The tutorial is designed for beginners to help them learn Python programming from scratch.
This document provides an overview of the Python programming language. It discusses Python's history, features, and environment setup. Python is an interpreted, interactive, object-oriented programming language created by Guido van Rossum in 1991. It includes high-level data structures, supports object-oriented programming, and is extensible via modules. The document also covers installing Python, running Python programs, basic syntax, variables, operators, and input/output.
The document provides an overview of the Python programming language. It discusses Python's history, features, and environment setup. Python is an interpreted, interactive, object-oriented programming language created by Guido van Rossum in 1991. It includes high-level data structures, supports OOP and functional programming, and has a large standard library. The document also covers installing Python, running Python programs, basic syntax, variables, operators, and data types.
This document provides an overview, prerequisites, and table of contents for a tutorial on learning the Python programming language from scratch. It is designed for software programmers who want to learn Python. The tutorial will cover Python's history and features, setting up a local environment to run Python, basic syntax like variables, data types, operators, and decision making statements. It will also discuss how to get and install Python, set environment paths, run Python programs, and handle command line arguments. The content is copyrighted and users are prohibited from redistributing it without permission.
This document provides an overview and tutorial for Python 3. It discusses the key differences between Python 3 and Python 2, including changes to print statements, integer division, and exceptions. It also covers setting up a Python development environment, basic Python syntax like identifiers, comments, and data types. The tutorial is designed for programmers looking to upgrade their Python skills to version 3 and also serves as an introduction for learning Python from scratch.
This document provides an overview and tutorial for Python 3. It discusses the key differences between Python 3 and Python 2, how to set up the Python environment, basic Python syntax, variables, operators, and built-in data types. It also covers core programming concepts like decision making, loops, functions, modules, date/time handling, files I/O, and more. The tutorial is designed for programmers looking to learn or upgrade their skills to Python 3.
This document provides an overview and tutorial on Python programming. It discusses Python's history and features. It then covers setting up a local Python environment, basic syntax like identifiers, keywords, indentation, and comments. It also discusses variable types like numbers, strings, lists, tuples and dictionaries. Finally, it covers basic operators, decision making with if/else statements, and loops. The overall document serves as an introduction to Python programming for beginners.
This document provides an overview and tutorial on Python programming. It discusses Python's history and features. It then covers setting up a local Python environment, the basic syntax of Python including variables, data types, operators, and decision making statements. The document is intended for programmers learning Python from scratch and assumes only a basic understanding of computer programming concepts. It provides the content to give readers an understanding of Python programming.
Pandas is an open-source Python library that provides data structures and data analysis tools. It allows users to load, clean, manipulate, and visualize data in an efficient way. Pandas contains powerful data structures like Series (1D), DataFrame (2D), and Panel (3D). DataFrame is the most commonly used data structure, as it represents data as columns and rows like a spreadsheet or SQL table. Pandas enables fast and easy data analysis and is widely used in domains like finance, economics, and analytics.
The document provides an overview and tutorial for Python 3. It discusses the history and features of Python, how to set up the Python environment, basic syntax and concepts like variables, data types, operators, and control flow. It also covers core Python modules like numbers, strings, lists, tuples, dictionaries, dates, functions, modules, and file I/O. The tutorial contains over 15 chapters and provides examples to explain each concept in detail.
Python is often considered an easy language to learn due to its simplicity, readability, and extensive community support and documentation. It has a clear and concise syntax that resembles plain English. Python also has a large standard library that includes common modules, reducing the need for developers to write additional code. Its interactive environment allows users to immediately see the results of their code, facilitating hands-on learning. Overall, Python's reputation for approachability stems from its commitment to readability, minimal syntax, and supportive community of developers.
The 21st century; oh, what a time to be alive! With the world at your fingertips, it is easier than ever to dream big. But the question is- where to begin? With a wide range of programming languages to choose from to begin with, this article isn’t a gimmick for Python. Through this piece of writing, we hope to open you up to the realities of the world of Python. We will let you know the reasons why should I learn Python programming, what are the benefits of learning Python, what can I do with Python programming language and how can I start a career in Python Programming.
** Python Certification Training: https://www.edureka.co/python **
This Edureka PPT on Python Projects will help you establish a foothold on Python by helping you assess and obtain skills which are used to design, develop and analyze projects built in Python.
1. Introduction to Python
2. Installation and Working with Python
3. Python Projects- 3levels
4. Practical approach - Code
Python Tutorial Playlist: https://goo.gl/WsBpKe
Blog Series: http://bit.ly/2sqmP4s
Follow us to never miss an update in the future:
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
The document summarizes Akshita Yadav's summer training report on a 100 Days of Code bootcamp course in Python completed through Udemy. The course covered fundamental Python concepts, various applications of Python like web development, data analysis and AI/ML. Projects built included a Blackjack game, auto job application program using Selenium, and snake game. Tools used were Python, PyCharm, Pandas, NumPy, Matplotlib and more. The training helped Akshita master Python and gain skills in automation, apps, data science and programming for jobs.
PHP is a programming language used to create dynamic web content. It allows developers to build web applications that interact with databases. This tutorial provides an introduction to PHP, covering basic syntax, variable types, operators, decision making statements like if/else and loops. It is designed for beginners to help them understand how to use PHP.
This document provides an introduction and overview of a book titled "An introduction to Python through practical examples". The book aims to teach Python programming through interesting, real-world examples rather than covering every language feature. It emphasizes the 80/20 principle to focus on the most commonly used techniques. The book is designed to be practical, interesting, and help readers find useful ways to apply Python in their own lives. It provides a foundation for more advanced learning after readers have mastered the material. Each chapter includes review exercises and assignments to reinforce topics.
This document provides a summary of Jake VanderPlas' book "A Whirlwind Tour of Python". It introduces Python as a teaching and scripting language embraced by programmers, engineers, researchers, and data scientists. The book aims to provide a brief but comprehensive tour of the Python language for readers familiar with other languages, rather than starting from the basics. It covers Python's syntax, built-in types and data structures, functions, control flow, and other aspects to provide a foundation for exploring Python's data science ecosystem.
This seminar report provides an overview of a crash course on Python. It discusses the 5 weeks of topics covered in the course, including introductions to programming and Python, basic syntax, loops, strings/lists/dictionaries, and object-oriented programming. The report was submitted by Ram Gopal Siddh to fulfill degree requirements for a Bachelor of Technology in Computer Science and Engineering at Global Institute of Technology in Jaipur, India.
PYTHON PROGRAMMING FOR HACKERS. PART 1 – GETTING STARTEDBijay Acharya
This document introduces a Python programming tutorial series for hackers. It will cover Python basics like variables, operators, strings, conditions and loops. It will then teach penetration testing, web analysis, network traffic analysis, forensics analysis, and wireless exploits using Python scripts and modules. The series is intended for beginners who want to apply Python in cybersecurity and ethical hacking. Viewers will need to download Python from python.org and an IDE like PyCharm or use the Python interpreter in Kali Linux. Subsequent tutorials will cover specific third-party libraries and tools needed for the lessons.
Scrapy is an open source and free web crawling framework written in Python. It is used to extract structured data from websites. Scrapy provides spiders to crawl websites and selectors to extract data. Spiders define how to follow links and extract information from web pages. Selectors use XPath or CSS expressions to extract specific data fields from responses. Items are used to store scraped data and item loaders help populate items from selectors.
The document provides instructions for installing PHP and configuring it with Apache on Linux or Unix systems. It outlines downloading and installing the necessary components like the PHP source distribution, Apache source distribution, and a PHP-supported database. It then describes the steps to build and configure Apache to work with PHP, including compiling and installing PHP, copying the php.ini configuration file, and configuring Apache's HTTPD configuration files to identify PHP files and set the document root directory. Once completed, the PHP installation would be ready for use on the Linux/Unix system with Apache.
The document provides instructions for installing PHP, Apache web server, and MySQL database on Linux/Unix systems to set up a development environment for PHP web applications. The steps include downloading and compiling the latest versions of PHP and Apache source code, configuring PHP to work with Apache as a module, and setting the PHP configuration file and document root directory. This will allow PHP scripts to be processed and run on the local development server.
This document provides an overview and introduction to PHP, including its uses, environment setup, syntax, variables, operators, and basic decision making and loop structures. PHP is a programming language used for web development that allows dynamic content and interaction with databases. This tutorial will help readers understand PHP basics and implementation. It requires knowledge of programming, internet, databases and MySQL.
The PHP Hypertext Preprocessor (PHP) is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web-based software applications. This tutorial will help you understand the basics of PHP and how to put it in practice.
The document provides instructions for installing PHP, Apache web server, and MySQL database on Linux/Unix systems to set up a development environment for PHP web applications. It describes downloading and compiling the latest versions of PHP and Apache source code, configuring PHP to work with Apache as a module, and setting the PHP configuration file and document root directory. This allows PHP code to be embedded in HTML files and executed by the Apache web server to create dynamic web pages that can also interface with the MySQL database.
This document provides an overview and introduction to PHP, including its uses, environment setup, syntax, variables, operators, and basic decision making and loop structures. PHP is a programming language used for web development that allows dynamic content and interaction with databases. This tutorial will help readers understand PHP basics and implementation. It requires knowledge of programming, internet, databases and MySQL.
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Speck&Tech
ABSTRACT: A prima vista, un mattoncino Lego e la backdoor XZ potrebbero avere in comune il fatto di essere entrambi blocchi di costruzione, o dipendenze di progetti creativi e software. La realtà è che un mattoncino Lego e il caso della backdoor XZ hanno molto di più di tutto ciò in comune.
Partecipate alla presentazione per immergervi in una storia di interoperabilità, standard e formati aperti, per poi discutere del ruolo importante che i contributori hanno in una comunità open source sostenibile.
BIO: Sostenitrice del software libero e dei formati standard e aperti. È stata un membro attivo dei progetti Fedora e openSUSE e ha co-fondato l'Associazione LibreItalia dove è stata coinvolta in diversi eventi, migrazioni e formazione relativi a LibreOffice. In precedenza ha lavorato a migrazioni e corsi di formazione su LibreOffice per diverse amministrazioni pubbliche e privati. Da gennaio 2020 lavora in SUSE come Software Release Engineer per Uyuni e SUSE Manager e quando non segue la sua passione per i computer e per Geeko coltiva la sua curiosità per l'astronomia (da cui deriva il suo nickname deneb_alpha).
Maruthi Prithivirajan, Head of ASEAN & IN Solution Architecture, Neo4j
Get an inside look at the latest Neo4j innovations that enable relationship-driven intelligence at scale. Learn more about the newest cloud integrations and product enhancements that make Neo4j an essential choice for developers building apps with interconnected data and generative AI.
This document provides an overview and tutorial on Python programming. It discusses Python's history and features. It then covers setting up a local Python environment, basic syntax like identifiers, keywords, indentation, and comments. It also discusses variable types like numbers, strings, lists, tuples and dictionaries. Finally, it covers basic operators, decision making with if/else statements, and loops. The overall document serves as an introduction to Python programming for beginners.
This document provides an overview and tutorial on Python programming. It discusses Python's history and features. It then covers setting up a local Python environment, the basic syntax of Python including variables, data types, operators, and decision making statements. The document is intended for programmers learning Python from scratch and assumes only a basic understanding of computer programming concepts. It provides the content to give readers an understanding of Python programming.
Pandas is an open-source Python library that provides data structures and data analysis tools. It allows users to load, clean, manipulate, and visualize data in an efficient way. Pandas contains powerful data structures like Series (1D), DataFrame (2D), and Panel (3D). DataFrame is the most commonly used data structure, as it represents data as columns and rows like a spreadsheet or SQL table. Pandas enables fast and easy data analysis and is widely used in domains like finance, economics, and analytics.
The document provides an overview and tutorial for Python 3. It discusses the history and features of Python, how to set up the Python environment, basic syntax and concepts like variables, data types, operators, and control flow. It also covers core Python modules like numbers, strings, lists, tuples, dictionaries, dates, functions, modules, and file I/O. The tutorial contains over 15 chapters and provides examples to explain each concept in detail.
Python is often considered an easy language to learn due to its simplicity, readability, and extensive community support and documentation. It has a clear and concise syntax that resembles plain English. Python also has a large standard library that includes common modules, reducing the need for developers to write additional code. Its interactive environment allows users to immediately see the results of their code, facilitating hands-on learning. Overall, Python's reputation for approachability stems from its commitment to readability, minimal syntax, and supportive community of developers.
The 21st century; oh, what a time to be alive! With the world at your fingertips, it is easier than ever to dream big. But the question is- where to begin? With a wide range of programming languages to choose from to begin with, this article isn’t a gimmick for Python. Through this piece of writing, we hope to open you up to the realities of the world of Python. We will let you know the reasons why should I learn Python programming, what are the benefits of learning Python, what can I do with Python programming language and how can I start a career in Python Programming.
** Python Certification Training: https://www.edureka.co/python **
This Edureka PPT on Python Projects will help you establish a foothold on Python by helping you assess and obtain skills which are used to design, develop and analyze projects built in Python.
1. Introduction to Python
2. Installation and Working with Python
3. Python Projects- 3levels
4. Practical approach - Code
Python Tutorial Playlist: https://goo.gl/WsBpKe
Blog Series: http://bit.ly/2sqmP4s
Follow us to never miss an update in the future:
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
The document summarizes Akshita Yadav's summer training report on a 100 Days of Code bootcamp course in Python completed through Udemy. The course covered fundamental Python concepts, various applications of Python like web development, data analysis and AI/ML. Projects built included a Blackjack game, auto job application program using Selenium, and snake game. Tools used were Python, PyCharm, Pandas, NumPy, Matplotlib and more. The training helped Akshita master Python and gain skills in automation, apps, data science and programming for jobs.
PHP is a programming language used to create dynamic web content. It allows developers to build web applications that interact with databases. This tutorial provides an introduction to PHP, covering basic syntax, variable types, operators, decision making statements like if/else and loops. It is designed for beginners to help them understand how to use PHP.
This document provides an introduction and overview of a book titled "An introduction to Python through practical examples". The book aims to teach Python programming through interesting, real-world examples rather than covering every language feature. It emphasizes the 80/20 principle to focus on the most commonly used techniques. The book is designed to be practical, interesting, and help readers find useful ways to apply Python in their own lives. It provides a foundation for more advanced learning after readers have mastered the material. Each chapter includes review exercises and assignments to reinforce topics.
This document provides a summary of Jake VanderPlas' book "A Whirlwind Tour of Python". It introduces Python as a teaching and scripting language embraced by programmers, engineers, researchers, and data scientists. The book aims to provide a brief but comprehensive tour of the Python language for readers familiar with other languages, rather than starting from the basics. It covers Python's syntax, built-in types and data structures, functions, control flow, and other aspects to provide a foundation for exploring Python's data science ecosystem.
This seminar report provides an overview of a crash course on Python. It discusses the 5 weeks of topics covered in the course, including introductions to programming and Python, basic syntax, loops, strings/lists/dictionaries, and object-oriented programming. The report was submitted by Ram Gopal Siddh to fulfill degree requirements for a Bachelor of Technology in Computer Science and Engineering at Global Institute of Technology in Jaipur, India.
PYTHON PROGRAMMING FOR HACKERS. PART 1 – GETTING STARTEDBijay Acharya
This document introduces a Python programming tutorial series for hackers. It will cover Python basics like variables, operators, strings, conditions and loops. It will then teach penetration testing, web analysis, network traffic analysis, forensics analysis, and wireless exploits using Python scripts and modules. The series is intended for beginners who want to apply Python in cybersecurity and ethical hacking. Viewers will need to download Python from python.org and an IDE like PyCharm or use the Python interpreter in Kali Linux. Subsequent tutorials will cover specific third-party libraries and tools needed for the lessons.
Scrapy is an open source and free web crawling framework written in Python. It is used to extract structured data from websites. Scrapy provides spiders to crawl websites and selectors to extract data. Spiders define how to follow links and extract information from web pages. Selectors use XPath or CSS expressions to extract specific data fields from responses. Items are used to store scraped data and item loaders help populate items from selectors.
The document provides instructions for installing PHP and configuring it with Apache on Linux or Unix systems. It outlines downloading and installing the necessary components like the PHP source distribution, Apache source distribution, and a PHP-supported database. It then describes the steps to build and configure Apache to work with PHP, including compiling and installing PHP, copying the php.ini configuration file, and configuring Apache's HTTPD configuration files to identify PHP files and set the document root directory. Once completed, the PHP installation would be ready for use on the Linux/Unix system with Apache.
The document provides instructions for installing PHP, Apache web server, and MySQL database on Linux/Unix systems to set up a development environment for PHP web applications. The steps include downloading and compiling the latest versions of PHP and Apache source code, configuring PHP to work with Apache as a module, and setting the PHP configuration file and document root directory. This will allow PHP scripts to be processed and run on the local development server.
This document provides an overview and introduction to PHP, including its uses, environment setup, syntax, variables, operators, and basic decision making and loop structures. PHP is a programming language used for web development that allows dynamic content and interaction with databases. This tutorial will help readers understand PHP basics and implementation. It requires knowledge of programming, internet, databases and MySQL.
The PHP Hypertext Preprocessor (PHP) is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web-based software applications. This tutorial will help you understand the basics of PHP and how to put it in practice.
The document provides instructions for installing PHP, Apache web server, and MySQL database on Linux/Unix systems to set up a development environment for PHP web applications. It describes downloading and compiling the latest versions of PHP and Apache source code, configuring PHP to work with Apache as a module, and setting the PHP configuration file and document root directory. This allows PHP code to be embedded in HTML files and executed by the Apache web server to create dynamic web pages that can also interface with the MySQL database.
This document provides an overview and introduction to PHP, including its uses, environment setup, syntax, variables, operators, and basic decision making and loop structures. PHP is a programming language used for web development that allows dynamic content and interaction with databases. This tutorial will help readers understand PHP basics and implementation. It requires knowledge of programming, internet, databases and MySQL.
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Speck&Tech
ABSTRACT: A prima vista, un mattoncino Lego e la backdoor XZ potrebbero avere in comune il fatto di essere entrambi blocchi di costruzione, o dipendenze di progetti creativi e software. La realtà è che un mattoncino Lego e il caso della backdoor XZ hanno molto di più di tutto ciò in comune.
Partecipate alla presentazione per immergervi in una storia di interoperabilità, standard e formati aperti, per poi discutere del ruolo importante che i contributori hanno in una comunità open source sostenibile.
BIO: Sostenitrice del software libero e dei formati standard e aperti. È stata un membro attivo dei progetti Fedora e openSUSE e ha co-fondato l'Associazione LibreItalia dove è stata coinvolta in diversi eventi, migrazioni e formazione relativi a LibreOffice. In precedenza ha lavorato a migrazioni e corsi di formazione su LibreOffice per diverse amministrazioni pubbliche e privati. Da gennaio 2020 lavora in SUSE come Software Release Engineer per Uyuni e SUSE Manager e quando non segue la sua passione per i computer e per Geeko coltiva la sua curiosità per l'astronomia (da cui deriva il suo nickname deneb_alpha).
Maruthi Prithivirajan, Head of ASEAN & IN Solution Architecture, Neo4j
Get an inside look at the latest Neo4j innovations that enable relationship-driven intelligence at scale. Learn more about the newest cloud integrations and product enhancements that make Neo4j an essential choice for developers building apps with interconnected data and generative AI.
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
Building RAG with self-deployed Milvus vector database and Snowpark Container...Zilliz
This talk will give hands-on advice on building RAG applications with an open-source Milvus database deployed as a docker container. We will also introduce the integration of Milvus with Snowpark Container Services.
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Zilliz
Join us to introduce Milvus Lite, a vector database that can run on notebooks and laptops, share the same API with Milvus, and integrate with every popular GenAI framework. This webinar is perfect for developers seeking easy-to-use, well-integrated vector databases for their GenAI apps.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
How to Get CNIC Information System with Paksim Ga.pptxdanishmna97
Pakdata Cf is a groundbreaking system designed to streamline and facilitate access to CNIC information. This innovative platform leverages advanced technology to provide users with efficient and secure access to their CNIC details.
Communications Mining Series - Zero to Hero - Session 1DianaGray10
This session provides introduction to UiPath Communication Mining, importance and platform overview. You will acquire a good understand of the phases in Communication Mining as we go over the platform with you. Topics covered:
• Communication Mining Overview
• Why is it important?
• How can it help today’s business and the benefits
• Phases in Communication Mining
• Demo on Platform overview
• Q/A
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navy’s DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATO’s (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
UiPath Test Automation using UiPath Test Suite series, part 6DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 6. In this session, we will cover Test Automation with generative AI and Open AI.
UiPath Test Automation with generative AI and Open AI webinar offers an in-depth exploration of leveraging cutting-edge technologies for test automation within the UiPath platform. Attendees will delve into the integration of generative AI, a test automation solution, with Open AI advanced natural language processing capabilities.
Throughout the session, participants will discover how this synergy empowers testers to automate repetitive tasks, enhance testing accuracy, and expedite the software testing life cycle. Topics covered include the seamless integration process, practical use cases, and the benefits of harnessing AI-driven automation for UiPath testing initiatives. By attending this webinar, testers, and automation professionals can gain valuable insights into harnessing the power of AI to optimize their test automation workflows within the UiPath ecosystem, ultimately driving efficiency and quality in software development processes.
What will you get from this session?
1. Insights into integrating generative AI.
2. Understanding how this integration enhances test automation within the UiPath platform
3. Practical demonstrations
4. Exploration of real-world use cases illustrating the benefits of AI-driven test automation for UiPath
Topics covered:
What is generative AI
Test Automation with generative AI and Open AI.
UiPath integration with generative AI
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
3. TUTORIALS POINT
Simply Easy Learning
ABOUT THE TUTORIAL
Python Tutorial
Python is a general-purpose, interpreted, interactive, object-oriented and high-level
programming language. Python was created by Guido van Rossum in the late eighties and
early nineties. Like Perl, Python source code is also now available under the GNU General
Public License (GPL).
Audience
This tutorial has been designed for software programmers with a need to understand the
Python programming language starting from scratch. This tutorial will give you enough
understanding on Python programming language from where you can take yourself to a
higher level of expertise.
Prerequisites
Before proceeding with this tutorial you should have a basic understanding of Computer
Programming terminologies. A basic understanding of any of the programming languages will
help you in understanding the Python programming concepts and move fast on the learning
track.
Copyright & Disclaimer Notice
All the content and graphics on this tutorial are the property of tutorialspoint.com. Any content from
tutorialspoint.com or this tutorial may not be redistributed or reproduced in any way, shape, or form
without the written permission of tutorialspoint.com. Failure to do so is a violation of copyright laws.
This tutorial may contain inaccuracies or errors and tutorialspoint provides no guarantee regarding the
accuracy of the site or its contents including this tutorial. If you discover that the tutorialspoint.com site
or this tutorial content contains some errors, please contact us at webmaster@tutorialspoint.com
4. TUTORIALS POINT
Simply Easy Learning
Table of Content
Python Tutorial......................................................................... 2
Audience.................................................................................. 2
Prerequisites............................................................................ 2
Copyright & Disclaimer Notice.................................................. 2
Python Overview.................................................................... 40
History of Python:.....................................................................................40
Python Features:......................................................................................40
Python Environment............................................................... 42
Getting Python: ........................................................................................43
Install Python:...........................................................................................43
Unix & Linux Installation:..........................................................................43
Windows Installation:................................................................................43
Macintosh Installation:..............................................................................44
Setting up PATH: .....................................................................................44
Setting path at Unix/Linux: .......................................................................44
Setting path at Windows:..........................................................................44
Python Environment Variables:................................................................44
Running Python:.......................................................................................45
(1) Interactive Interpreter:.........................................................................45
(2) Script from the Command-line: ...........................................................46
(3) Integrated Development Environment.................................................46
Python Basic Syntax .............................................................. 47
First Python Program: ..............................................................................47
INTERACTIVE MODE PROGRAMMING:................................................47
SCRIPT MODE PROGRAMMING: ..........................................................47
Python Identifiers: ....................................................................................48
Reserved Words: .....................................................................................48
Lines and Indentation:..............................................................................49
Multi-Line Statements:..............................................................................50
Quotation in Python:.................................................................................50
Comments in Python:...............................................................................50
Using Blank Lines: ...................................................................................51
Waiting for the User:.................................................................................51
Multiple Statements on a Single Line: ......................................................51
Multiple Statement Groups as Suites: ......................................................51
Command-Line Arguments: .....................................................................51
Accessing Command-Line Arguments: ....................................................52
6. TUTORIALS POINT
Simply Easy Learning
Syntax: .....................................................................................................77
Flow Diagram:..........................................................................................77
Example: ..................................................................................................78
The elif Statement....................................................................................78
Example: ..................................................................................................78
nested if statements .................................................................................79
Syntax: .....................................................................................................79
Example: ..................................................................................................79
Single Statement Suites:..........................................................................80
Python Loops......................................................................... 81
while loop .................................................................................................82
Syntax: .....................................................................................................82
Flow Diagram:..........................................................................................82
Example: ..................................................................................................83
The Infinite Loop: .....................................................................................83
The else Statement Used with Loops.......................................................84
Single Statement Suites:..........................................................................84
Syntax: .....................................................................................................84
Flow Diagram:..........................................................................................85
Example: ..................................................................................................85
Iterating by Sequence Index:....................................................................86
The else Statement Used with Loops.......................................................86
Syntax: .....................................................................................................87
Example: ..................................................................................................87
Loop Control Statements:.........................................................................88
Syntax: .....................................................................................................88
Flow Diagram:..........................................................................................89
Example: ..................................................................................................89
Syntax: .....................................................................................................90
Flow Diagram:..........................................................................................90
Example: ..................................................................................................90
Syntax: .....................................................................................................91
Example: ..................................................................................................91
Python Numbers .................................................................... 92
Examples: ................................................................................................92
Number Type Conversion: .......................................................................93
Mathematical Functions: ..........................................................................93
Syntax ......................................................................................................96
Parameters...............................................................................................96
7. TUTORIALS POINT
Simply Easy Learning
Return Value ............................................................................................96
Example ...................................................................................................97
Description ...............................................................................................97
Syntax ......................................................................................................97
Parameters...............................................................................................97
Return Value ............................................................................................97
Example ...................................................................................................97
Description ...............................................................................................98
Syntax ......................................................................................................98
Parameters...............................................................................................98
Return Value ............................................................................................98
Example ...................................................................................................98
Description ...............................................................................................99
Syntax ......................................................................................................99
Parameters...............................................................................................99
Return Value ............................................................................................99
Example ...................................................................................................99
Description ...............................................................................................99
Syntax ......................................................................................................99
Parameters.............................................................................................100
Return Value ..........................................................................................100
Example .................................................................................................100
Description .............................................................................................100
Syntax ....................................................................................................100
Parameters.............................................................................................100
Return Value ..........................................................................................100
Example .................................................................................................100
Description .............................................................................................101
Syntax ....................................................................................................101
Parameters.............................................................................................101
Return Value ..........................................................................................101
Example .................................................................................................101
Description .............................................................................................102
Syntax ....................................................................................................102
Parameters.............................................................................................102
Return Value ..........................................................................................102
Example .................................................................................................102
Description .............................................................................................103
Syntax ....................................................................................................103
8. TUTORIALS POINT
Simply Easy Learning
Parameters.............................................................................................103
Return Value ..........................................................................................103
Example .................................................................................................103
Description .............................................................................................103
Syntax ....................................................................................................103
Parameters.............................................................................................103
Return Value ..........................................................................................104
Example .................................................................................................104
Description .............................................................................................104
Syntax ....................................................................................................104
Parameters.............................................................................................104
Return Value ..........................................................................................104
Example .................................................................................................104
Random Number Functions: ..................................................................105
Description .............................................................................................105
Syntax ....................................................................................................105
Parameters.............................................................................................105
Return Value ..........................................................................................105
Example .................................................................................................105
Description .............................................................................................106
Syntax ....................................................................................................106
Parameters.............................................................................................106
Return Value ..........................................................................................106
Example .................................................................................................106
Description .............................................................................................107
Syntax ....................................................................................................107
Parameters.............................................................................................107
Return Value ..........................................................................................107
Example .................................................................................................107
Description .............................................................................................107
Syntax ....................................................................................................108
Parameters.............................................................................................108
Return Value ..........................................................................................108
Example .................................................................................................108
Description .............................................................................................108
Syntax ....................................................................................................109
Parameters.............................................................................................109
Return Value ..........................................................................................109
Example .................................................................................................109
9. TUTORIALS POINT
Simply Easy Learning
Description .............................................................................................109
Syntax ....................................................................................................109
Parameters.............................................................................................110
Return Value ..........................................................................................110
Example .................................................................................................110
Trigonometric Functions:........................................................................110
Description .............................................................................................111
Syntax ....................................................................................................111
Parameters.............................................................................................111
Return Value ..........................................................................................111
Example .................................................................................................111
Description .............................................................................................111
Syntax ....................................................................................................111
Parameters.............................................................................................111
Return Value ..........................................................................................112
Example .................................................................................................112
Description .............................................................................................112
Syntax ....................................................................................................112
Parameters.............................................................................................112
Return Value ..........................................................................................112
Example .................................................................................................112
Description .............................................................................................113
Syntax ....................................................................................................113
Parameters.............................................................................................113
Return Value ..........................................................................................113
Example .................................................................................................113
Description .............................................................................................114
Syntax ....................................................................................................114
Parameters.............................................................................................114
Return Value ..........................................................................................114
Example .................................................................................................114
Description .............................................................................................114
Syntax ....................................................................................................114
Parameters.............................................................................................115
Return Value ..........................................................................................115
Example .................................................................................................115
Description .............................................................................................115
Syntax ....................................................................................................115
Parameters.............................................................................................115
10. TUTORIALS POINT
Simply Easy Learning
Return Value ..........................................................................................115
Example .................................................................................................115
Description .............................................................................................116
Syntax ....................................................................................................116
Parameters.............................................................................................116
Return Value ..........................................................................................116
Example .................................................................................................116
Description .............................................................................................117
Syntax ....................................................................................................117
Parameters.............................................................................................117
Return Value ..........................................................................................117
Example .................................................................................................117
Description .............................................................................................118
Syntax ....................................................................................................118
Parameters.............................................................................................118
Return Value ..........................................................................................118
Example .................................................................................................118
Mathematical Constants:........................................................................119
Python Strings...................................................................... 120
Accessing Values in Strings: ..................................................................120
Updating Strings:....................................................................................120
Escape Characters:................................................................................121
String Special Operators: .......................................................................121
String Formatting Operator:....................................................................122
Triple Quotes:.........................................................................................123
Raw String:.............................................................................................124
Unicode String:.......................................................................................124
Built-in String Methods: ..........................................................................125
Description .............................................................................................127
Syntax ....................................................................................................127
Parameters.............................................................................................127
Return Value ..........................................................................................127
Example .................................................................................................127
Description .............................................................................................128
Syntax ....................................................................................................128
Parameters.............................................................................................128
Return Value ..........................................................................................128
Example .................................................................................................128
Description .............................................................................................128
11. TUTORIALS POINT
Simply Easy Learning
Syntax ....................................................................................................128
Parameters.............................................................................................128
Return Value ..........................................................................................129
Example .................................................................................................129
Description .............................................................................................129
Syntax ....................................................................................................129
Parameters.............................................................................................129
Return Value ..........................................................................................129
Example .................................................................................................129
Description .............................................................................................130
Syntax ....................................................................................................130
Parameters.............................................................................................130
Return Value ..........................................................................................130
Example .................................................................................................130
Description .............................................................................................130
Syntax ....................................................................................................131
Parameters.............................................................................................131
Return Value ..........................................................................................131
Example .................................................................................................131
Description .............................................................................................131
Syntax ....................................................................................................131
Parameters.............................................................................................132
Return Value ..........................................................................................132
Example .................................................................................................132
Description .............................................................................................132
Syntax ....................................................................................................132
Parameters.............................................................................................132
Return Value ..........................................................................................132
Example .................................................................................................132
Description .............................................................................................133
Syntax ....................................................................................................133
Parameters.............................................................................................133
Return Value ..........................................................................................133
Example .................................................................................................133
Description .............................................................................................134
Syntax ....................................................................................................134
Parameters.............................................................................................134
Return Value ..........................................................................................134
Example .................................................................................................134
12. TUTORIALS POINT
Simply Easy Learning
Description .............................................................................................134
Syntax ....................................................................................................134
Parameters.............................................................................................134
Return Value ..........................................................................................134
Example .................................................................................................135
Description .............................................................................................135
Syntax ....................................................................................................135
Parameters.............................................................................................135
Return Value ..........................................................................................135
Example .................................................................................................135
Description .............................................................................................136
Syntax ....................................................................................................136
Parameters.............................................................................................136
Return Value ..........................................................................................136
Example .................................................................................................136
Description .............................................................................................136
Syntax ....................................................................................................136
Parameters.............................................................................................136
Return Value ..........................................................................................136
Example .................................................................................................137
Description .............................................................................................137
Syntax ....................................................................................................137
Parameters.............................................................................................137
Return Value ..........................................................................................137
Example .................................................................................................137
Description .............................................................................................138
Syntax ....................................................................................................138
Parameters.............................................................................................138
Return Value ..........................................................................................138
Example .................................................................................................138
Description .............................................................................................138
Syntax ....................................................................................................138
Parameters.............................................................................................139
Return Value ..........................................................................................139
Example .................................................................................................139
Description .............................................................................................139
Syntax ....................................................................................................139
Parameters.............................................................................................139
Return Value ..........................................................................................139
13. TUTORIALS POINT
Simply Easy Learning
Example .................................................................................................139
Description .............................................................................................140
Syntax ....................................................................................................140
Parameters.............................................................................................140
Return Value ..........................................................................................140
Example .................................................................................................140
Description .............................................................................................140
Syntax ....................................................................................................140
Parameters.............................................................................................140
Return Value ..........................................................................................141
Example .................................................................................................141
Description .............................................................................................141
Syntax ....................................................................................................141
Parameters.............................................................................................141
Return Value ..........................................................................................141
Example .................................................................................................141
Description .............................................................................................141
Syntax ....................................................................................................142
Parameters.............................................................................................142
Return Value ..........................................................................................142
Example .................................................................................................142
Description .............................................................................................142
Syntax ....................................................................................................142
Parameters.............................................................................................142
Return Value ..........................................................................................142
Example .................................................................................................142
Description .............................................................................................143
Syntax ....................................................................................................143
Parameters.............................................................................................143
Return Value ..........................................................................................143
Example .................................................................................................143
Description .............................................................................................143
Syntax ....................................................................................................144
Parameters.............................................................................................144
Return Value ..........................................................................................144
Example .................................................................................................144
Description .............................................................................................144
Syntax ....................................................................................................144
Parameters.............................................................................................144
14. TUTORIALS POINT
Simply Easy Learning
Return Value ..........................................................................................145
Example .................................................................................................145
Description .............................................................................................145
Syntax ....................................................................................................145
Parameters.............................................................................................145
Return Value ..........................................................................................145
Example .................................................................................................145
Description .............................................................................................146
Syntax ....................................................................................................146
Parameters.............................................................................................146
Return Value ..........................................................................................146
Example .................................................................................................146
Description .............................................................................................147
Syntax ....................................................................................................147
Parameters.............................................................................................147
Return Value ..........................................................................................147
Example .................................................................................................147
Description .............................................................................................147
Syntax ....................................................................................................147
Parameters.............................................................................................147
Return Value ..........................................................................................147
Example .................................................................................................148
Description .............................................................................................148
Syntax ....................................................................................................148
Parameters.............................................................................................148
Return Value ..........................................................................................148
Example .................................................................................................148
Description .............................................................................................148
Syntax ....................................................................................................149
Parameters.............................................................................................149
Return Value ..........................................................................................149
Example .................................................................................................149
Description .............................................................................................149
Syntax ....................................................................................................149
Parameters.............................................................................................149
Return Value ..........................................................................................149
Example .................................................................................................150
Description .............................................................................................150
Syntax ....................................................................................................150
15. TUTORIALS POINT
Simply Easy Learning
Parameters.............................................................................................150
Return Value ..........................................................................................150
Example .................................................................................................150
Description .............................................................................................151
Syntax ....................................................................................................151
Parameters.............................................................................................151
Return Value ..........................................................................................151
Example .................................................................................................151
Description .............................................................................................151
Syntax ....................................................................................................151
Parameters.............................................................................................151
Return Value ..........................................................................................151
Example .................................................................................................152
Description .............................................................................................152
Syntax ....................................................................................................152
Parameters.............................................................................................152
Return Value ..........................................................................................152
Example .................................................................................................152
Description .............................................................................................153
Syntax ....................................................................................................153
Parameters.............................................................................................153
Return Value ..........................................................................................153
Example .................................................................................................153
Description .............................................................................................154
Syntax ....................................................................................................154
Parameters.............................................................................................154
Return Value ..........................................................................................154
Example .................................................................................................154
Syntax ....................................................................................................154
Parameters.............................................................................................155
Return Value ..........................................................................................155
Example .................................................................................................155
Python Lists ......................................................................... 156
Python Lists:...........................................................................................156
Accessing Values in Lists:......................................................................156
Updating Lists: .......................................................................................157
Delete List Elements: .............................................................................157
Basic List Operations: ............................................................................157
Indexing, Slicing, and Matrixes:..............................................................158
16. TUTORIALS POINT
Simply Easy Learning
Built-in List Functions & Methods: ..........................................................158
Description .............................................................................................159
Syntax ....................................................................................................159
Parameters.............................................................................................159
Return Value ..........................................................................................159
Example .................................................................................................159
Description .............................................................................................159
Syntax ....................................................................................................160
Parameters.............................................................................................160
Return Value ..........................................................................................160
Example .................................................................................................160
Description .............................................................................................160
Syntax ....................................................................................................160
Parameters.............................................................................................160
Return Value ..........................................................................................160
Example .................................................................................................160
Description .............................................................................................161
Syntax ....................................................................................................161
Parameters.............................................................................................161
Return Value ..........................................................................................161
Example .................................................................................................161
Description .............................................................................................161
Syntax ....................................................................................................161
Parameters.............................................................................................162
Return Value ..........................................................................................162
Example .................................................................................................162
Description .............................................................................................163
Syntax ....................................................................................................163
Parameters.............................................................................................163
Return Value ..........................................................................................163
Example .................................................................................................163
Description .............................................................................................163
Syntax ....................................................................................................163
Parameters.............................................................................................163
Return Value ..........................................................................................163
Example .................................................................................................164
Description .............................................................................................164
Syntax ....................................................................................................164
Parameters.............................................................................................164
17. TUTORIALS POINT
Simply Easy Learning
Return Value ..........................................................................................164
Example .................................................................................................164
Description .............................................................................................165
Syntax ....................................................................................................165
Parameters.............................................................................................165
Return Value ..........................................................................................165
Example .................................................................................................165
Description .............................................................................................165
Syntax ....................................................................................................165
Parameters.............................................................................................165
Return Value ..........................................................................................166
Example .................................................................................................166
Description .............................................................................................166
Syntax ....................................................................................................166
Parameters.............................................................................................166
Return Value ..........................................................................................166
Example .................................................................................................166
Description .............................................................................................167
Syntax ....................................................................................................167
Parameters.............................................................................................167
Return Value ..........................................................................................167
Example .................................................................................................167
Description .............................................................................................167
Syntax ....................................................................................................167
Parameters.............................................................................................167
Return Value ..........................................................................................168
Example .................................................................................................168
Description .............................................................................................168
Syntax ....................................................................................................168
Parameters.............................................................................................168
Return Value ..........................................................................................168
Example .................................................................................................168
Python Tuples...................................................................... 170
Accessing Values in Tuples: ..................................................................170
Updating Tuples:....................................................................................171
Delete Tuple Elements:..........................................................................171
Basic Tuples Operations: .......................................................................171
Indexing, Slicing, and Matrixes:..............................................................172
No Enclosing Delimiters: ........................................................................172
18. TUTORIALS POINT
Simply Easy Learning
Built-in Tuple Functions:.........................................................................172
Description .............................................................................................173
Syntax ....................................................................................................173
Parameters.............................................................................................173
Return Value ..........................................................................................173
Example .................................................................................................173
Description .............................................................................................174
Syntax ....................................................................................................174
Parameters.............................................................................................174
Return Value ..........................................................................................174
Example .................................................................................................174
Description .............................................................................................174
Syntax ....................................................................................................174
Parameters.............................................................................................174
Return Value ..........................................................................................174
Example .................................................................................................175
Description .............................................................................................175
Syntax ....................................................................................................175
Parameters.............................................................................................175
Return Value ..........................................................................................175
Example .................................................................................................175
Description .............................................................................................176
Syntax ....................................................................................................176
Parameters.............................................................................................176
Return Value ..........................................................................................176
Example .................................................................................................176
Python Dictionary................................................................. 177
Accessing Values in Dictionary: .............................................................177
Updating Dictionary:...............................................................................178
Delete Dictionary Elements:...................................................................178
Properties of Dictionary Keys: ................................................................179
Built-in Dictionary Functions & Methods:................................................179
Description .............................................................................................180
Syntax ....................................................................................................180
Parameters.............................................................................................180
Return Value ..........................................................................................180
Example .................................................................................................180
Description .............................................................................................180
Syntax ....................................................................................................181
19. TUTORIALS POINT
Simply Easy Learning
Parameters.............................................................................................181
Return Value ..........................................................................................181
Example .................................................................................................181
Description .............................................................................................181
Syntax ....................................................................................................181
Parameters.............................................................................................181
Return Value ..........................................................................................181
Example .................................................................................................181
Description .............................................................................................182
Syntax ....................................................................................................182
Parameters.............................................................................................182
Return Value ..........................................................................................182
Example .................................................................................................182
Description .............................................................................................183
Syntax ....................................................................................................183
Parameters.............................................................................................183
Return Value ..........................................................................................183
Example .................................................................................................183
Description .............................................................................................183
Syntax ....................................................................................................184
Parameters.............................................................................................184
Return Value ..........................................................................................184
Example .................................................................................................184
Description .............................................................................................184
Syntax ....................................................................................................184
Parameters.............................................................................................184
Return Value ..........................................................................................184
Example .................................................................................................184
Description .............................................................................................185
Syntax ....................................................................................................185
Parameters.............................................................................................185
Return Value ..........................................................................................185
Example .................................................................................................185
Description .............................................................................................185
Syntax ....................................................................................................186
Parameters.............................................................................................186
Return Value ..........................................................................................186
Example .................................................................................................186
Description .............................................................................................186
20. TUTORIALS POINT
Simply Easy Learning
Syntax ....................................................................................................186
Parameters.............................................................................................186
Return Value ..........................................................................................186
Example .................................................................................................186
Description .............................................................................................187
Syntax ....................................................................................................187
Parameters.............................................................................................187
Return Value ..........................................................................................187
Example .................................................................................................187
Description .............................................................................................187
Syntax ....................................................................................................187
Parameters.............................................................................................187
Return Value ..........................................................................................188
Example .................................................................................................188
Description .............................................................................................188
Syntax ....................................................................................................188
Parameters.............................................................................................188
Return Value ..........................................................................................188
Example .................................................................................................188
Description .............................................................................................189
Syntax ....................................................................................................189
Parameters.............................................................................................189
Return Value ..........................................................................................189
Example .................................................................................................189
Python Date & Time............................................................. 190
What is Tick?..........................................................................................190
Example: ................................................................................................190
What is TimeTuple? ...............................................................................190
Getting current time -:.............................................................................191
Getting formatted time -:.........................................................................191
Getting calendar for a month -:...............................................................192
The time Module: ...................................................................................192
Description .............................................................................................193
Syntax ....................................................................................................193
Parameters.............................................................................................193
Return Value ..........................................................................................193
Example .................................................................................................193
Description .............................................................................................194
Syntax ....................................................................................................194
21. TUTORIALS POINT
Simply Easy Learning
Parameters.............................................................................................194
Return Value ..........................................................................................194
Example .................................................................................................194
Description .............................................................................................194
Syntax ....................................................................................................194
Parameters.............................................................................................195
Return Value ..........................................................................................195
Example .................................................................................................195
Description .............................................................................................195
Syntax ....................................................................................................195
Parameters.............................................................................................195
Return Value ..........................................................................................195
Example .................................................................................................196
Description .............................................................................................196
Syntax ....................................................................................................196
Parameters.............................................................................................196
Return Value ..........................................................................................196
Example .................................................................................................196
Description .............................................................................................196
Syntax ....................................................................................................197
Parameters.............................................................................................197
Return Value ..........................................................................................197
Example .................................................................................................197
Description .............................................................................................197
Syntax ....................................................................................................197
Parameters.............................................................................................197
Return Value ..........................................................................................197
Example .................................................................................................197
Description .............................................................................................198
Syntax ....................................................................................................198
Parameters.............................................................................................198
Return Value ..........................................................................................198
Example .................................................................................................198
Description .............................................................................................198
Syntax ....................................................................................................199
Parameters.............................................................................................199
Directive .................................................................................................199
Return Value ..........................................................................................200
Example .................................................................................................200
22. TUTORIALS POINT
Simply Easy Learning
Description .............................................................................................200
Syntax ....................................................................................................200
Parameters.............................................................................................200
Directive .................................................................................................200
Return Value ..........................................................................................201
Example .................................................................................................201
Description .............................................................................................201
Syntax ....................................................................................................202
Parameters.............................................................................................202
Return Value ..........................................................................................202
Example .................................................................................................202
Description .............................................................................................202
Syntax ....................................................................................................203
Parameters.............................................................................................203
Return Value ..........................................................................................203
Example .................................................................................................203
The calendar Module .............................................................................203
Other Modules & Functions:...................................................................204
Python Function................................................................... 205
Defining a Function ................................................................................205
Syntax: ...................................................................................................205
Example: ................................................................................................205
Calling a Function ..................................................................................206
Pass by reference vs value ....................................................................206
Function Arguments: ..............................................................................207
Required arguments:..............................................................................207
Keyword arguments: ..............................................................................208
Default arguments:.................................................................................208
Variable-length arguments: ....................................................................209
The Anonymous Functions:....................................................................209
Syntax: ...................................................................................................210
The return Statement: ............................................................................210
Scope of Variables: ................................................................................211
Global vs. Local variables: .....................................................................211
Python Modules ................................................................... 212
Example: ................................................................................................212
The import Statement:............................................................................212
The from...import Statement...................................................................213
The from...import * Statement: ...............................................................213
23. TUTORIALS POINT
Simply Easy Learning
Locating Modules: ..................................................................................213
The PYTHONPATH Variable: ................................................................213
Namespaces and Scoping: ....................................................................214
The dir( ) Function:.................................................................................214
The globals() and locals() Functions: .....................................................215
The reload() Function:............................................................................215
Packages in Python: ..............................................................................215
Python Files I/O ................................................................... 217
Printing to the Screen:............................................................................217
Reading Keyboard Input:........................................................................217
The raw_input Function:.........................................................................217
The input Function: ................................................................................218
Opening and Closing Files: ....................................................................218
The open Function: ................................................................................218
SYNTAX: ...............................................................................................218
The file object attributes: ........................................................................219
EXAMPLE: .............................................................................................219
The close() Method: ...............................................................................220
SYNTAX:................................................................................................220
EXAMPLE: .............................................................................................220
Reading and Writing Files: .....................................................................220
The write() Method: ................................................................................220
SYNTAX:................................................................................................220
EXAMPLE: .............................................................................................220
The read() Method: ................................................................................221
SYNTAX:................................................................................................221
EXAMPLE: .............................................................................................221
File Positions:.........................................................................................221
EXAMPLE: .............................................................................................221
Renaming and Deleting Files: ................................................................222
The rename() Method:............................................................................222
SYNTAX:................................................................................................222
EXAMPLE: .............................................................................................222
The remove() Method:............................................................................222
SYNTAX:................................................................................................222
EXAMPLE: .............................................................................................222
Directories in Python: .............................................................................223
The mkdir() Method:...............................................................................223
SYNTAX: ...............................................................................................223
24. TUTORIALS POINT
Simply Easy Learning
EXAMPLE: ............................................................................................223
The chdir() Method:................................................................................223
SYNTAX: ...............................................................................................223
EXAMPLE: ............................................................................................223
The getcwd() Method: ............................................................................223
SYNTAX: ...............................................................................................223
EXAMPLE: ............................................................................................223
The rmdir() Method: ...............................................................................224
SYNTAX: ...............................................................................................224
EXAMPLE: ............................................................................................224
File & Directory Related Methods:..........................................................224
File Object Methods ...............................................................................224
Description .............................................................................................225
Syntax ....................................................................................................225
Parameters.............................................................................................225
Return Value ..........................................................................................225
Example .................................................................................................225
Description .............................................................................................226
Syntax ....................................................................................................226
Parameters.............................................................................................226
Return Value ..........................................................................................226
Example .................................................................................................226
Description .............................................................................................227
Syntax ....................................................................................................227
Parameters.............................................................................................227
Return Value ..........................................................................................227
Example .................................................................................................227
Description .............................................................................................227
Syntax ....................................................................................................227
Parameters.............................................................................................228
Return Value ..........................................................................................228
Example .................................................................................................228
Description .............................................................................................228
Syntax ....................................................................................................228
Parameters.............................................................................................228
Return Value ..........................................................................................228
Example .................................................................................................228
Description .............................................................................................229
Syntax ....................................................................................................229
25. TUTORIALS POINT
Simply Easy Learning
Parameters.............................................................................................229
Return Value ..........................................................................................229
Example .................................................................................................229
Description .............................................................................................230
Syntax ....................................................................................................230
Parameters.............................................................................................230
Return Value ..........................................................................................230
Example .................................................................................................230
Description .............................................................................................231
Syntax ....................................................................................................231
Parameters.............................................................................................231
Return Value ..........................................................................................231
Example .................................................................................................231
Description .............................................................................................232
Syntax ....................................................................................................232
Parameters.............................................................................................232
Return Value ..........................................................................................232
Example .................................................................................................232
Description .............................................................................................233
Syntax ....................................................................................................233
Parameters.............................................................................................233
Return Value ..........................................................................................233
Example .................................................................................................233
Description .............................................................................................234
Syntax ....................................................................................................234
Parameters.............................................................................................234
Return Value ..........................................................................................234
Example .................................................................................................234
Description .............................................................................................235
Syntax ....................................................................................................235
Parameters.............................................................................................235
Return Value ..........................................................................................235
Example .................................................................................................235
Description .............................................................................................236
Syntax ....................................................................................................236
Parameters.............................................................................................236
Return Value ..........................................................................................237
Example .................................................................................................237
Description .............................................................................................241
26. TUTORIALS POINT
Simply Easy Learning
Syntax ....................................................................................................241
Parameters.............................................................................................241
Return Value ..........................................................................................241
Example .................................................................................................241
Description .............................................................................................242
Syntax ....................................................................................................242
Parameters.............................................................................................242
Return Value ..........................................................................................242
Example .................................................................................................242
Description .............................................................................................243
Syntax ....................................................................................................243
Parameters.............................................................................................243
Return Value ..........................................................................................243
Example .................................................................................................243
Description .............................................................................................244
Syntax ....................................................................................................244
Parameters.............................................................................................244
Return Value ..........................................................................................244
Example .................................................................................................245
Description .............................................................................................245
Syntax ....................................................................................................245
Parameters.............................................................................................245
Return Value ..........................................................................................245
Example .................................................................................................245
Description .............................................................................................246
Syntax ....................................................................................................246
Parameters.............................................................................................246
Return Value ..........................................................................................246
Example .................................................................................................246
Description .............................................................................................246
Syntax ....................................................................................................246
Parameters.............................................................................................246
Return Value ..........................................................................................247
Example .................................................................................................247
Description .............................................................................................247
Syntax ....................................................................................................247
Parameters.............................................................................................247
Return Value ..........................................................................................247
Example .................................................................................................248