Execute last command as root

My PyQt GUI book Create Simple GUI Applications has been updated, with new chapters on Qt Designer and multithreading. Get it here.

Re-run previously entered command as root user.

sudo !!

!! is automatically substituted to the content of the previous command. Turning the above line into sudo <your command here>.