How to click on another APP and then click on the previous APP to restore to the page when you left?

how can I use python, to return to the page I left when I clicked on another APP and then clicked on the previous APP? For example: I first open a Taobao and then open Wechat or other APP, and then click on Taobao how to restore to the previously run page, instead of the newly opened page

Jun.08,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea0e42-69283.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea0e42-69283.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?