PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3...
Transcript of PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3...
![Page 1: PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3 line numbers10. py [F2] Menu - Clear Screen cpython 3.5.2 New print [F4] Emacs](https://reader035.fdocuments.us/reader035/viewer/2022071023/5fd8303210ba0e6435768040/html5/thumbnails/1.jpg)
PORTABLE GUI FOR PTPYTHON SHELL
Student Name: Inga MelkerteStudent ID: C00184799Supervisor: Paul BarryDate: 28th February 2017
![Page 2: PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3 line numbers10. py [F2] Menu - Clear Screen cpython 3.5.2 New print [F4] Emacs](https://reader035.fdocuments.us/reader035/viewer/2022071023/5fd8303210ba0e6435768040/html5/thumbnails/2.jpg)
Reminder - what the project is about?
❖ Build GUI framework for ptpython shell❖ Similar to IDLE ❖ Ptpython cool features
![Page 3: PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3 line numbers10. py [F2] Menu - Clear Screen cpython 3.5.2 New print [F4] Emacs](https://reader035.fdocuments.us/reader035/viewer/2022071023/5fd8303210ba0e6435768040/html5/thumbnails/3.jpg)
Implement prompt from prompt-toolkit into GUI
Plan from the last iteration
![Page 4: PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3 line numbers10. py [F2] Menu - Clear Screen cpython 3.5.2 New print [F4] Emacs](https://reader035.fdocuments.us/reader035/viewer/2022071023/5fd8303210ba0e6435768040/html5/thumbnails/4.jpg)
![Page 5: PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3 line numbers10. py [F2] Menu - Clear Screen cpython 3.5.2 New print [F4] Emacs](https://reader035.fdocuments.us/reader035/viewer/2022071023/5fd8303210ba0e6435768040/html5/thumbnails/5.jpg)
![Page 6: PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3 line numbers10. py [F2] Menu - Clear Screen cpython 3.5.2 New print [F4] Emacs](https://reader035.fdocuments.us/reader035/viewer/2022071023/5fd8303210ba0e6435768040/html5/thumbnails/6.jpg)
Plan B
❖ Changed strategy and started to build simple python REPL (command-line)
❖ Implemented this REPL into simple GUI to understand READ-EVAL-PRINT-LOOP
![Page 7: PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3 line numbers10. py [F2] Menu - Clear Screen cpython 3.5.2 New print [F4] Emacs](https://reader035.fdocuments.us/reader035/viewer/2022071023/5fd8303210ba0e6435768040/html5/thumbnails/7.jpg)
Basic GUI for python REPL
✓ Redirect output from command-line to GUI
✓ Redirect input from simple entry box
✓ Added textbox and implemented multi-line editing
![Page 8: PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3 line numbers10. py [F2] Menu - Clear Screen cpython 3.5.2 New print [F4] Emacs](https://reader035.fdocuments.us/reader035/viewer/2022071023/5fd8303210ba0e6435768040/html5/thumbnails/8.jpg)
✓ Integrated notebook with scrollbar, line numbers , tabs
✓ Multiline editing✓ Open, Save and
Run File✓ Clear Screen✓ Open New Tab✓ Handles
exceptions
![Page 9: PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3 line numbers10. py [F2] Menu - Clear Screen cpython 3.5.2 New print [F4] Emacs](https://reader035.fdocuments.us/reader035/viewer/2022071023/5fd8303210ba0e6435768040/html5/thumbnails/9.jpg)
✓ Changed strategy and started to build simple GUI for python to understand READ-EVAL-PRINT-LOOP
✓ Build basic GUI for python REPL
✓ With simple entry box, then added textbox with multiline editing
✓ Implemented notebook with scrollbar, line numbers , tabs
Review - what is done from last iteration
![Page 10: PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3 line numbers10. py [F2] Menu - Clear Screen cpython 3.5.2 New print [F4] Emacs](https://reader035.fdocuments.us/reader035/viewer/2022071023/5fd8303210ba0e6435768040/html5/thumbnails/10.jpg)
Currently working on
Implementing ptpython prompt into GUI
![Page 11: PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3 line numbers10. py [F2] Menu - Clear Screen cpython 3.5.2 New print [F4] Emacs](https://reader035.fdocuments.us/reader035/viewer/2022071023/5fd8303210ba0e6435768040/html5/thumbnails/11.jpg)
✓ Embedded Ptpython
✓ Output is redirected into gui text box
![Page 12: PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3 line numbers10. py [F2] Menu - Clear Screen cpython 3.5.2 New print [F4] Emacs](https://reader035.fdocuments.us/reader035/viewer/2022071023/5fd8303210ba0e6435768040/html5/thumbnails/12.jpg)
Plan for next iteration
❖ Implement Ptpython into GUI
❖ Improve GUI framework
❖ Testing
![Page 13: PORTABLE GUI FOR PTPYTHON SHELLglasnost.itcarlow.ie/~softeng4/C00184799...Inga e/project2ndS python3 line numbers10. py [F2] Menu - Clear Screen cpython 3.5.2 New print [F4] Emacs](https://reader035.fdocuments.us/reader035/viewer/2022071023/5fd8303210ba0e6435768040/html5/thumbnails/13.jpg)