The document provides an introduction to Python programming. It discusses what Python can be used for, including web applications, workflows, databases, big data, and more. It then defines Python, noting it is a popular programming language created by Guido van Rossum in 1991. The latest major version is Python 3. Python code will be written in a text editor or Anaconda. The document proceeds to cover Python syntax, variables, data types, operators, and input. It provides examples of Python code for calculations, conditionals, and loops. In summary, the document serves as an introductory tutorial to the Python programming language.
Char word counter in Python with simple gui - PROJECTMahmutKAMALAK
This document describes a Python midterm project to create a word and character counter with a simple GUI using Tkinter. It provides an overview of Tkinter and outlines 9 steps to build the GUI application, including importing Tkinter, creating a main window, adding labels and entries to collect input and display output, defining functions to calculate word and character counts, and adding buttons to trigger the functions. It includes code snippets for each step and example outputs. The full Python code is provided across 3 pages at the end.
Chapter 1 Class 12 Computer Science Unit 1ssusera7a08a
The document discusses the basics of Python programming language. It provides an introduction to Python, describing how it is an interpreted, high-level and general-purpose programming language. It then covers Python features, data types, operators, and how to work in both interactive and script modes in Python. The document also discusses topics like variables, data handling, arithmetic operators, comparison operators, and more with examples.
The document discusses Python programming language. It provides an introduction to Python, describing it as an interpreted, high-level and general-purpose programming language. It then covers various data types in Python including numbers, strings, booleans, lists, tuples, sets and dictionaries. The document also discusses operators in Python like arithmetic, comparison, logical and bitwise operators. Finally, it explains how to work with Python in both interactive and script modes.
The document provides an overview of key C++ concepts including:
- C++ is an extension of C that adds object-oriented features like inheritance, polymorphism, encapsulation and abstraction.
- It discusses the differences between C and C++, data types, variables, arrays, strings, functions, and conditionals.
- The document concludes with examples of C++ programs and practice questions.
It was presented in #NullHyd on 14th Dec, 2019 with 4 hours hands-on session. All code has been shared in github repo as well: https://github.com/jassics/python-for-cybersecurity
This document provides an introduction to Python programming language. It discusses what Python is, its features, applications, and how it compares to compiled languages in terms of compiling versus interpreting. It also covers installing Python, different Python environments like the Python shell, IDLE, Jupyter Notebook, and Anaconda. Basic Python concepts like variables, data types, operators, functions, modules, and math module commands are explained. The reader is instructed to install NumPy and SciPy using conda for the next lab and test the installations.
This document provides an introduction to Python programming concepts including data types, operators, control flow statements, functions and modules. It discusses the basic Python data types like integers, floats, booleans, strings, lists, tuples, dictionaries and sets. It also covers Python operators like arithmetic, assignment, comparison, logical and identity operators. Additionally, it describes control flow statements like if/else and for loops. Finally, it touches on functions, modules and input/output statements in Python.
Char word counter in Python with simple gui - PROJECTMahmutKAMALAK
This document describes a Python midterm project to create a word and character counter with a simple GUI using Tkinter. It provides an overview of Tkinter and outlines 9 steps to build the GUI application, including importing Tkinter, creating a main window, adding labels and entries to collect input and display output, defining functions to calculate word and character counts, and adding buttons to trigger the functions. It includes code snippets for each step and example outputs. The full Python code is provided across 3 pages at the end.
Chapter 1 Class 12 Computer Science Unit 1ssusera7a08a
The document discusses the basics of Python programming language. It provides an introduction to Python, describing how it is an interpreted, high-level and general-purpose programming language. It then covers Python features, data types, operators, and how to work in both interactive and script modes in Python. The document also discusses topics like variables, data handling, arithmetic operators, comparison operators, and more with examples.
The document discusses Python programming language. It provides an introduction to Python, describing it as an interpreted, high-level and general-purpose programming language. It then covers various data types in Python including numbers, strings, booleans, lists, tuples, sets and dictionaries. The document also discusses operators in Python like arithmetic, comparison, logical and bitwise operators. Finally, it explains how to work with Python in both interactive and script modes.
The document provides an overview of key C++ concepts including:
- C++ is an extension of C that adds object-oriented features like inheritance, polymorphism, encapsulation and abstraction.
- It discusses the differences between C and C++, data types, variables, arrays, strings, functions, and conditionals.
- The document concludes with examples of C++ programs and practice questions.
It was presented in #NullHyd on 14th Dec, 2019 with 4 hours hands-on session. All code has been shared in github repo as well: https://github.com/jassics/python-for-cybersecurity
This document provides an introduction to Python programming language. It discusses what Python is, its features, applications, and how it compares to compiled languages in terms of compiling versus interpreting. It also covers installing Python, different Python environments like the Python shell, IDLE, Jupyter Notebook, and Anaconda. Basic Python concepts like variables, data types, operators, functions, modules, and math module commands are explained. The reader is instructed to install NumPy and SciPy using conda for the next lab and test the installations.
This document provides an introduction to Python programming concepts including data types, operators, control flow statements, functions and modules. It discusses the basic Python data types like integers, floats, booleans, strings, lists, tuples, dictionaries and sets. It also covers Python operators like arithmetic, assignment, comparison, logical and identity operators. Additionally, it describes control flow statements like if/else and for loops. Finally, it touches on functions, modules and input/output statements in Python.
This document provides an overview of the basics of the Python programming language. It discusses Python's history and features, data types like numbers, strings, lists, tuples and dictionaries. It also covers Python concepts like variables, operators, control flow statements and functions. Specific topics covered include Python interpreters, comments, variables and scopes, data structures, conditional statements like if/else, and exceptions handling.
Python is a high-level, general-purpose programming language that was created by Guido van Rossum in 1985. It is an interpreted, interactive, object-oriented language with features like dynamic typing and memory management. This document provides an overview of Python 3 and its basic syntax, data types, operators, decision making structures like if/else statements, and loops. It covers topics like variables, numbers, strings, lists, tuples, dictionaries, and type conversion between data types.
unit (1)INTRODUCTION TO PYTHON course.pptxusvirat1805
This document provides an introduction to the Python programming language. It discusses what Python is, its history and features. It describes common uses of Python in industries like CIA, Google, Facebook, NASA. It also covers Python building blocks like identifiers, variables, keywords. Additionally, it explains Python data types like numeric, strings, lists, tuples and dictionaries. Finally, it discusses taking input in Python and type casting.
The document discusses Python programming fundamentals including classes, objects, loops, strings, and conditional statements. It introduces Python classes and how to define and instantiate classes. It also covers built-in functions, number types, strings, accessing string characters, string formatting, conditional statements like if/else, and for/while loops. Various examples are provided to demonstrate class creation, string manipulation, and looping constructs in Python.
The document provides an overview of Unit 1 of a Python programming course taught by Dr. C. Sreedhar. Unit 1 covers introduction to Python including its history, installation, execution, commenting, data types, operators, and writing simple programs. It discusses Python's character set, tokens, core data types, I/O functions, assigning values to variables, and multiple assignments. Operators and expressions such as arithmetic, comparison, logical, and bitwise operators are also covered. Examples of simple Python programs are provided.
1. The document discusses object oriented programming concepts like classes, objects, inheritance, and polymorphism in C++.
2. It begins with an introduction to procedural programming and its limitations. Object oriented programming aims to overcome these limitations by emphasizing data over procedures and allowing for inheritance, polymorphism, and encapsulation.
3. The document then covers key OOP concepts like classes, objects, constructors, and static class members in C++. It provides examples of creating classes and objects.
The document provides an overview of the Python programming language. It discusses what Python is, its history and naming, features like being dynamically typed and interpreted, popular applications like web development, machine learning, and its architecture. It also covers Python constructs like variables, data types, operators, and strings. The document compares Python to other languages and provides examples of common Python concepts.
This document provides a summary of a lecture on Python and Perl. It recaps previous topics, outlines goals for the next few weeks including creating simple games with PyGame. It then outlines the topics to be covered, including Python built-in objects like numbers, strings, lists, tuples, dictionaries and files. It discusses numeric operations and formats. It also covers modules, user input, and string formatting.
V design and implementation of network security using genetic algorithmeSAT Journals
Abstract Over the last few years, Secured transmission of data has been a major issue in data communication. This project mainly concerns about the security of confidential information and data transmission using public key cryptography with Genetic Algorithm in order to provide confidentiality, authentication, integrity and non-repudiation of the messages. First, an algorithm is developed and implemented to generate a key pair (Private and public Key).A plain text is encrypted using the Public Key of receiver to produce an intermediate cipher. The intermediate cipher is again encrypted using genetic algorithm to produce final cipher. The final cipher first decrypted to produce the intermediate cipher which in turn decrypted to get the plain text using the Private key of the receiver or vice versa. Index Terms: Network Security, Genetic Algorithm
Design and implementation of network security using genetic algorithmeSAT Publishing House
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology.
Python is a great programming language. It is a complete tutorial of using this programming language.
This slides is split into two parts, and it is the second part. Another part is at: http://www.slideshare.net/moskytw/programming-with-python-basic.
2 BytesC++ course_2014_c9_ pointers and dynamic arrays kinan keshkeh
The document discusses pointers and arrays in C++. It begins with definitions of pointers, including that a pointer stores a memory address and pointer variable declarations. It then covers various pointer topics like dereferencing pointers, passing pointers to functions, and returning pointers from functions. The document also discusses dynamic memory allocation using pointers, pointer arithmetic, multi-dimensional dynamic arrays, pointers and classes, and the this pointer. Code examples are provided to illustrate many of the concepts. Homework problems at the end involve writing functions to insert into and print a linked list of vehicle records, search the list, compare dates, and print records before a given date.
These slides were used for the second pySIG class. It covers if-elif-else, string formatting and loops. You can find the first presentation here: http://www.slideshare.net/PranavSB/what-is-python-53192872
A statistical software package written in Python and first released in 2013.
Named after our former colleague Jon Rasbash and pronounced “Stature”.
Stat-JR is meant to appeal to novice users, expert users and other algorithm developers
It has its own MCMC estimation engine built into the software but also allows interoperability with other software packages (this talk).
Has several interfaces including an electronic book interface including “statistical analysis assistant” features (talk 2).
Can also be used to create “bespoke” training materials in combination with the SPSS software package (talk 3).
Records (structs) provide a way to organize related data into a single data type called a struct. A struct allows grouping of different data types together under one name. It can contain simple and complex data types as members. Structs are useful for representing records like student records, bank accounts, and address books. Members of a struct are accessed using the dot operator, and arrays of structs can be used to represent multiple records.
Best 20 SEO Techniques To Improve Website Visibility In SERPPixlogix Infotech
Boost your website's visibility with proven SEO techniques! Our latest blog dives into essential strategies to enhance your online presence, increase traffic, and rank higher on search engines. From keyword optimization to quality content creation, learn how to make your site stand out in the crowded digital landscape. Discover actionable tips and expert insights to elevate your SEO game.
More Related Content
Similar to Introduction to Python - Jouda M Qamar.pdf
This document provides an overview of the basics of the Python programming language. It discusses Python's history and features, data types like numbers, strings, lists, tuples and dictionaries. It also covers Python concepts like variables, operators, control flow statements and functions. Specific topics covered include Python interpreters, comments, variables and scopes, data structures, conditional statements like if/else, and exceptions handling.
Python is a high-level, general-purpose programming language that was created by Guido van Rossum in 1985. It is an interpreted, interactive, object-oriented language with features like dynamic typing and memory management. This document provides an overview of Python 3 and its basic syntax, data types, operators, decision making structures like if/else statements, and loops. It covers topics like variables, numbers, strings, lists, tuples, dictionaries, and type conversion between data types.
unit (1)INTRODUCTION TO PYTHON course.pptxusvirat1805
This document provides an introduction to the Python programming language. It discusses what Python is, its history and features. It describes common uses of Python in industries like CIA, Google, Facebook, NASA. It also covers Python building blocks like identifiers, variables, keywords. Additionally, it explains Python data types like numeric, strings, lists, tuples and dictionaries. Finally, it discusses taking input in Python and type casting.
The document discusses Python programming fundamentals including classes, objects, loops, strings, and conditional statements. It introduces Python classes and how to define and instantiate classes. It also covers built-in functions, number types, strings, accessing string characters, string formatting, conditional statements like if/else, and for/while loops. Various examples are provided to demonstrate class creation, string manipulation, and looping constructs in Python.
The document provides an overview of Unit 1 of a Python programming course taught by Dr. C. Sreedhar. Unit 1 covers introduction to Python including its history, installation, execution, commenting, data types, operators, and writing simple programs. It discusses Python's character set, tokens, core data types, I/O functions, assigning values to variables, and multiple assignments. Operators and expressions such as arithmetic, comparison, logical, and bitwise operators are also covered. Examples of simple Python programs are provided.
1. The document discusses object oriented programming concepts like classes, objects, inheritance, and polymorphism in C++.
2. It begins with an introduction to procedural programming and its limitations. Object oriented programming aims to overcome these limitations by emphasizing data over procedures and allowing for inheritance, polymorphism, and encapsulation.
3. The document then covers key OOP concepts like classes, objects, constructors, and static class members in C++. It provides examples of creating classes and objects.
The document provides an overview of the Python programming language. It discusses what Python is, its history and naming, features like being dynamically typed and interpreted, popular applications like web development, machine learning, and its architecture. It also covers Python constructs like variables, data types, operators, and strings. The document compares Python to other languages and provides examples of common Python concepts.
This document provides a summary of a lecture on Python and Perl. It recaps previous topics, outlines goals for the next few weeks including creating simple games with PyGame. It then outlines the topics to be covered, including Python built-in objects like numbers, strings, lists, tuples, dictionaries and files. It discusses numeric operations and formats. It also covers modules, user input, and string formatting.
V design and implementation of network security using genetic algorithmeSAT Journals
Abstract Over the last few years, Secured transmission of data has been a major issue in data communication. This project mainly concerns about the security of confidential information and data transmission using public key cryptography with Genetic Algorithm in order to provide confidentiality, authentication, integrity and non-repudiation of the messages. First, an algorithm is developed and implemented to generate a key pair (Private and public Key).A plain text is encrypted using the Public Key of receiver to produce an intermediate cipher. The intermediate cipher is again encrypted using genetic algorithm to produce final cipher. The final cipher first decrypted to produce the intermediate cipher which in turn decrypted to get the plain text using the Private key of the receiver or vice versa. Index Terms: Network Security, Genetic Algorithm
Design and implementation of network security using genetic algorithmeSAT Publishing House
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology.
Python is a great programming language. It is a complete tutorial of using this programming language.
This slides is split into two parts, and it is the second part. Another part is at: http://www.slideshare.net/moskytw/programming-with-python-basic.
2 BytesC++ course_2014_c9_ pointers and dynamic arrays kinan keshkeh
The document discusses pointers and arrays in C++. It begins with definitions of pointers, including that a pointer stores a memory address and pointer variable declarations. It then covers various pointer topics like dereferencing pointers, passing pointers to functions, and returning pointers from functions. The document also discusses dynamic memory allocation using pointers, pointer arithmetic, multi-dimensional dynamic arrays, pointers and classes, and the this pointer. Code examples are provided to illustrate many of the concepts. Homework problems at the end involve writing functions to insert into and print a linked list of vehicle records, search the list, compare dates, and print records before a given date.
These slides were used for the second pySIG class. It covers if-elif-else, string formatting and loops. You can find the first presentation here: http://www.slideshare.net/PranavSB/what-is-python-53192872
A statistical software package written in Python and first released in 2013.
Named after our former colleague Jon Rasbash and pronounced “Stature”.
Stat-JR is meant to appeal to novice users, expert users and other algorithm developers
It has its own MCMC estimation engine built into the software but also allows interoperability with other software packages (this talk).
Has several interfaces including an electronic book interface including “statistical analysis assistant” features (talk 2).
Can also be used to create “bespoke” training materials in combination with the SPSS software package (talk 3).
Records (structs) provide a way to organize related data into a single data type called a struct. A struct allows grouping of different data types together under one name. It can contain simple and complex data types as members. Structs are useful for representing records like student records, bank accounts, and address books. Members of a struct are accessed using the dot operator, and arrays of structs can be used to represent multiple records.
Similar to Introduction to Python - Jouda M Qamar.pdf (20)
Best 20 SEO Techniques To Improve Website Visibility In SERPPixlogix Infotech
Boost your website's visibility with proven SEO techniques! Our latest blog dives into essential strategies to enhance your online presence, increase traffic, and rank higher on search engines. From keyword optimization to quality content creation, learn how to make your site stand out in the crowded digital landscape. Discover actionable tips and expert insights to elevate your SEO game.
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
HCL Notes and Domino License Cost Reduction in the World of DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-and-domino-license-cost-reduction-in-the-world-of-dlau/
The introduction of DLAU and the CCB & CCX licensing model caused quite a stir in the HCL community. As a Notes and Domino customer, you may have faced challenges with unexpected user counts and license costs. You probably have questions on how this new licensing approach works and how to benefit from it. Most importantly, you likely have budget constraints and want to save money where possible. Don’t worry, we can help with all of this!
We’ll show you how to fix common misconfigurations that cause higher-than-expected user counts, and how to identify accounts which you can deactivate to save money. There are also frequent patterns that can cause unnecessary cost, like using a person document instead of a mail-in for shared mailboxes. We’ll provide examples and solutions for those as well. And naturally we’ll explain the new licensing model.
Join HCL Ambassador Marc Thomas in this webinar with a special guest appearance from Franz Walder. It will give you the tools and know-how to stay on top of what is going on with Domino licensing. You will be able lower your cost through an optimized configuration and keep it low going forward.
These topics will be covered
- Reducing license cost by finding and fixing misconfigurations and superfluous accounts
- How do CCB and CCX licenses really work?
- Understanding the DLAU tool and how to best utilize it
- Tips for common problem areas, like team mailboxes, functional/test users, etc
- Practical examples and best practices to implement right away
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2024/06/building-and-scaling-ai-applications-with-the-nx-ai-manager-a-presentation-from-network-optix/
Robin van Emden, Senior Director of Data Science at Network Optix, presents the “Building and Scaling AI Applications with the Nx AI Manager,” tutorial at the May 2024 Embedded Vision Summit.
In this presentation, van Emden covers the basics of scaling edge AI solutions using the Nx tool kit. He emphasizes the process of developing AI models and deploying them globally. He also showcases the conversion of AI models and the creation of effective edge AI pipelines, with a focus on pre-processing, model conversion, selecting the appropriate inference engine for the target hardware and post-processing.
van Emden shows how Nx can simplify the developer’s life and facilitate a rapid transition from concept to production-ready applications.He provides valuable insights into developing scalable and efficient edge AI solutions, with a strong focus on practical implementation.
5th LF Energy Power Grid Model Meet-up SlidesDanBrown980551
5th Power Grid Model Meet-up
It is with great pleasure that we extend to you an invitation to the 5th Power Grid Model Meet-up, scheduled for 6th June 2024. This event will adopt a hybrid format, allowing participants to join us either through an online Mircosoft Teams session or in person at TU/e located at Den Dolech 2, Eindhoven, Netherlands. The meet-up will be hosted by Eindhoven University of Technology (TU/e), a research university specializing in engineering science & technology.
Power Grid Model
The global energy transition is placing new and unprecedented demands on Distribution System Operators (DSOs). Alongside upgrades to grid capacity, processes such as digitization, capacity optimization, and congestion management are becoming vital for delivering reliable services.
Power Grid Model is an open source project from Linux Foundation Energy and provides a calculation engine that is increasingly essential for DSOs. It offers a standards-based foundation enabling real-time power systems analysis, simulations of electrical power grids, and sophisticated what-if analysis. In addition, it enables in-depth studies and analysis of the electrical power grid’s behavior and performance. This comprehensive model incorporates essential factors such as power generation capacity, electrical losses, voltage levels, power flows, and system stability.
Power Grid Model is currently being applied in a wide variety of use cases, including grid planning, expansion, reliability, and congestion studies. It can also help in analyzing the impact of renewable energy integration, assessing the effects of disturbances or faults, and developing strategies for grid control and optimization.
What to expect
For the upcoming meetup we are organizing, we have an exciting lineup of activities planned:
-Insightful presentations covering two practical applications of the Power Grid Model.
-An update on the latest advancements in Power Grid -Model technology during the first and second quarters of 2024.
-An interactive brainstorming session to discuss and propose new feature requests.
-An opportunity to connect with fellow Power Grid Model enthusiasts and users.
OpenID AuthZEN Interop Read Out - AuthorizationDavid Brossard
During Identiverse 2024 and EIC 2024, members of the OpenID AuthZEN WG got together and demoed their authorization endpoints conforming to the AuthZEN API
Taking AI to the Next Level in Manufacturing.pdfssuserfac0301
Read Taking AI to the Next Level in Manufacturing to gain insights on AI adoption in the manufacturing industry, such as:
1. How quickly AI is being implemented in manufacturing.
2. Which barriers stand in the way of AI adoption.
3. How data quality and governance form the backbone of AI.
4. Organizational processes and structures that may inhibit effective AI adoption.
6. Ideas and approaches to help build your organization's AI strategy.
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfMalak Abu Hammad
Discover how MongoDB Atlas and vector search technology can revolutionize your application's search capabilities. This comprehensive presentation covers:
* What is Vector Search?
* Importance and benefits of vector search
* Practical use cases across various industries
* Step-by-step implementation guide
* Live demos with code snippets
* Enhancing LLM capabilities with vector search
* Best practices and optimization strategies
Perfect for developers, AI enthusiasts, and tech leaders. Learn how to leverage MongoDB Atlas to deliver highly relevant, context-aware search results, transforming your data retrieval process. Stay ahead in tech innovation and maximize the potential of your applications.
#MongoDB #VectorSearch #AI #SemanticSearch #TechInnovation #DataScience #LLM #MachineLearning #SearchTechnology
Digital Marketing Trends in 2024 | Guide for Staying AheadWask
https://www.wask.co/ebooks/digital-marketing-trends-in-2024
Feeling lost in the digital marketing whirlwind of 2024? Technology is changing, consumer habits are evolving, and staying ahead of the curve feels like a never-ending pursuit. This e-book is your compass. Dive into actionable insights to handle the complexities of modern marketing. From hyper-personalization to the power of user-generated content, learn how to build long-term relationships with your audience and unlock the secrets to success in the ever-shifting digital landscape.
Driving Business Innovation: Latest Generative AI Advancements & Success StorySafe Software
Are you ready to revolutionize how you handle data? Join us for a webinar where we’ll bring you up to speed with the latest advancements in Generative AI technology and discover how leveraging FME with tools from giants like Google Gemini, Amazon, and Microsoft OpenAI can supercharge your workflow efficiency.
During the hour, we’ll take you through:
Guest Speaker Segment with Hannah Barrington: Dive into the world of dynamic real estate marketing with Hannah, the Marketing Manager at Workspace Group. Hear firsthand how their team generates engaging descriptions for thousands of office units by integrating diverse data sources—from PDF floorplans to web pages—using FME transformers, like OpenAIVisionConnector and AnthropicVisionConnector. This use case will show you how GenAI can streamline content creation for marketing across the board.
Ollama Use Case: Learn how Scenario Specialist Dmitri Bagh has utilized Ollama within FME to input data, create custom models, and enhance security protocols. This segment will include demos to illustrate the full capabilities of FME in AI-driven processes.
Custom AI Models: Discover how to leverage FME to build personalized AI models using your data. Whether it’s populating a model with local data for added security or integrating public AI tools, find out how FME facilitates a versatile and secure approach to AI.
We’ll wrap up with a live Q&A session where you can engage with our experts on your specific use cases, and learn more about optimizing your data workflows with AI.
This webinar is ideal for professionals seeking to harness the power of AI within their data management systems while ensuring high levels of customization and security. Whether you're a novice or an expert, gain actionable insights and strategies to elevate your data processes. Join us to see how FME and AI can revolutionize how you work with data!
Project Management Semester Long Project - Acuityjpupo2018
Acuity is an innovative learning app designed to transform the way you engage with knowledge. Powered by AI technology, Acuity takes complex topics and distills them into concise, interactive summaries that are easy to read & understand. Whether you're exploring the depths of quantum mechanics or seeking insight into historical events, Acuity provides the key information you need without the burden of lengthy texts.
Your One-Stop Shop for Python Success: Top 10 US Python Development Providersakankshawande
Simplify your search for a reliable Python development partner! This list presents the top 10 trusted US providers offering comprehensive Python development services, ensuring your project's success from conception to completion.
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfChart Kalyan
A Mix Chart displays historical data of numbers in a graphical or tabular form. The Kalyan Rajdhani Mix Chart specifically shows the results of a sequence of numbers over different periods.
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-und-domino-lizenzkostenreduzierung-in-der-welt-von-dlau/
DLAU und die Lizenzen nach dem CCB- und CCX-Modell sind für viele in der HCL-Community seit letztem Jahr ein heißes Thema. Als Notes- oder Domino-Kunde haben Sie vielleicht mit unerwartet hohen Benutzerzahlen und Lizenzgebühren zu kämpfen. Sie fragen sich vielleicht, wie diese neue Art der Lizenzierung funktioniert und welchen Nutzen sie Ihnen bringt. Vor allem wollen Sie sicherlich Ihr Budget einhalten und Kosten sparen, wo immer möglich. Das verstehen wir und wir möchten Ihnen dabei helfen!
Wir erklären Ihnen, wie Sie häufige Konfigurationsprobleme lösen können, die dazu führen können, dass mehr Benutzer gezählt werden als nötig, und wie Sie überflüssige oder ungenutzte Konten identifizieren und entfernen können, um Geld zu sparen. Es gibt auch einige Ansätze, die zu unnötigen Ausgaben führen können, z. B. wenn ein Personendokument anstelle eines Mail-Ins für geteilte Mailboxen verwendet wird. Wir zeigen Ihnen solche Fälle und deren Lösungen. Und natürlich erklären wir Ihnen das neue Lizenzmodell.
Nehmen Sie an diesem Webinar teil, bei dem HCL-Ambassador Marc Thomas und Gastredner Franz Walder Ihnen diese neue Welt näherbringen. Es vermittelt Ihnen die Tools und das Know-how, um den Überblick zu bewahren. Sie werden in der Lage sein, Ihre Kosten durch eine optimierte Domino-Konfiguration zu reduzieren und auch in Zukunft gering zu halten.
Diese Themen werden behandelt
- Reduzierung der Lizenzkosten durch Auffinden und Beheben von Fehlkonfigurationen und überflüssigen Konten
- Wie funktionieren CCB- und CCX-Lizenzen wirklich?
- Verstehen des DLAU-Tools und wie man es am besten nutzt
- Tipps für häufige Problembereiche, wie z. B. Team-Postfächer, Funktions-/Testbenutzer usw.
- Praxisbeispiele und Best Practices zum sofortigen Umsetzen
2. What can Python do?
• Python can be used on a server to create web applications.
• Python can be used alongside software to create workflows.
• Python can connect to database systems. It can also read and
modify files.
• Python can be used to handle big data and perform complex
mathematics.
• Python can be used for rapid prototyping, or for production-ready
software development.
Jouda M.Qamar - 2023 2
3. What is Python?
• Python is a popular programming language.
• It was created by Guido van Rossum, and released in 1991.
Jouda M.Qamar - 2023
The most recent major version of Python is Python 3, which we shall be
using in this tutorial. However, Python 2, although not being updated with
anything other than security updates, is still quite popular.
______________________________________________
In this tutorial Python will be written in a text editor.
TOOLS:
- python install (https://www.python.org/).
- anaconda (https://www.anaconda.com/).
3
4. Python Syntax
Python Syntax compared to other programming languages!
• Python was designed for readability.
• Python uses new lines to complete a command, as opposed to other
programming languages which often use semicolons or parentheses.
• Python relies on indentation, using whitespace, to define scope; such
as the scope of loops, functions and classes. Other programming
languages often use curly-brackets for this purpose.
Jouda M.Qamar - 2023 4
5. Compare between C++ & Python
C++
#include <iostream>
using namespace std;
int main ()
{
int x,y,z;
cin >> x >> y;
z=x+y;
cout << z;
Return0;
} output : value z
Jouda M.Qamar - 2023
Python
x=2
y=3
print(x+y)
output :5
5
6. Jouda M.Qamar - 2023
Chapter One
Python syntax and Python Variables
6
7. Python syntax
Writing the first line in Python
print("coding academy!")
_______________________________________________
What is output :
print("Hello, World!")
Output : ------------------
print (“jouda”)
Output : ------------------
print ("23")
Output : ------------------
8. Build your first program in Python
• Using the Python programming language, draw a triangle shape
print (" /|")
print (" / |")
print (" / |")
print ("/__|")
Output:
Jouda M.Qamar - 2023 8
print (" ________")
print ("| |")
print ("| |")
print ("|________|")
Output:
9. Python - Variables
• variables are containers for storing data values.
• Creating Variables:
Python has no command for declaring a variable.
A variable is created the moment you first assign a value to it.
Jouda M.Qamar - 2023 9
x = 27
y = "jouda"
print(x)
print(y)
Variables do not need to be declared with any particular type,
and can even change type after they have been set.
x = 4 # x is of type int
x = "Sally" # x is now of type str
print(x)
10. Python - Variables Cont.
• Casting
If you want to specify the data type of a variable, this can be done with casting.
x = str(3) # x will be '3'
y = int(3) # y will be 3
z = float(3) # z will be 3.0
• Get the Type
You can get the data type of a variable with the type() function:
Jouda M.Qamar - 2023 10
x = 5
y = "John"
print(type(x))
print(type(y))
11. Python - Variables Cont.
Single or Double Quotes?
String variables can be declared either by using single or
double quotes:
x = "Jouda"
# is the same as
x = 'Jouda'
Case-Sensitive
a = 4
A = "Sally"
#A will not overwrite a
Jouda M.Qamar - 2023 11
12. Python - Variable Names
Variable Names:
• A variable can have a short name (like x and y) or a more descriptive
name (age, carname, total_volume).
• Rules for Python variables:A variable name must start with a letter or
the underscore character.
• A variable name can not start with a number.
• Variable names are case-sensitive (age, Age and AGE are three
different variables).
Jouda M.Qamar - 2023 12
14. Multi Words Variable Names
• Variable names with more than one word can be difficult to read.
MyVariableName = "Jouda"
myVariableName = "Jouda"
my_variable_name = "Jouda"
Jouda M.Qamar - 2023 14
15. Python Variables - Assign Multiple Values
1- x, y, z = "Ahmed", "Ali", "Mohamed"
print(x)
print(y)
print(z)
2- x = y = z = "Orange"
print(x)
print(y)
print(z)
Jouda M.Qamar - 2023 15
16. Python - Output Variables
Output Variables:
The Python print() function is often used to output variables.
x = "jouda mohamed"
print(x)
Output : jouda mohamed
x = "Jouda"
y = "Mohamed"
z = "Qamar"
print(x, y, z)
Output : Jouda Mohamed Qamar
Jouda M.Qamar - 2023 16
x = "Jouda"
y = "Mohamed"
z = "Qamar"
print(x + y + z)
Output : Jouda Mohamed Qamar
x = 5
y = 10
print(x + y)
Output : 15
17. Simple Questions
Jouda M.Qamar - 2023 17
A- using python writing the programs :
1- Create a variable named carname and assign the value lada to it.
2- Create a variable named x and assign the value 200.5 to it.
3- Display the sum of 200 + 1000, using two variables: x and y.
4- Create a variable called z, assign x + y to it, and display the result.
B- What is error correction:
I. 2my-first_name = "mohamed"
II. x="2”
y= 3.5
print (“x+y")
18. Summary
• Anything inside double quotation marks is printed as is.
• Print () To output text, a number, or anything I want.
• Creating variables and knowing how to create more than one value
inside a variable, as well as the rules for creating variables.
• Knowing the types of variables and how to change between them and
doing Costing.
• Determine the type of the variable through the command type().
Jouda M.Qamar - 2023 18
19. Jouda M.Qamar - 2023
Chapter Two
Python Data Types and Python Operators and input
19
20. Jouda M.Qamar - 2023 20
Python Data Types
In programming, data type is an
important concept.
Variables can store data of
different types, and different types
can do different things.
Text str
Numeric int, float, complex
Sequence list, tuple, range
Mapping dict
Set set, frozenset
Boolean bool
Binary bytes, bytearray, memoryview
None NoneType
21. Jouda M.Qamar - 2023 21
Python Numeric Data type.
In Python, numeric data type is used to hold numeric values.
Integers, floating-point numbers and complex numbers fall under Python numbers category.
They are defined as int, float and complex classes in Python.
int - holds signed integers of non-limited length.
float - holds floating decimal points and it's accurate up to 15 decimal places.
complex - holds complex numbers.
We can use the type() function to know which class a variable or a value belongs to.
22. Jouda M.Qamar - 2023 22
Example
num1 = 5
print(num1, 'is of type', type(num1))
num2 = 2.0
print(num2, 'is of type', type(num2))
num3 = 1+2j
print(num3, 'is of type', type(num3))
Output
5 is of type <class 'int'>
2.0 is of type <class 'float'>
(1+2j) is of type <class 'complex'>
23. Jouda M.Qamar - 2023 23
Python List Data Type.
List is an ordered collection of similar or different types of items separated by commas and
enclosed within brackets [ ].
For example
languages = ["c++", "R", "Python"]
Access List Items
To access items from a list, we use the index
number (0, 1, 2 ...)
languages = ["c++", “R", "Python"]
# access element at index 0
print(languages[0]) # Swift
# access element at index 2
print(languages[2]) # Python
24. Jouda M.Qamar - 2023 24
Python Tuple Data Type
• Tuple is an ordered sequence of items same as a list.
• The only difference is that tuples are immutable.
• Tuples once created cannot be modified.
product = ('Xbox', 499.99)
Access Tuple Items
# create a tuple
product = ('Microsoft', 'Xbox', 499.99)
# access element at index 0
print(product[0]) # Microsoft
# access element at index 1
print(product[1]) # Xbox
25. Jouda M.Qamar - 2023 25
Python String Data Type
String is a sequence of characters represented by either single or double quotes.
For example
name = 'Python'
print(name)
message = 'Python for beginners'
print(message)
Output
Python
Python for beginners
26. Jouda M.Qamar - 2023 26
Python Set Data Type
Set is an unordered collection of unique items. Set is defined by values separated by
commas inside braces { }
# create a set named student_id
student_id = {112, 114, 116, 118, 115}
# display student_id elements
print(student_id)
# display type of student_id
print(type(student_id))
Output
{112, 114, 115, 116, 118}
<class 'set'>
27. Jouda M.Qamar - 2023 27
Python Booleans
Booleans represent one of two values: True or False.
Boolean Values
• In programming you often need to know if an expression is True or False.
• You can evaluate any expression in Python, and get one of two answers, True or False.
print(10 > 9)
print(10 == 9)
print(10 < 9)
28. Jouda M.Qamar - 2023 28
Python Operators
Operators are used to perform operations on variables and values.
Operator Name Example
+ Addition x + y
- Subtraction x - y
* Multiplication x * y
/ Division x / y
% Modulus x % y
** Exponentiation x ** y
// Floor division x // y
29. Type Conversion
Jouda M.Qamar - 2023 29
x = 1 # int
y = 2.8 # float
z = 1j # complex
#convert from int to float:
a = float(x)
#convert from float to int:
b = int(y)
#convert from int to complex:
c = complex(x)
print(a)
print(b)
print(c)
print(type(a))
print(type(b))
print(type(c))
30. Python Casting
- Specify a Variable Type
• There may be times when you want to specify a type on to a variable. This can be
done with casting. Python is an object-orientated language, and as such it uses
classes to define data types, including its primitive types.
• Casting in python is therefore done using constructor functions:
• int() - constructs an integer number from an integer literal, a float literal (by
removing all decimals), or a string literal (providing the string represents a whole
number)
• float() - constructs a float number from an integer literal, a float literal or a string
literal (providing the string represents a float or an integer)
• str() - constructs a string from a wide variety of data types, including strings,
integer literals and float literals
Jouda M.Qamar - 2023 30
31. #int
x = int(1) # x will be 1
y = int(2.8) # y will be 2
z = int("3") # z will be 3
Jouda M.Qamar - 2023 31
#float
x = float(1) # x will be 1.0
y = float(2.8) # y will be 2.8
z = float("3") # z will be 3.0
w = float("4.2") # w will be 4.2
#string
x = str("s1") # x will be 's1'
y = str(2) # y will be '2'
z = str(3.0) # z will be '3.0'
33. input in Python
input (): This function first takes the input from the user and converts it
into a string.
val = input("Enter your value: ")
print(val)
# Python program showing
# a use of input()
Jouda M.Qamar - 2023 33
34. Simple program using input,define to var.
name and input for your name by n.
name = input('What is your name?n')
# n ---> newline ---> It causes a line break
print(name)
Jouda M.Qamar - 2023 34
35. input in Python cont.
Note: input() function takes all the input as a string only.
• There are various function that are used to take as desired input few
of them are :
int(input())
float(input())
Jouda M.Qamar - 2023 35
36. Multiple inputs from user in Python
• using split() method :
This function helps in getting multiple inputs from users. It breaks the
given input by the specified separator. If a separator is not provided
then any white space is a separator. Generally, users use a split()
method to split a Python string but one can use it in taking multiple
inputs.
Jouda M.Qamar - 2023 36
Syntax :
input().split(separator, maxsplit)
37. Multiple inputs from user in Python
Jouda M.Qamar - 2023 37
# taking two inputs at a time
x, y = input("Enter two values: ").split()
print("Number of boys: ", x)
print("Number of girls: ", y)
print()
# taking three inputs at a time
x, y, z = input("Enter three values: ").split()
print("Total number of students: ", x)
print("Number of boys is : ", y)
print("Number of girls is : ", z)
print()
38. Programs by python
• using Python, create a simple program to calculate the sum of two
numbers.
Jouda M.Qamar - 2023 38
39. Programs by python
• using Python, create a simple program to calculate area of rectangle
height = float (input ("Enter Height :"))
width = float (input ("Enter width :"))
print ("The result is :",height*width)
Jouda M.Qamar - 2023 39
40. Programs by python
• If the computer
programming course
has a final score of
100, please create a
program to read the
students’name and
code, and then know
the grade of each
student.
Jouda M.Qamar - 2023 40
student_name = str (input ("Enter Student Name : "))
student_id = int (input ("Enter Student id : "))
degree = float (input ("Enter Student degree : "))
if degree >= 80 :
print ("A")
elif degree >= 70 :
print ("B")
elif degree >= 60 :
print ("C")
elif degree >= 50 :
print ("D")
else :
print ("F")
42. Python If ... Else
Python supports the usual logical conditions from mathematics:
• Equals: a == b
• Not Equals: a != b
• Less than: a < b
• Less than or equal to: a <= b
• Greater than: a > b
• Greater than or equal to: a >= b
These conditions can be used in several ways, most commonly in "if statements" and loops.
Jouda M.Qamar - 2023 42
43. Jouda M.Qamar - 2023 43
if condition: statement1 statement2 # Here if the condition is true, if block # will consider only statement1 to be inside # its block.
if condition:
statement1
statement2
# Here if the condition is true, if block
# will consider only statement1 to be inside
# its block.
Flowchart of Python if statement
44. Example: Python if Statement
Jouda M.Qamar - 2023 44
# python program to illustrate If statement
i = 10
if (i > 15):
print("10 is less than 15")
print("I am Not in if")
Output:
I am Not in if
45. if-else
Syntax:
if (condition):
# Executes this block if
# condition is true
else:
# Executes this block if
# condition is false
Jouda M.Qamar - 2023 45
FlowChart of Python if-else statement
46. Example : Python if-else statement
Jouda M.Qamar - 2023 46
# python program to illustrate If else statement
i = 20
if (i < 15):
print("i is smaller than 15")
print("i'm in if Block")
else:
print("i is greater than 15")
print("i'm in else Block")
print("i'm not in if and not in else Block")
Output:
i is greater than 15
i'm in else Block
i'm not in if and not in else Block
48. Example: Python if else elif statements
Jouda M.Qamar - 2023 48
# Python program to illustrate if-elif-else ladder
i = 20
if (i == 10):
print("i is 10")
elif (i == 15):
print("i is 15")
elif (i == 20):
print("i is 20")
else:
print("i is not present")
Output: i is 20
49. Chaining comparison operators in Python
">" | "<" | "==" | ">=" | "<=" | "!=" | "is" ["not"] | ["not"] "in"
Jouda M.Qamar - 2023 49
Chaining in Comparison Operators:
1.Comparisons yield boolean values: True or False.
2.Comparisons can be chained arbitrarily.
For example:
# Python code to illustrate
# chaining comparison operators
x = 5
print(1 < x < 10)
print(10 < x < 20 )
print(x < 10 < x*10 < 100)
print(10 > x <= 9)
print(5 == x > 4)
Output
True
False
True
True
True
Another Example:
# Python code to illustrate
# chaining comparison operators
a, b, c, d, e, f = 0, 5, 12, 0, 15, 15
exp1 = a <= b < c > d is not e is f
exp2 = a is d > f is not c
print(exp1)
print(exp2)
Output
True
False
50. And
a = 200
b = 33
c = 500
if a > b and c > a:
print("Both conditions are True")
Jouda M.Qamar - 2023 50
a > b and c > a
51. Or
a = 200
b = 33
c = 500
if a > b or a > c:
print("At least one of the conditions is True")
Jouda M.Qamar - 2023 51
a > b or a > c
52. Not
a = 33
b = 200
if not a > b:
print("a is NOT greater than b")
Jouda M.Qamar - 2023 52
not a > b
54. Python For Loops
For Loops Syntax
for var in iterable:
# statements
Jouda M.Qamar - 2023 54
Flowchart of for loop
55. Examples of For Loops in Python
• Example 1: Using For Loops in Python List:
Jouda M.Qamar - 2023 55
# Python program to illustrate
# Iterating over a list
l = ["coding", "academy", "for programming"]
for i in l:
print(i)
Output :
coding
academy
for programming
56. Continue Statement in Python
# Prints all letters except 'e' and 's'
for letter in 'geeksforgeeks':
if letter == 'e' or letter == 's':
continue
print('Current Letter :', letter)
Jouda M.Qamar - 2023 56
Output:
Current Letter : g
Current Letter : k
Current Letter : f
Current Letter : o
Current Letter : r
Current Letter : g
Current Letter : k
57. Break Statement in Python
for letter in 'geeksforgeeks':
# break the loop as soon it sees 'e'
# or 's'
if letter == 'e' or letter == 's':
break
print('Current Letter :', letter)
Jouda M.Qamar - 2023 57
Output:
Current Letter : e
58. Pass Statement in Python
# An empty loop
for letter in 'geeksforgeeks':
pass
print('Last Letter :', letter)
Jouda M.Qamar - 2023 58
Output: Last Letter : s
59. range () function in Python
Jouda M.Qamar - 2023 59
# Python Program to
# show range() basics
# printing a number
for i in range(10):
print(i, end=" ")
# performing sum of first 10 numbers
sum = 0
for i in range(1, 10):
sum = sum + i
print("nSum of first 10 numbers :", sum)
Output:
0 1 2 3 4 5 6 7 8 9
Sum of first 10 numbers : 45
60. For loop in Python with else
# for-else loop
for i in range(1, 4):
print(i)
else: # Executed because no break in for
print("No Breakn")
Jouda M.Qamar - 2023 60
Output:
1
2
3
No Break
63. While Loop
# Single statement while block
count = 0
while (count < 5): count += 1; print("Hello Geek")
Jouda M.Qamar - 2023 63
Output:
Hello Geek
Hello Geek
Hello Geek
Hello Geek
Hello Geek
64. The else Statement
With the else statement we can run a block of code once when the
condition no longer is true:
Jouda M.Qamar - 2023 64
i = 1
while i < 6:
print(i)
i += 1
else:
print("i is no longer less than 6")
65. Simple Questions
What is output :
1. p, q, r = 10, 20 ,30
print(p, q, r)
2.
a = 3
b = 5
if a>b : print ("TRUE")
else : print ("False")
Jouda M.Qamar - 2023 65
66. Simple Questions
3.
a = 50
b = 10
if a>b:
print("Hello World")
Write a program python :
1. Print "Yes" if a is equal to b, otherwise print "No".
2. Print "1" if a is equal to b, print "2" if a is greater than b, otherwise
print "3".
3. Print "Hello" if a is equal to b, or if c is equal to d.
Jouda M.Qamar - 2023 66
67. Simple Questions
The format function, when applied on a string returns :
- List - int - bool - str
What is output:
Jouda M.Qamar - 2023 67
70. Jouda M.Qamar - 2023 70
an array is a collection of items stored at contiguous memory locations.
The idea is to store multiple items of the same type together.
Python Arrays
71. Jouda M.Qamar - 2023 71
Creating a Array
Array in Python can be created by importing array module.
array(data_type, value_list)
is used to create an array with data type and value list specified in its
arguments.
72. Jouda M.Qamar - 2023 72
# Python program to demonstrate
# Creation of Array
# importing "array" for array creations
import array as arr
# creating an array with integer type
a = arr.array('i', [1, 2, 3])
# printing original array
print ("The new created array is : ", end =" ")
for i in range (0, 3):
print (a[i], end =" ")
print()
# creating an array with double type
b = arr.array('d', [2.5, 3.2, 3.3])
# printing original array
print ("The new created array is : ", end =" ")
for i in range (0, 3):
print (b[i], end =" ")
The new created array is : 1 2 3
The new created array is : 2.5 3.2 3.3
73. Array & List Methods
Python has a set of built-in methods that you can use on lists/arrays.
Jouda M.Qamar - 2023 73
Method Description
append() Adds an element at the end of the list
clear() Removes all the elements from the list
copy() Returns a copy of the list
count() Returns the number of elements with the specified value.
extend() Add the elements of a list (or any iterable), to the end of the current list
index() Returns the index of the first element with the specified value
insert() Adds an element at the specified position
pop() Removes the element at the specified position
remove() Removes the first item with the specified value
reverse() Reverses the order of the list
sort() Sorts the list
75. Python Functions
Functions is a block of statements that return the specific task.
Syntax: Python Functions
Jouda M.Qamar - 2023 75
76. Creating a Python Function
Jouda M.Qamar - 2023 76
We can create a Python function using the def keyword.
# A simple Python function
def fun():
print("Welcome Func ")
77. Calling a Python Function
After creating a function we can call it by using the name of the function
followed by parenthesis containing parameters of that particular
function.
def fun():
print("jouda")
# Driver code to call a function
fun()
Jouda M.Qamar - 2023 77