{"action":"reopened","issue":{"url":"https://api.github.com/repos/plotdevice/plotdevice/issues/27","labels_url":"https://api.github.com/repos/plotdevice/plotdevice/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/plotdevice/plotdevice/issues/27/comments","events_url":"https://api.github.com/repos/plotdevice/plotdevice/issues/27/events","html_url":"https://github.com/plotdevice/plotdevice/issues/27","id":92480978,"number":27,"title":"Path to current script","user":{"login":"mrpalacz","id":1454661,"avatar_url":"https://avatars.githubusercontent.com/u/1454661?v=3","gravatar_id":"","url":"https://api.github.com/users/mrpalacz","html_url":"https://github.com/mrpalacz","followers_url":"https://api.github.com/users/mrpalacz/followers","following_url":"https://api.github.com/users/mrpalacz/following{/other_user}","gists_url":"https://api.github.com/users/mrpalacz/gists{/gist_id}","starred_url":"https://api.github.com/users/mrpalacz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrpalacz/subscriptions","organizations_url":"https://api.github.com/users/mrpalacz/orgs","repos_url":"https://api.github.com/users/mrpalacz/repos","events_url":"https://api.github.com/users/mrpalacz/events{/privacy}","received_events_url":"https://api.github.com/users/mrpalacz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/plotdevice/plotdevice/labels/feature","name":"feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-01T20:43:32Z","updated_at":"2015-07-04T23:53:56Z","closed_at":null,"body":"I'm migrating my projects vom NodeBox to PlotDevice, one problem I encountered is that I can't seem to get a path to the .pv file like I did with NodeBox for the .py file.\r\nThe variable `__file__` also didn't work in NodeBox, but `sys.argv[0]` did work in NodeBox once the file was saved. In PlotDevice I only get `<untitled>` when printing the var."}}