本文整理汇总了Python中Job.Job.displayJob方法的典型用法代码示例。如果您正苦于以下问题:Python Job.displayJob方法的具体用法?Python Job.displayJob怎么用?Python Job.displayJob使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Job.Job
的用法示例。
在下文中一共展示了Job.displayJob方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: len
# 需要导入模块: from Job import Job [as 别名]
# 或者: from Job.Job import displayJob [as 别名]
print job1["qtime"];
print job1["queue"];
print job1["state"];
print job1["wallrequest"];
print job1["starttime"];
print job1["mtime"];
print job1["owner"];
print job1["node_count"];
print job1["id"];
print job1["core_count"];
job2 = mylist[1];
print job2["name"];
print len(mylist); # this length tells the total number of job objects.
Job_1 = Job(job1["name"], job1["qtime"], job1["queue"], job1["state"], job1["wallrequest"], job1["starttime"], job1["mtime"], job1["owner"], job1["node_count"], job1["id"], job1["core_count"]);
Job_1.displayJob();
# succeed -----------------------------------------