{"action":"created","comment":{"url":"https://api.github.com/repos/AJLex/first/pulls/comments/38031590","id":38031590,"diff_hunk":"@@ -5,49 +5,65 @@\n #\n # Made in China. Copyright@ \n \n-a =int(input ('What do you want to do: \\n 1 - view file \\n 2 - add note \\n 3 - remove note \\n 4 - find note \\n 5 - quit \\n'))\n-d = {}\n-i = 1\n+a=int(input ('What do you want to do: \\n 1 - view file \\n 2 - add note \\\n+            \\n 3 - remove note \\n 4 - find note \\n 5 - quit \\n'))\n+d={}\n+i=1\n temp=open('123.txt', 'r')","path":"consol.py","position":11,"original_position":11,"commit_id":"f765ee6da85199f286d2a69b8318f1736fabb8c3","original_commit_id":"f765ee6da85199f286d2a69b8318f1736fabb8c3","user":{"login":"allafterall","id":10473836,"avatar_url":"https://avatars.githubusercontent.com/u/10473836?v=3","gravatar_id":"","url":"https://api.github.com/users/allafterall","html_url":"https://github.com/allafterall","followers_url":"https://api.github.com/users/allafterall/followers","following_url":"https://api.github.com/users/allafterall/following{/other_user}","gists_url":"https://api.github.com/users/allafterall/gists{/gist_id}","starred_url":"https://api.github.com/users/allafterall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allafterall/subscriptions","organizations_url":"https://api.github.com/users/allafterall/orgs","repos_url":"https://api.github.com/users/allafterall/repos","events_url":"https://api.github.com/users/allafterall/events{/privacy}","received_events_url":"https://api.github.com/users/allafterall/received_events","type":"User","site_admin":false},"body":"Let's use command line arguments to set this filename: https://docs.python.org/3/library/argparse.html","created_at":"2015-08-26T20:36:23Z","updated_at":"2015-08-26T20:36:23Z","html_url":"https://github.com/AJLex/first/pull/7#discussion_r38031590","pull_request_url":"https://api.github.com/repos/AJLex/first/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/AJLex/first/pulls/comments/38031590"},"html":{"href":"https://github.com/AJLex/first/pull/7#discussion_r38031590"},"pull_request":{"href":"https://api.github.com/repos/AJLex/first/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/AJLex/first/pulls/7","id":43439773,"html_url":"https://github.com/AJLex/first/pull/7","diff_url":"https://github.com/AJLex/first/pull/7.diff","patch_url":"https://github.com/AJLex/first/pull/7.patch","issue_url":"https://api.github.com/repos/AJLex/first/issues/7","number":7,"state":"open","locked":false,"title":"Head comment","user":{"login":"AJLex","id":13005119,"avatar_url":"https://avatars.githubusercontent.com/u/13005119?v=3","gravatar_id":"","url":"https://api.github.com/users/AJLex","html_url":"https://github.com/AJLex","followers_url":"https://api.github.com/users/AJLex/followers","following_url":"https://api.github.com/users/AJLex/following{/other_user}","gists_url":"https://api.github.com/users/AJLex/gists{/gist_id}","starred_url":"https://api.github.com/users/AJLex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AJLex/subscriptions","organizations_url":"https://api.github.com/users/AJLex/orgs","repos_url":"https://api.github.com/users/AJLex/repos","events_url":"https://api.github.com/users/AJLex/events{/privacy}","received_events_url":"https://api.github.com/users/AJLex/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-08-26T19:11:21Z","updated_at":"2015-08-26T20:36:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AJLex/first/pulls/7/commits","review_comments_url":"https://api.github.com/repos/AJLex/first/pulls/7/comments","review_comment_url":"https://api.github.com/repos/AJLex/first/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AJLex/first/issues/7/comments","statuses_url":"https://api.github.com/repos/AJLex/first/statuses/f765ee6da85199f286d2a69b8318f1736fabb8c3","head":{"label":"AJLex:Head-comment","ref":"Head-comment","sha":"f765ee6da85199f286d2a69b8318f1736fabb8c3","user":{"login":"AJLex","id":13005119,"avatar_url":"https://avatars.githubusercontent.com/u/13005119?v=3","gravatar_id":"","url":"https://api.github.com/users/AJLex","html_url":"https://github.com/AJLex","followers_url":"https://api.github.com/users/AJLex/followers","following_url":"https://api.github.com/users/AJLex/following{/other_user}","gists_url":"https://api.github.com/users/AJLex/gists{/gist_id}","starred_url":"https://api.github.com/users/AJLex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AJLex/subscriptions","organizations_url":"https://api.github.com/users/AJLex/orgs","repos_url":"https://api.github.com/users/AJLex/repos","events_url":"https://api.github.com/users/AJLex/events{/privacy}","received_events_url":"https://api.github.com/users/AJLex/received_events","type":"User","site_admin":false},"repo":{"id":37989748,"name":"first","full_name":"AJLex/first","owner":{"login":"AJLex","id":13005119,"avatar_url":"https://avatars.githubusercontent.com/u/13005119?v=3","gravatar_id":"","url":"https://api.github.com/users/AJLex","html_url":"https://github.com/AJLex","followers_url":"https://api.github.com/users/AJLex/followers","following_url":"https://api.github.com/users/AJLex/following{/other_user}","gists_url":"https://api.github.com/users/AJLex/gists{/gist_id}","starred_url":"https://api.github.com/users/AJLex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AJLex/subscriptions","organizations_url":"https://api.github.com/users/AJLex/orgs","repos_url":"https://api.github.com/users/AJLex/repos","events_url":"https://api.github.com/users/AJLex/events{/privacy}","received_events_url":"https://api.github.com/users/AJLex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AJLex/first","description":"","fork":false,"url":"https://api.github.com/repos/AJLex/first","forks_url":"https://api.github.com/repos/AJLex/first/forks","keys_url":"https://api.github.com/repos/AJLex/first/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AJLex/first/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AJLex/first/teams","hooks_url":"https://api.github.com/repos/AJLex/first/hooks","issue_events_url":"https://api.github.com/repos/AJLex/first/issues/events{/number}","events_url":"https://api.github.com/repos/AJLex/first/events","assignees_url":"https://api.github.com/repos/AJLex/first/assignees{/user}","branches_url":"https://api.github.com/repos/AJLex/first/branches{/branch}","tags_url":"https://api.github.com/repos/AJLex/first/tags","blobs_url":"https://api.github.com/repos/AJLex/first/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AJLex/first/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AJLex/first/git/refs{/sha}","trees_url":"https://api.github.com/repos/AJLex/first/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AJLex/first/statuses/{sha}","languages_url":"https://api.github.com/repos/AJLex/first/languages","stargazers_url":"https://api.github.com/repos/AJLex/first/stargazers","contributors_url":"https://api.github.com/repos/AJLex/first/contributors","subscribers_url":"https://api.github.com/repos/AJLex/first/subscribers","subscription_url":"https://api.github.com/repos/AJLex/first/subscription","commits_url":"https://api.github.com/repos/AJLex/first/commits{/sha}","git_commits_url":"https://api.github.com/repos/AJLex/first/git/commits{/sha}","comments_url":"https://api.github.com/repos/AJLex/first/comments{/number}","issue_comment_url":"https://api.github.com/repos/AJLex/first/issues/comments{/number}","contents_url":"https://api.github.com/repos/AJLex/first/contents/{+path}","compare_url":"https://api.github.com/repos/AJLex/first/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AJLex/first/merges","archive_url":"https://api.github.com/repos/AJLex/first/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AJLex/first/downloads","issues_url":"https://api.github.com/repos/AJLex/first/issues{/number}","pulls_url":"https://api.github.com/repos/AJLex/first/pulls{/number}","milestones_url":"https://api.github.com/repos/AJLex/first/milestones{/number}","notifications_url":"https://api.github.com/repos/AJLex/first/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AJLex/first/labels{/name}","releases_url":"https://api.github.com/repos/AJLex/first/releases{/id}","created_at":"2015-06-24T14:31:49Z","updated_at":"2015-06-24T14:38:25Z","pushed_at":"2015-08-26T19:11:23Z","git_url":"git://github.com/AJLex/first.git","ssh_url":"git@github.com:AJLex/first.git","clone_url":"https://github.com/AJLex/first.git","svn_url":"https://github.com/AJLex/first","homepage":null,"size":186,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"AJLex:master","ref":"master","sha":"e16bb8094b207edfe006716f15859c821c50a52c","user":{"login":"AJLex","id":13005119,"avatar_url":"https://avatars.githubusercontent.com/u/13005119?v=3","gravatar_id":"","url":"https://api.github.com/users/AJLex","html_url":"https://github.com/AJLex","followers_url":"https://api.github.com/users/AJLex/followers","following_url":"https://api.github.com/users/AJLex/following{/other_user}","gists_url":"https://api.github.com/users/AJLex/gists{/gist_id}","starred_url":"https://api.github.com/users/AJLex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AJLex/subscriptions","organizations_url":"https://api.github.com/users/AJLex/orgs","repos_url":"https://api.github.com/users/AJLex/repos","events_url":"https://api.github.com/users/AJLex/events{/privacy}","received_events_url":"https://api.github.com/users/AJLex/received_events","type":"User","site_admin":false},"repo":{"id":37989748,"name":"first","full_name":"AJLex/first","owner":{"login":"AJLex","id":13005119,"avatar_url":"https://avatars.githubusercontent.com/u/13005119?v=3","gravatar_id":"","url":"https://api.github.com/users/AJLex","html_url":"https://github.com/AJLex","followers_url":"https://api.github.com/users/AJLex/followers","following_url":"https://api.github.com/users/AJLex/following{/other_user}","gists_url":"https://api.github.com/users/AJLex/gists{/gist_id}","starred_url":"https://api.github.com/users/AJLex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AJLex/subscriptions","organizations_url":"https://api.github.com/users/AJLex/orgs","repos_url":"https://api.github.com/users/AJLex/repos","events_url":"https://api.github.com/users/AJLex/events{/privacy}","received_events_url":"https://api.github.com/users/AJLex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AJLex/first","description":"","fork":false,"url":"https://api.github.com/repos/AJLex/first","forks_url":"https://api.github.com/repos/AJLex/first/forks","keys_url":"https://api.github.com/repos/AJLex/first/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AJLex/first/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AJLex/first/teams","hooks_url":"https://api.github.com/repos/AJLex/first/hooks","issue_events_url":"https://api.github.com/repos/AJLex/first/issues/events{/number}","events_url":"https://api.github.com/repos/AJLex/first/events","assignees_url":"https://api.github.com/repos/AJLex/first/assignees{/user}","branches_url":"https://api.github.com/repos/AJLex/first/branches{/branch}","tags_url":"https://api.github.com/repos/AJLex/first/tags","blobs_url":"https://api.github.com/repos/AJLex/first/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AJLex/first/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AJLex/first/git/refs{/sha}","trees_url":"https://api.github.com/repos/AJLex/first/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AJLex/first/statuses/{sha}","languages_url":"https://api.github.com/repos/AJLex/first/languages","stargazers_url":"https://api.github.com/repos/AJLex/first/stargazers","contributors_url":"https://api.github.com/repos/AJLex/first/contributors","subscribers_url":"https://api.github.com/repos/AJLex/first/subscribers","subscription_url":"https://api.github.com/repos/AJLex/first/subscription","commits_url":"https://api.github.com/repos/AJLex/first/commits{/sha}","git_commits_url":"https://api.github.com/repos/AJLex/first/git/commits{/sha}","comments_url":"https://api.github.com/repos/AJLex/first/comments{/number}","issue_comment_url":"https://api.github.com/repos/AJLex/first/issues/comments{/number}","contents_url":"https://api.github.com/repos/AJLex/first/contents/{+path}","compare_url":"https://api.github.com/repos/AJLex/first/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AJLex/first/merges","archive_url":"https://api.github.com/repos/AJLex/first/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AJLex/first/downloads","issues_url":"https://api.github.com/repos/AJLex/first/issues{/number}","pulls_url":"https://api.github.com/repos/AJLex/first/pulls{/number}","milestones_url":"https://api.github.com/repos/AJLex/first/milestones{/number}","notifications_url":"https://api.github.com/repos/AJLex/first/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AJLex/first/labels{/name}","releases_url":"https://api.github.com/repos/AJLex/first/releases{/id}","created_at":"2015-06-24T14:31:49Z","updated_at":"2015-06-24T14:38:25Z","pushed_at":"2015-08-26T19:11:23Z","git_url":"git://github.com/AJLex/first.git","ssh_url":"git@github.com:AJLex/first.git","clone_url":"https://github.com/AJLex/first.git","svn_url":"https://github.com/AJLex/first","homepage":null,"size":186,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AJLex/first/pulls/7"},"html":{"href":"https://github.com/AJLex/first/pull/7"},"issue":{"href":"https://api.github.com/repos/AJLex/first/issues/7"},"comments":{"href":"https://api.github.com/repos/AJLex/first/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/AJLex/first/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/AJLex/first/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AJLex/first/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/AJLex/first/statuses/f765ee6da85199f286d2a69b8318f1736fabb8c3"}}}}