This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PySide.QtGui import * | |
# create a modal message box with a single 'Ok' button | |
box = QMessageBox() | |
box.setWindowTitle('Title') | |
box.setText('Text') | |
box.exec_() | |
# create a modal message box that offers some choices (Yes|No|Cancel) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmd /c ""C:\Program Files (x86)\Git\bin\bash.exe" --login -i -- H:\Daily_Reports\yesterdayTogglReport.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Launch explorer at location of and with given file selected. | |
import subprocess | |
subprocess.Popen("explorer /select," + "FILE_PATH") |