SlideShare a Scribd company logo
Pythoni huviring ,[object Object]
www.python.org
Arvutiprogramm Avr:`�DցD��D14CBenchCallback��e@�D��D�e��D14IBenchCallback��D��D�&@�&@;�>@8�� d8��p*>��8@>���b>����>����>����>�(A�� OC��@�C��`D����D����D��)E���E���E���E��0F��H:F��`�F��xEG���sG����G����G���H��0�H��HI��`�I���JK���6L���PL���jL�� (N��@�N��pFP���NP���VP���fP�<Q�� FQ��8NQ��PfQ��h�Q����Q����Q����Q����Q����Q���0R�pR����R��� .S�!��(!�S��H!(T��x!�T��8&quot;�U��p&quot;x��&quot;{_���&quot;4b��#��P#�o���#Ƅ���2������������ n���0 ҆��P 6���p P���� f���� |���� ����� �����!0����!Ĉ�&quot;@��$q���0$����%y���X+ȶ���#ж���#�����#����X$���p$.����$D����$^����$t����$ ط �� (%H���X%p���p%�����%����%T����%�����%����&T���0&����P&����p&T����&�����&�����&L����&����'����0'L���P'����p'�����'L����'�����'�����'t���( ��� 8(����X(H����(�����(�����(l���()����X)`����)�����)7�5���7 6���7�7��(89��X8�9���
Programmeerimiskeelne tekst #!/usr/bin/python # -*- coding: utf-8 -*- import Oppeained import Inimesed import random opilased = [Inimesed.Opilane] # Kõigepealt meetod, et luua valitud arv suvalisi õpilasi def juhuslikudOpilased(number): vastus = [Inimesed.Opilane] perenimed = [] eesnimed = [] # Kiire faili perenimed.txt lugemine for joon in open(&quot;perenimed.txt&quot;, &quot;r&quot;): perenimed.append(joon.strip()) for joon in open(&quot;nimed.txt&quot;, &quot;r&quot;): eesnimed.append(joon.strip())
Programmeerimine, mis see on? Idee, mida arvuti peab tegema Programmeerimis-keelne kirjeldus arvutile Tõlkimine arvutikoodiks Töötav programm #!/usr/bin/python # -*- coding: utf-8 -*- import Oppeained import Inimesed import random opilased = [Inimesed.Opilane] # Kõigepealt meetod, et luua valitud arv suvalisi õpilasi def juhuslikudOpilased(number): vastus = [Inimesed.Opilane] perenimed = [] eesnimed = [] # Kiire faili perenimed.txt lugemine for joon in open(&quot;perenimed.txt&quot;, &quot;r&quot;): perenimed.append(joon.strip()) for joon in open(&quot;nimed.txt&quot;, &quot;r&quot;): eesnimed.append(joon.strip()) Avr:`�DցD��D14CBenchCallback��e@�D��D�e��D14IBenchCallback��D��D�&@�&@;�>@8�� d8��p*>��8@>���b>����>����>����>�(A�� OC��@�C��`D����D����D��)E���E���E���E��0F��H:F��`�F��xEG���sG����G����G���H��0�H��HI��`�I���JK���6L���PL���jL�� (N��@�N��pFP���NP���VP���fP�<Q�� FQ��8NQ��PfQ��h�Q����Q����Q����Q����Q����Q���0R�pR����R��� .S�!��(!�S��H!(T��x!�T��8&quot;�U��p&quot;x��&quot;{_���&quot;4b��#��P#�o���#Ƅ���2������������ n���0 ҆��P 6���p P���� f���� |���� ����� �����!0����!Ĉ�&quot;@��$q���0$����%y���X+ȶ���#ж���#�����#����X$���p$.����$D����$^����$t����$ ط �� (%H���X%p���p%�����%����%T����%�����%����&T���0&����P&����p&T����&�����&�����&L����&����'����0'L���P'����p'�����'L����'�����'�����'t���( ��� 8(����X(H����(�����(�����(l���()����X)`����)�����)7�5���7 6���7�7��(89��X8�9��� Võtab tihti hulga lisaaega ja on tüütu
Java ,[object Object]
Väga lähedane keelele C#  ( Microsofti .NET )
Toimib kõikidel arvutitel
Saab teha kõike
Aeglane
Palju teksti
C++ ,[object Object]
Tõeliste proffide tööriist
Keeruline, kergesti võib vigu teha
Programmi ühelt opsüsteemilt teisele viies on vaja programm ümberseada ja uuesti masinkoodiks teha
Python ,[object Object]

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Pythoni Promo

  • 1.
  • 3. Arvutiprogramm Avr:`�DցD��D14CBenchCallback��e@�D��D�e��D14IBenchCallback��D��D�&@�&@;�>@8�� d8��p*>��8@>���b>����>����>����>�(A�� OC��@�C��`D����D����D��)E���E���E���E��0F��H:F��`�F��xEG���sG����G����G���H��0�H��HI��`�I���JK���6L���PL���jL�� (N��@�N��pFP���NP���VP���fP�<Q�� FQ��8NQ��PfQ��h�Q����Q����Q����Q����Q����Q���0R�pR����R��� .S�!��(!�S��H!(T��x!�T��8&quot;�U��p&quot;x��&quot;{_���&quot;4b��#��P#�o���#Ƅ���2������������ n���0 ҆��P 6���p P���� f���� |���� ����� �����!0����!Ĉ�&quot;@��$q���0$����%y���X+ȶ���#ж���#�����#����X$���p$.����$D����$^����$t����$ ط �� (%H���X%p���p%�����%����%T����%�����%����&T���0&����P&����p&T����&�����&�����&L����&����'����0'L���P'����p'�����'L����'�����'�����'t���( ��� 8(����X(H����(�����(�����(l���()����X)`����)�����)7�5���7 6���7�7��(89��X8�9���
  • 4. Programmeerimiskeelne tekst #!/usr/bin/python # -*- coding: utf-8 -*- import Oppeained import Inimesed import random opilased = [Inimesed.Opilane] # Kõigepealt meetod, et luua valitud arv suvalisi õpilasi def juhuslikudOpilased(number): vastus = [Inimesed.Opilane] perenimed = [] eesnimed = [] # Kiire faili perenimed.txt lugemine for joon in open(&quot;perenimed.txt&quot;, &quot;r&quot;): perenimed.append(joon.strip()) for joon in open(&quot;nimed.txt&quot;, &quot;r&quot;): eesnimed.append(joon.strip())
  • 5. Programmeerimine, mis see on? Idee, mida arvuti peab tegema Programmeerimis-keelne kirjeldus arvutile Tõlkimine arvutikoodiks Töötav programm #!/usr/bin/python # -*- coding: utf-8 -*- import Oppeained import Inimesed import random opilased = [Inimesed.Opilane] # Kõigepealt meetod, et luua valitud arv suvalisi õpilasi def juhuslikudOpilased(number): vastus = [Inimesed.Opilane] perenimed = [] eesnimed = [] # Kiire faili perenimed.txt lugemine for joon in open(&quot;perenimed.txt&quot;, &quot;r&quot;): perenimed.append(joon.strip()) for joon in open(&quot;nimed.txt&quot;, &quot;r&quot;): eesnimed.append(joon.strip()) Avr:`�DցD��D14CBenchCallback��e@�D��D�e��D14IBenchCallback��D��D�&@�&@;�>@8�� d8��p*>��8@>���b>����>����>����>�(A�� OC��@�C��`D����D����D��)E���E���E���E��0F��H:F��`�F��xEG���sG����G����G���H��0�H��HI��`�I���JK���6L���PL���jL�� (N��@�N��pFP���NP���VP���fP�<Q�� FQ��8NQ��PfQ��h�Q����Q����Q����Q����Q����Q���0R�pR����R��� .S�!��(!�S��H!(T��x!�T��8&quot;�U��p&quot;x��&quot;{_���&quot;4b��#��P#�o���#Ƅ���2������������ n���0 ҆��P 6���p P���� f���� |���� ����� �����!0����!Ĉ�&quot;@��$q���0$����%y���X+ȶ���#ж���#�����#����X$���p$.����$D����$^����$t����$ ط �� (%H���X%p���p%�����%����%T����%�����%����&T���0&����P&����p&T����&�����&�����&L����&����'����0'L���P'����p'�����'L����'�����'�����'t���( ��� 8(����X(H����(�����(�����(l���()����X)`����)�����)7�5���7 6���7�7��(89��X8�9��� Võtab tihti hulga lisaaega ja on tüütu
  • 6.
  • 7. Väga lähedane keelele C# ( Microsofti .NET )
  • 12.
  • 15. Programmi ühelt opsüsteemilt teisele viies on vaja programm ümberseada ja uuesti masinkoodiks teha
  • 16.
  • 18. Kiire
  • 20. Interpreteeritav – ei pea masinkoodiks tegema, see on automaatne
  • 21. Väga mitmekülgne ja laiade võimalustega
  • 23.
  • 24. Üks versioon töötab Microsoft Office sees
  • 25. Viimasel ajal kipub alla jääma uuele C# keelele
  • 26.
  • 28. n = 1
  • 29. x = n + 100
  • 32. # kommentaar, mida arvuti ei arvesta
  • 33.
  • 35.
  • 36.
  • 39. Kuidas tehakse suuri lehekülgi? Andmebaas MySQL, Oracle, MS SQL Sinu arvuti kodus / koolis Veebilehe server Facebook, E-kool, Hot.ee Veebilehe sisu: sinu kasutajanimi, foorumipostitused, hinded Programmeerimiskeel: PHP, Python, Java Kuidas sisu näidatakse: kujundus, alajaotused Internet
  • 40.
  • 41. Internetilehekülgede sisu HTML'i vahele pikitud käsud, mis tellivad andmebaasidest infot ja pilte
  • 42. Head blogide/veebilehekülgede mootorid on kohe kasutatavad: Wordpress, Drupal jpt
  • 43. Väga-väga suurte lehekülgede nagu Facebook jaoks pole enam kohane, samuti pankade väga turvaliste lehtede jaoks mitte
  • 44.
  • 45. MySQL, Oracle, MS SQL, PostgreSQL
  • 46. Sellega saab küsida väga kiiresti infot, salvestada infot, otsida
  • 48. Skype hoiab oma kasutajate andmeid sedasi
  • 49.
  • 51. Kui juba Pythoniga väga hästi hakkama saad, siis teise keele juurde õppimine on lihtne!
  • 52. Programmeerijad on KÕIK polüglotid!