This commit is contained in:
anwinged
2012-03-21 06:20:36 +00:00
parent db9824bdc2
commit 3fd0e8fa1f
5 changed files with 94 additions and 24 deletions

View File

@ -10,11 +10,14 @@
"author": "Anton Vakhrushev",
"date": "2012-03-08",
"exec": true,
"params": {
"x": {
"type": "int",
"default": 10
"default": 10,
"title": "Main parameter"
},
"u": {
@ -24,7 +27,9 @@
"n": {
"type": "int",
"default": 1000
"default": 1000,
"title": "Steps",
"comment": "Number of steps for algorithm"
}
}
}

View File

@ -12,7 +12,7 @@ def main():
os.chdir(d)
if sys.argv[1] == '-i':
with open('task.js') as f:
with open('testt.js') as f:
d = json.load(f)
print json.dumps(d, indent = 2)