Créer un éditeur de texte en Python en se basant sur la librairie GUI Tkinter en Python. Dans ce vidéo tutoriel, nous allons voir comment construire le menu tkinter de notre éditeur de texte en lui ajoutant la commande ouvrir. A cet effet, nous utilisons le module os python qui permet d'executer un script python déjà codé dans un fichier python.py. Nous utilisonspar la suite les méthode d'ouverture et de fermetur de fichier en mode lecture pour récupérer le contenu du fichier sélectionné par la méthode de boite de dialogue ask open file name du module file dialog. Une fois le contenu récupéré, il sera inséré dans le widget text tkinter via la méthode insert.
Ce tutoriel vidéo .a été crée avec la version de Python 3 Windows 7 et testé sur Python 3 Windows 8 et python 3 windows10. Pour un bon visionnage de qualité optimale, il est souhaitable d'utiliser le navigateur Google Chrome.
Create a text editor in Python based on the GUI Tkinter library in Python. In this video tutorial, we will see how to build the tkinter menu of our text editor by adding the open command to it. For this purpose, we use the os python module which allows to execute a python script already coded in a python.py file. We then use the open and close file method in read mode to retrieve the content of the file selected by the ask open file name dialog method of the file dialog module. Once the content is retrieved, it will be inserted into the text tkinter widget via the insert method.
This video tutorial was created with version of Python 3 Windows 7 and tested on Python 3 Windows 8 and python 3 windows 10. For a good viewing of optimal quality, it is advisable to use the Google Chrome browser.
Python Tutorial for Absolute Beginners #1 - What Are Variables?: https://www.youtube.com/watch?v=Z1Yd7upQsXY
Top 5 Programming Languages to Learn in 2018 to Get a Job Without a College Degree-Clever Programmer: https://www.youtube.com/watch?v=f3EbDbm8XqY
How I Learned to Code - and Got a Job at Google!-: https://www.youtube.com/watch?v=mElVGah7Epg
Didacticiel Python pour les débutants 1 - Mise en route et installation de Python-ProgrammingKnowledge: https://www.youtube.com/watch?v=41qgdwd3zAg
14-Year-Old Prodigy Programmer Dreams In Code: https://www.youtube.com/watch?v=DBXZWB_dNsw
Learn Python with Socratica || Python Tutorial || Python Programming:https://www.youtube.com/watch?v=bY6m6_IIN94
What Can You Do with Python? - The 3 Main Applications: https://www.youtube.com/watch?v=kLZuut1fYzQ
What Does It Take To Be An Expert At Python?: https://www.youtube.com/watch?v=7lmCu8wz8ro
Lesson 1 - Python Programming - Automate the Boring Stuff with Python:https://www.youtube.com/watch?v=1F_OgqRuSdI
Django Tutorial for Beginners - 1 - Installing Django: https://www.youtube.com/watch?v=qgGIqRFvFFk&t=159s
Python GUI ressources
Python GUI with Tkinter - 1 - Introduction:https://www.youtube.com/watch?v=RJB1Ek2Ko_Y
Intro/basic GUI - PyQt with Python GUI Programming tutorial: https://www.youtube.com/watch?v=JBME1ZyHiP8
OpenCV Python Neural Network Autonomous RC Car: https://www.youtube.com/watch?v=BBwEF6WBUQs