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:5f3cf765-19f8-6754-25e0-0b517c27117c |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | 8B28:D0897:54AF4B:785C2C:6A6226C5 |
| html-safe-nonce | 369a31ffc17c044e0a78c38e1d80f9f3e83e1a774a15d33d4eaf16c0a98a49d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjI4OkQwODk3OjU0QUY0Qjo3ODVDMkM6NkE2MjI2QzUiLCJ2aXNpdG9yX2lkIjoiODgxMDQ4MDAyMDg1NjYwMzU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6e356f951f6f525b6c8314ed1cdf5bd105472d86e9463cc30403334656e86d08 |
| 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 | 21839f35c93a14bc8ff43c34023894ded3dead0c48f637766489aed48b50c808 |
| 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 | f870b4bd550634487383a2b5db62e680537bec89 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width