mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-07-21 21:02:06 +08:00
+add: option on F/R dialog: incremental search ON/OFF
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# -----------------------------------------------------------------------------
|
||||
"""
|
||||
Simple 'Hello world!'
|
||||
"""
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
MSG = "Hello world!"
|
||||
|
||||
def main():
|
||||
""" main function """
|
||||
print(f"{MSG}")
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
def pause():
|
||||
import os
|
||||
import sys
|
||||
if sys.platform == 'win32':
|
||||
os.system('pause')
|
||||
else:
|
||||
input('Press any key to continue...')
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
if __name__ == "__main__":
|
||||
try:
|
||||
main()
|
||||
finally:
|
||||
pause()
|
||||
|
||||
# =============================================================================
|
||||
Reference in New Issue
Block a user