Copy and Paste  -   An Application to Copy/Paste Text  

 
S.No 5725 Name a Date/Time 13-Jun-2023 10:33:05 PM

Copy text from below

#!/usr/bin/env python

"""Run the Icarus simulator.

 

This script automatically adds Icarus source folder to the PYTHONPATH and then

executes the simulator according to the settings specified in the provided

configuration file.

"""

import sys

import os

import argparse

 

def main():

    src_dir = os.path.abspath(os.path.dirname(__file__))

    sys.path.insert(0, src_dir)

    from icarus import __version__

    from icarus.run import run

    parser = argparse.ArgumentParser(description=__doc__)

    parser.add_argument("-r", "--results", dest="results",

                        help='the file on which results will be saved',

                        required=True)

    parser.add_argument("-c", "--config-override", dest="config_override", action="append",

                        help='override specific key=value parameter of configuration file',

                        required=False)

    parser.add_argument("config",

                        help="configuration file")

    parser.add_argument('-v', '--version', action='version',

                        version="icarus {}".format(__version__))

    args = parser.parse_args()

    config_override = dict(c.split("=") for c in args.config_override) \

                      if args.config_override else None

    run(args.config, args.results, config_override)

 

if __name__ == "__main__":

    main()





comments powered by Disqus
NEW ENTRIES
S.No Name Entry Time/Date
5989 landscape 12-Jul-2024 04:02:16 PM
5988 aaa 12-Jul-2024 09:32:46 AM
5987 Emi Pet Mobi 11-Jul-2024 10:29:07 AM
5986 snake 11-Jul-2024 08:24:29 AM
5985 player 10-Jul-2024 02:00:49 PM
5984 movement 10-Jul-2024 08:52:29 AM
5983 snake 10-Jul-2024 08:50:12 AM
5982 af 09-Jul-2024 09:24:28 AM
5981 aa 08-Jul-2024 10:55:34 PM
5980 flu1 08-Jul-2024 04:02:35 PM
5979 flu 08-Jul-2024 03:58:49 PM
5978 Emi Pet | Po 08-Jul-2024 03:40:03 PM
5977 Empire Home 07-Jul-2024 08:31:42 AM
5976 Empire Meals 05-Jul-2024 11:37:32 AM
5975 prb 05-Jul-2024 09:07:27 AM
5974 Vital Eagles 03-Jul-2024 09:09:55 AM
5973 C34 02-Jul-2024 03:07:34 PM
5972 C33 02-Jul-2024 02:32:40 PM
5971 Vital Inc. 02-Jul-2024 07:55:25 AM
5970 container 01-Jul-2024 03:06:18 PM
5969 new 01-Jul-2024 12:48:17 PM
5968 360 Modular 29-Jun-2024 03:16:17 PM
5967 quiz 28-Jun-2024 08:10:48 PM
5966 gesture 28-Jun-2024 07:56:05 PM
5965 Garden Distr 28-Jun-2024 09:34:32 AM
5964 Child Sexy 27-Jun-2024 10:29:38 AM
5963 error 24-Jun-2024 04:48:13 PM
5962 senddata 24-Jun-2024 02:17:52 PM
5961 phpflutter 23-Jun-2024 10:43:04 AM
5960 Tiki Grip & 22-Jun-2024 03:11:17 PM

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 [Next] [Last]
 
web counter
web counter


To report any error messages or bugs, or other issues, please send email at: info@pakproject.com