python:subprocess

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
python:subprocess [2022-12-28 Wed wk52 18:45] – [subprocess module] baumkppython:subprocess [2023-12-26 Tue wk52 11:47] (current) – [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''
  
-[[home_server:home_server_setup:other_services:back-up_server#python_backup_scripts]] +=====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:oscilloscope|Next ->
  • /app/www/public/data/attic/python/subprocess.1672224336.txt.gz
  • Last modified: 2023-04-30 Sun wk17 17:43
  • (external edit)