Title: Store results · Issue #79 · ikotler/pythonect · GitHub
Open Graph Title: Store results · Issue #79 · ikotler/pythonect
X Title: Store results · Issue #79 · ikotler/pythonect
Description: AFAICT all the examples in the documentation send results to print. How can I save results? For example, in Pythonect 0.6 interpreter using Python 2.7.12: a = [1,2,3] [2,3] -> sum(_!) -> [a = _] -> a a -> print Prints [1, 2, 3], not 5 as...
Open Graph Description: AFAICT all the examples in the documentation send results to print. How can I save results? For example, in Pythonect 0.6 interpreter using Python 2.7.12: a = [1,2,3] [2,3] -> sum(_!) -> [a = _] ->...
X Description: AFAICT all the examples in the documentation send results to print. How can I save results? For example, in Pythonect 0.6 interpreter using Python 2.7.12: a = [1,2,3] [2,3] -> sum(_!) -> [a =...
Opengraph URL: https://github.com/ikotler/pythonect/issues/79
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Store results","articleBody":"AFAICT all the examples in the documentation send results to `print`. How can I save results?\r\n\r\nFor example, in Pythonect 0.6 interpreter using Python 2.7.12: \r\n```\r\na = [1,2,3]\r\n[2,3] -\u003e sum(_!) -\u003e [a = _] -\u003e a\r\na -\u003e print\r\n```\r\nPrints `[1, 2, 3]`, not `5` as expected, implying the value of `a` in global scope was not changed.\r\n\r\nEdit: It would be nice if `2 -\u003e a` would set `a` to `2`, creating an intuitive `input -\u003e function -\u003e output` flow.","author":{"url":"https://github.com/holocronweaver","@type":"Person","name":"holocronweaver"},"datePublished":"2017-08-28T21:40:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/79/pythonect/issues/79"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9d12524a-fbad-3982-d4db-ff753ff1e39d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93A2:37463:1F4F1F:26CDB1:69914F92 |
| html-safe-nonce | 9301e49d8de094e1fc4b605b2ddd170fb1a6555dcdf53ec4383640692d54faab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0EyOjM3NDYzOjFGNEYxRjoyNkNEQjE6Njk5MTRGOTIiLCJ2aXNpdG9yX2lkIjoiNDcwMzA2Mjk5MTMxNDE3NzkzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ee19768527200fcc6914c58b3abae528241fc25e1cef3293cec1b6024013c64a |
| hovercard-subject-tag | issue:253465255 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ikotler/pythonect/79/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fa8095f4feb0e3b200b783c0cc00ac2ec3ab84ad727358e336539ff66d770283/ikotler/pythonect/issues/79 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fa8095f4feb0e3b200b783c0cc00ac2ec3ab84ad727358e336539ff66d770283/ikotler/pythonect/issues/79 |
| og:image:alt | AFAICT all the examples in the documentation send results to print. How can I save results? For example, in Pythonect 0.6 interpreter using Python 2.7.12: a = [1,2,3] [2,3] -> sum(_!) -> [a = _] ->... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | holocronweaver |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/ikotler/pythonect git https://github.com/ikotler/pythonect.git |
| octolytics-dimension-user_id | 1072559 |
| octolytics-dimension-user_login | ikotler |
| octolytics-dimension-repository_id | 3891814 |
| octolytics-dimension-repository_nwo | ikotler/pythonect |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3891814 |
| octolytics-dimension-repository_network_root_nwo | ikotler/pythonect |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width