Wellcome to python
-
Upload
nanra-sukedy -
Category
Software
-
view
287 -
download
42
Transcript of Wellcome to python
![Page 1: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/1.jpg)
![Page 2: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/2.jpg)
Apa Itu Python .....???
![Page 3: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/3.jpg)
Python Menggunakan Metode Interpreter Dalam Sistem Penerjemahannya ke Bahasa Tingkat Rendah ( Assembly )
![Page 4: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/4.jpg)
Cara Kerja Interpreter Dalam Menerjemaah Source Code
SOURCE CODE *Selamat Pagi ...? *Apa Kabar .....? *Hatur Nuhun
OUTPUTGood Morning
INTERPRETER
Selamat Pagi --- Good Morning
![Page 5: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/5.jpg)
Alur Proses Bahasa Tingkat Tinggi Yang Menggunakan Metode Compiler sebagai Penerjemahnya
![Page 6: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/6.jpg)
Fitur-fitur Python• Memiliki Libarary dan Modul” yang siap pakai.• Tata Bahasanya Jernih dan mudah dipahami.• Berorientasi Objek (OOP).• Memiliki sistem pengelolaan memori otomatis (garbage collection).• Memiliki banyak fasilitas pendukung sehingga mudah dalam
pengoprasiannya.
![Page 7: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/7.jpg)
Kenapa Harus Python
![Page 8: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/8.jpg)
![Page 9: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/9.jpg)
![Page 10: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/10.jpg)
![Page 11: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/11.jpg)
![Page 12: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/12.jpg)
![Page 13: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/13.jpg)
Jenis Python• JENIS Console dan GUI
• Berdasarkan VERSIVersion 2.7.x ex: raw_input(“ ”)Version 3.4.x ex: input(“ “)
![Page 14: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/14.jpg)
![Page 15: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/15.jpg)
![Page 16: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/16.jpg)
Version 2.7.x• Jenis ini Merupakan Jenis Terdahulu atau pertama dari Python .• Jenis ini Masih paling banyak digunakan oleh para developer di dunia
![Page 17: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/17.jpg)
Version 3.7.x• Merupakan versi terbaru dari Python• Cara Penulisannya Lebih Sederhana dibanding pendahulunya• Lebih banyak Module terbaru
![Page 18: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/18.jpg)
Jenis-Jenis Type Data Di Python• String (“ “)• Integer (int)• Long Integer (22L)• Boolean (True : False)• Kompleks (22j)• Hexadecimal• Octal• Float (209.878)
![Page 19: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/19.jpg)
Sekilas Cara Programming Di PythonSabagaimana Telah direkomendasikan oleh para Ahli dan menurut pengalaman publik , penulisan program di Python sangatlah simpel. Tidak se Seperti Bahasa Tingkat Tinggi Lainnya yang harus berjibaku dengan Titik Koma , Kurung kurawa dan Titik Dua serta Tanda” Lainnya
Pertama tentu kita harus mempunyai interpreter Python nya terlebih Dahulu, Bisa itu Versi 2.7.x atau Versi 3.4.x . Bisa didownload di Situs Resminya Python.
![Page 20: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/20.jpg)
Sekilas Cara Programming Di PythonContoh I : Untuk Menuliskan perintah yang bersifat memasukkan (input), maka di Python amat sangat Sederhana , tinggal menuliskan seperti dibwah ini :>>> input (“Masukkan Nama Anda : “) [Enter]
![Page 21: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/21.jpg)
![Page 22: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/22.jpg)
![Page 23: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/23.jpg)
Sekilas Cara Programming Di PythonJika kita ingin memasukkan perintah INPUT kedalam sebuah variabel tertentu, kita tinggal ketik :
>>> a = input (“ Masukkan Nama ID Anda : “) [Enter]
Dimana ‘a’ diatas merupakan suatu Variabel yang kita beri nilai perintah input beserta instruksi apa yang di perintahkan oleh input ke User.
![Page 24: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/24.jpg)
![Page 25: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/25.jpg)
![Page 26: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/26.jpg)
Contoh Program Sederhana Buku Tamu
![Page 27: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/27.jpg)
![Page 28: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/28.jpg)
![Page 29: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/29.jpg)
![Page 30: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/30.jpg)
Kesimpulan• Free License• Simpel dan Sederhana• Berorientasi Objek• Dalam Pengeksekusiannya Lebih Cepat • Mudah Dipahami dan Mudah Dipelajari
![Page 31: Wellcome to python](https://reader033.fdocument.pub/reader033/viewer/2022061400/58ec65b81a28ab80438b4669/html5/thumbnails/31.jpg)
THE END
Nanra Sukedy Hasibuan
Embedded PC DivisionOf
Embedded System Research Group
Terima Kasih