1
     Pure Software code
 
www.puresoftwarecode.com

SOFTWARE Institute
Teach YourSelf
100 Software Programming Training Courses
For Free Download


CHRISTIANITY Institute
HUMANITIES Institute
more the 400 Subjects, All for Free Download.
 
Lebanon  
Python Programming Courses
Software Institute     
 
 
  Home : Software Institute : Python Page 4 Home

Python Pages   -   1    2    3   4            

 
 
  1- Introduction
  1- The tkinter package (“Tk interface”) :
  • The Canvas widget supplies graphics facilities for Tkinter. Among these graphical objects are lines, circles, images, and even other widgets. With this widget it's possible to draw graphs and plots, create graphics editors, and implement various kinds of custom widgets.
  • The tkinter package (“Tk interface”) is the standard Python interface to the Tk GUI toolkit. Both Tk and tkinter are available on most Unix platforms, as well as on Windows systems. (Tk itself is not part of Python; it is maintained at ActiveState.)
  • Running python -m tkinter from the command line should open a window demonstrating a simple Tk interface, letting you know that tkinter is properly installed on your system, and also showing what version of Tcl/Tk is installed
  2- The place Geometry Manager
  • The place geometry manager is different than grid or pack. Rather than referencing against a cell location or a window's side, most of the time you'll be using a relative form of x and y coordinates. You can also use place to overlap portions of widgets, which isn't allowed in either grid or pack.

    Invoking place is similar to calling the other geometry managers:

    $widget->place( [ option => value, . . . ] )

     
  •  more Detail, The place Geometry Manager:
     more Detail, The place Geometry Manager
 
 
2-  Python, Use Tkinter Moduke to display Circle and Line
 
  1. In this program, of tkinter  and random Module to display the complex Graphics facilities, Circles and Lines
    Using Visual studio 2019 Compiler, to compile Python project / file
     
  2.  Source Code:

    Download this Source Code at python  file: Py_B3.py  - (1.52 KB Python file)   download  

      Python Code, to display  the complex Graphics facilities, Circles and Lines

  3. Output:
     
    Load, Pic 1
     
     Click Button Crcle,  Pic 2 Click Button Lines,  Pic 3
   
3-  Python Programs, to display  Calculator (Functions ...)
 
   3.1- Python Calculator, Design 1
  1. In this program, of tkinter Module to display  Calculator (Functions ...)
    Using Visual studio 2019 Compiler - IDE, to compile Python project / file
     
  2.  Source Code:

    Download this Source Code at python file: calc.py  - (2.6 KB python file)   download   

      Python Code, to display   Calculator (Functions ...)

  3. Output:
    no data Entry, Empty data entry : 96*23 resultat: 96*23 = 2208
 
  3.2- Python Calculator, Design 2
  1. In this program, of tkinter Module to display  Calculator Design 2
    1. Using Visual studio 2019 Compiler - IDE, to compile Python project / file
    2. Python, Program to display one Form -  Pycalculator1.
    3. Python Project Proprieties -  Pycalculator1.
      • Project Folder: C:\ Pycalculator1.
      • Startup File:  Pycalculator1.py
      • Project file:  Pycalculator1.pyroj
    4. Download Python Project :  Pycalculator1.zip - (12.7 KB zip file)   Download
    5. Project consist of One Python Form - ( Pycalculator1..py)

     

    Download Python Project :  Pycalculator1.zip - (12.7 KB zip file)   Download    


     

  2.  Source Code:

    Download this Source Code at python file:  Pycalculator1..py  - (4 KB python file)   download    

    Download this Source Code at txt file: PyCalculatorText.txt - (3.6 KB python file)    download    

      Python Code, to display   Calculator desigm 2 - (Build a Python GUI Calculator)

  3. Output:
    no data Entry, Empty data entry : 852*5 resultat: 852*5 = 4260
   
4-  Python, Program to display multi Forms - Py-tkinter11
 
  1.  In this program, of tkinter Module to display  rectangle design
    1. Using Visual studio 2019 Compiler - IDE, to compile Python project / file
    2. Python, Program to display multi Forms - Py-tkinter11
    3. Python Project Properieties - Py-tkinter11
    4. Download Python Project : Py-tkinter11.zip - (8.6KB zip file)   Download
    5. Project consist of:
       One Python Form - (Py-tkinter11.py)
    6. this python Form ( Py-tkinter11.py) create 8 Forms

     

    Download Python Project : Py-tkinter11.zip - (8.6 KB zip file)   Download 

     

  2.  Source Code:

      Download this Source Code at python file :Py-tkinter11.py - (6.2 KB Python file)   download

      Python Code, to display multi Forms - Py-tkinter11.py

  3. Output :

    - Py-tkinter1 , 8 Forms, multi Forms, multi Links 
   
5-   Python, ListBox Operations
 
  1. In this program of tkinter Module, ListBox Operations
    1. Using Visual studio 2019 Compiler - IDE, to compile Python project / file
    2. Show Frames / Images & open/write/Display txt file IN PYTHON Form
    3. Python Project Propeieties - Py_listFunct
    4. Download Python Project : Py_listFunct.zip - (186 KB zip file)   Download
    5. Project consist of:
       1- One Python Form - (Py_listFunct.py )
       2- png picture files -  images (caribat1.png+ caribat2.png)
      3- txt file - chem_data.txt
    6. show Images & Display txt file at Form

    Download Python Project : Py_listFunct.zip - (186 KB zip file)   Download    
  2.  Source Code:

    Download this Source Code at python   file: Py_listFunct.py  - (6.12 KB Python file)   download  

    Download this Source Code at txt file: chem_data.txt  - (0.2 KB Python file)   download  
      Python Code, to display ListBox Operations

  3. Output:
   
 6-   Python, Mini Restaurant  Bill 
 
  1. In this program, of tkinter  and random Module to display Mini Restaurent Bill
    1. Using Visual studio 2019 Compiler - IDE, to compile Python project / file
    2. RESTAURANT BILL CALCULATOR IN PYTHON
    3. Python Project Properieties - pyt_restaurent
    4. Download Python Project : pyt_restaurent.zip - (28.0 KB zip file)   Download
    5. Project consist of:
       3 Python Forms - (pyt_restaurent.py + restaurant_management_system.py + price.py
       and 1 file txt (value.txt) used to stores Data
    6. Login Details:
      Username: chk
      Password: 2345
    Download Python Project : pyt_restaurent.zip - (28.0 KB zip file)   Download      
  2. Source Code:
      1-

    Download this Source Code at python file: pyt_restaurent.py  - (1.74 KB Python file)   download  

      2- Download this Source Code at python file: restaurant_management_system.py  - (13.3 KB Python file)   download  
      3- Download this Source Code at python file: price.py  - (7.5 KB Python file)   download  
      4- Download this Source Code at txt file: value.txt  - (0.39 KB Python file)   download  
     3 Python Code files, to display Mini Restaurant  Bill Project

  3. Output:
      Pic 1, pyt_restaurent.py
                

    Pic 2, restaurant_management_system.py

            
      Pic 3, price.py
 
7-  Python - Show Frames / Images & open/write/Display txt file in Form
 
  1.  In this program, of tkinter Module to display Images and write txt file
    1. Using Visual studio 2019 Compiler - IDE, to compile Python project / file
    2. Show Frames / Images & open/write/Display txt file IN PYTHON Form
    3. Python Project Propeieties - Py_FrameImage
    4. Download Python Project : Py_FrameImage.zip - (24.4 KB zip file)   Download
    5. Project consist of:
       1- One Python Form - (Py_FrameImage.py )
       2- png picture files -  images (0MzarGazir.png+ 0Mzarpictures.png + mzard.png)
      3- txt file - MzarGazir.txt
    6. show Images & Display txt file at Form
    Download Python Project : Py-FrameImage.zip  - (1.25 MB zip file)   download    

     

  2.  Source Code:
    Download this Source Code at python file: Py_FrameImage.py - (3.7 KB Python file)   download   
    History Info -  (st Louis school Gazir / Palais du Mzar Gazir-Lebanon ), txt file: MzarGazir.txt - (3 KB Python file)   download   
      Python Code of tkinter Module to display Images and write txt file

  3. Output:
    pic 1 after loading
    Pic 2, after click info button, contents of txt file Display
   
8-  Python GUI Functions, Tkinter
 
  1. In this program, of tkinter  and random Module to display GUI Functions
    Using Visual studio 2019 Compiler - IDE, to compile Python project / file
     
  2.  Source Code:

    Download this Source Code at python  file: Py_GUI_Check.py  - (3.68 KB Python file)   download  

      Python Code, to display GUI Functions

  3. Output:
    Python GUI, Load Python GUI, View 1
    Python GUI, View 2 Python GUI, View 3
   
9-  Python GUI Functions, Tkinter - Vertical Radio Button Design
 
  1. In this program, of tkinter  and random Module to display Circle and Line
    Using Visual studio 2019 Compiler - IDE, to compile Python project / file
     
  2.  Source Code:

    Download this Source Code at python  file: Py_GUI_radio.py  - (3.78 KB  Python file)   download

      Python GUI Functions, Tkinter - Vertical Radio Button Design

  3. Output:
    Python GUI Functionsr - Vertical Radio Button Design, View 0 Python GUI Functionsr - Vertical Radio Button Design, View 1
    Python GUI Functionsr - Vertical Radio Button Design, View 2 Python GUI Functionsr - Vertical Radio Button Design, View 3
   
10-  Python Program to display Menu + TabControl + image + Progress + ...
 
  1. In this program, of tkinter  and random Module to display Circle and Line
    1. Using Visual studio 2019 Compiler - IDE, to compile Python project / file
    2. RESTAURANT BILL CALCULATOR IN PYTHON
    3. Python Project Properieties - Py_progresss
    4. Download Python Project : Py_progresss.zip - (24.4 KB zip file)   Download
    5. Project consist of:
       One Python Form - (Py_progresss.py )
       and two gif file -  images (istotab1a.gif + istotab2.gif)

      Download Python Project : Py_progresss.zip - (24.4 KB zip file)   Download      

     

  2.  Source Code, python  file: Py_progresss.py :

    Download this Source Code at python  file: Py_progresss.py  - (8.18 KB Python file)   download  

      Python Code, to display Menu + TabControl + image + Progress + ...

  3. Output:
    Python, to display Menu + TabControl(Tab1) + image + ... Python, to display Menu + TabControl + image + Progress + ...
            
    1- show Menu, 2 SubMenus.   2- when to select Help Menu, Click Submenu About:  to Display Form: Message into Box
   
11-  Python, Mini Pharmacy Management System
 
  1. In this Project, of Mini Pharmacy Management System to display Group of database Functions: Navication, Add, Update, Delete,Search.
    1. Using Visual studio 2019 Compiler - IDE, to compile Python project / file
    2. Python Project Properieties - Py_project
    3. Download Python Project : Py_project.zip  - (8.8 KB zip file)   download
    4. Project consist of:
       One Python Form - (Py_project.py )
       and two data files -  (database_proj3.txt + database_proj3a.txt)

     

    Download Python Project : Py_project.zip  - (8.8 KB zip file)   download       

  2.  Source Code, python  file: Py_project.py:

    Download this Source Code at python  file: Py_project.py  - (7.8 KB Python file)   download   

    Download this DataBase  file: database_proj3.txt  - (0.15 KB  file)   download   

    Download this DataBase  file: database_proj3a.txt  - (0.15 KB  file)   download   

      Python Code, to display database Functions of Mini Pharmacy Management System (Navication, Add, Update, Delete,Search).

  3. Output:
    pic 1- Resultat after load application
     
    Pic 2- Resultat after click Buttons: FIRST ITEM & CONTENTof database_project3.txt
   
12-  Python Program, Mini Management Hotel
 
  1. In this program of tkinter,  Mini Management Hotel
    1. Using Visual studio 2019 Compiler - IDE, to compile Python project / file
    2. Python Project Properieties - Py-sys-avrg
    3. Download Python Project : Py-sys-avrg.zip  - (578 KB zip file)   download
    4. Project consist of:
       two Python Forms - (checkin_gui_and_program.py + recipt.py )
       and two data files -  (hotel.dat + recipt.txt)
      and one picture file -  (lcars_C1.png)
    Download Python Project : Py-sys-avrg.zip  - (578 KB zip file)   download       


     

  2.  Source Code:

    Download this Source Code at python  file: checkin_gui_and_program.py - (24.0 KB Python file)   download  

    Download this Source Code at python  file recipt.py - (2.8 KB Python file)   download  

    Download this DataBase  file: hotel.dat   - (4.92 KB  file)   download  
    Download this DataBase  file: recipt.txt  - (0.37 KB  file)   download  
      Python Code, Mini Management Hotel

  3. Output:
                      Pic 1- Mini Management Hotel  after load
            Pic 2 - Mini Management Hotel, View with data entry
             pic 3 - Mini Management Hotel Serving Invoice/report
 

Python Pages   -   1    2    3   4         

 
 www.puresoftwarecode.com  :    HUMANITIES Institute  ART Institute & Others
 SOFTWARE Institute - "Free, 120  Training Courses"  CHRISTIANITY Institute    
 Python, Teach yourSelf Programs in 4 pages, in English    Le HANDICAP c'est quoi ?   (in French)  Basilica Architecture, in the Shape of a Cross
 VISUAL STUDIO 2019, C# Programs, in English  Holy BIBLE in 22 Languages and Studies ...  Drugs and Treatment in English, french, Arabic  Old Traditional Lebanese houses
 VISUAL STUDIO 2010 in English  220 Holy Christian ICONS  Classification of Wastes from the Source in Arabic  5 DRAWING Courses & 3 Galleries
 VISUAL STUDIO .NET, Windows & ASP in English  Catholic Syrian MARONITE Church    Meteora, Christianity Monasteries - En, Ar, Fr
 VISUAL STUDIO 6.0 in English  HOLY MASS of  Maronite Church - Audio in Arabic  Christianity in the Arabian Peninsula in Arabic  Monasteries of Mount Athos & Pilgrimage
 Microsoft ACCESS in English  VIRGIN MARY, Mother of JESUS CHRIST GOD  Summary of the Lebanese history in Arabic  Carved Rock Churches, in Lalibela, Ethiopia
 PHP & MySQL in English  SAINTS of the Church  LEBANON EVENTS 1840 & 1860, in Arabic  
 SOFTWARE GAMES in English  Saint SHARBEL - Sharbelogy in 10 languages, Books  Great FAMINE in LEBANON 1916,  in Arabic  my PRODUCTS, and Statistiques ...
 WEB DESIGN in English  Catholic RADIO in Arabic, Sawt el Rab  Great FAMINE and Germny Role 1916,  in Arabic  
 JAVA SCRIPT in English  Читать - БИБЛИЯ и Шарбэль cвятой, in Russe  Armenian Genocide 1915  in Arabic  4 Different STUDIES
 FLASH - ANIMATION in English     Sayfo or Assyrian Genocide 1915 in Arabic  SOLAR Energy & Gas Studies
 PLAY, 5 GAMES      
     Christianity in Turkey in Arabic  WELCOME to LEBANON
 SAADEH BEJJANE Architecture Andree Zouein Foundation    YAHCHOUCH, my Lebanese Village
 CARLOS SLIM HELU Site.  new design  REPORT, Cyber Attack Attacks the Current Site  Prononce English and French and Arabic Letters  ZOUEIN, my Family - History & Trees
       Chucri Simon Zouein, Computer engineer
     
echkzouein@gmail.com
© pure software code - Since 2003