Title: How to run a simple runtime source code with function and call with argument? · RustPython/RustPython · Discussion #5173 · GitHub
Open Graph Title: How to run a simple runtime source code with function and call with argument? · RustPython/RustPython · Discussion #5173
X Title: How to run a simple runtime source code with function and call with argument? · RustPython/RustPython · Discussion #5173
Description: How to run a simple runtime source code with function and call with argument?
Open Graph Description: def hello(s): print(s) How do I add this function or module to the VM and call it with an argument? I found https://github.com/RustPython/RustPython/blob/main/examples/mini_repl.rs#L16 but this is ...
X Description: def hello(s): print(s) How do I add this function or module to the VM and call it with an argument? I found https://github.com/RustPython/RustPython/blob/main/examples/mini_repl.rs#L16 but this is ...
Opengraph URL: https://github.com/RustPython/RustPython/discussions/5173
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/discussions/:number(.:format) |
| route-controller | discussions |
| route-action | show |
| fetch-nonce | v2:a71a928d-caa3-eb7c-d0de-d99985ca74c6 |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | B7FA:3CDF6F:1AE97F8:24D6EAF:6964C145 |
| html-safe-nonce | 2535b94c98f76dceb82097b05c32baeb7986f1012b445f87604238e3401bd077 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0ZBOjNDREY2RjoxQUU5N0Y4OjI0RDZFQUY6Njk2NEMxNDUiLCJ2aXNpdG9yX2lkIjoiNTYyNDE5OTA4Njc3NjU2NjA4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ead557812007d3fab3bbf550734ca029f3a2c1dad6e8631f787604d108f255ce |
| hovercard-subject-tag | discussion:6241010 |
| github-keyboard-shortcuts | repository,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/RustPython/RustPython/discussions/5173 |
| twitter:image | https://opengraph.githubassets.com/11369cf676b7d752c8997195e3c36b1f25bf76899c415ade174dbbd405e58546/RustPython/RustPython/discussions/5173 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/11369cf676b7d752c8997195e3c36b1f25bf76899c415ade174dbbd405e58546/RustPython/RustPython/discussions/5173 |
| og:image:alt | def hello(s): print(s) How do I add this function or module to the VM and call it with an argument? I found https://github.com/RustPython/RustPython/blob/main/examples/mini_repl.rs#L16 but this is ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 21df671ce2c9f1a16940ccbd3af6cb4f3f12a856929ca7eb1b4aea8e384ea442 |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 5707c685ac172d50a0bdd7533dde4f8aabcf8eef |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width