Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main.py #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions arjuna/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import os
import sys
import time
import os # os is a operating system by this module we can interact with our operating system , famous module provided by python
import sys # it is a system module which can be used in various thing but some of them are sys.exit(1) is used to exit the condition
import time # this time module is used to return time into seconds.

def main(*args):
print("Executing Arjuna command line with args: {}".format(args))
try:
"""
by usnig try and exception we can print the errors occured during our programmes , as python is a interpreted language so it wil check line by line and if some error
occured it will stop to avoiding this we usually print that error in ecxception. when tries failed
""""
import signal
import sys
def signal_handler(sig, frame):
Expand Down