Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
python:subprocess [2022-07-11 Mon wk28 19:28] – [Some on line resources] baumkppython:subprocess [2023-09-16 Sat wk37 08:46] – [Some on line resources] baumkp
Line 1: Line 1:
-======Python Programming Note======+======Python Programming Notes======
 Here are my notes from starting to use and learn the python programming language. Here are my notes from starting to use and learn the python programming language.
 I am only focusing on Python 3 at this time. I am only focusing on Python 3 at this time.
Line 15: Line 15:
     * The return code of the function can be capture from output using  ''subprocess.returncode''     * The return code of the function can be capture from output using  ''subprocess.returncode''
  
- +=====Python Back-up Scripts===== 
-====Some on line resources====+My python based back-up scripts are located here: [[home_server:home_server_setup:other_services:back-up_server#python_backup_scripts]] 
 +=====Some on line resources=====
   *[[https://docs.python.org/3/library/subprocess.html#popen-objects|Python Docs - Subprocess management]]   *[[https://docs.python.org/3/library/subprocess.html#popen-objects|Python Docs - Subprocess management]]
   *[[https://www.geeksforgeeks.org/python-execute-and-parse-linux-commands/|Python | Execute and parse Linux commands]]   *[[https://www.geeksforgeeks.org/python-execute-and-parse-linux-commands/|Python | Execute and parse Linux commands]]
Line 25: Line 26:
   *[[https://www.golinuxcloud.com/python-write-to-file/|How to create, read, append, write to file in Python]]   *[[https://www.golinuxcloud.com/python-write-to-file/|How to create, read, append, write to file in Python]]
   *[[https://www.programiz.com/python-programming/exception-handling|Python Exception Handling Using try, except and finally statement]]   *[[https://www.programiz.com/python-programming/exception-handling|Python Exception Handling Using try, except and finally statement]]
 +
 +<- project:index|Back ^ project:index|Start page ^ project:LEDS|Next ->
  • /app/www/public/data/pages/python/subprocess.txt
  • Last modified: 2023-12-26 Tue wk52 11:47
  • by baumkp