Title: How can I load extern py file inside bpython session · Issue #804 · bpython/bpython · GitHub
Open Graph Title: How can I load extern py file inside bpython session · Issue #804 · bpython/bpython
X Title: How can I load extern py file inside bpython session · Issue #804 · bpython/bpython
Description: I can use bpython -p test.py to load the test.py file into the bpython session then use the functions in the file, but how can I load the external python file into the current bpython session like %load /path/test/py of ipython?
Open Graph Description: I can use bpython -p test.py to load the test.py file into the bpython session then use the functions in the file, but how can I load the external python file into the current bpython session like ...
X Description: I can use bpython -p test.py to load the test.py file into the bpython session then use the functions in the file, but how can I load the external python file into the current bpython session like ...
Opengraph URL: https://github.com/bpython/bpython/issues/804
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How can I load extern py file inside bpython session","articleBody":"I can use `bpython -p test.py` to load the test.py file into the bpython session then use the functions in the file, but how can I load the external python file into the current bpython session like `%load /path/test/py` of ipython?","author":{"url":"https://github.com/c02y","@type":"Person","name":"c02y"},"datePublished":"2020-04-11T17:19:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/804/bpython/issues/804"}
| 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:ecabf501-b464-07c5-a19d-e337c0db5a6a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B002:A1E75:36B34E2:4B9D8A2:696798FE |
| html-safe-nonce | 707489411e7e69710fa0db4114badbec0ad6a2f705a16afc981a1c5eed9a6cc2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDAyOkExRTc1OjM2QjM0RTI6NEI5RDhBMjo2OTY3OThGRSIsInZpc2l0b3JfaWQiOiI2ODAwMjgzMTk1MzkyMTA0NzAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ebfbfffe0dd1ce0a12a5457ae4ad660e169f2402acf9f8c9cdce57f50364a932 |
| hovercard-subject-tag | issue:598311807 |
| 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/bpython/bpython/804/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a499b2423d732625ff9d43882070e36c6f1b10b0d9b7324327579104f11571b/bpython/bpython/issues/804 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a499b2423d732625ff9d43882070e36c6f1b10b0d9b7324327579104f11571b/bpython/bpython/issues/804 |
| og:image:alt | I can use bpython -p test.py to load the test.py file into the bpython session then use the functions in the file, but how can I load the external python file into the current bpython session like ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | c02y |
| hostname | github.com |
| expected-hostname | github.com |
| None | 226a9a2be48ec9dd29235ac7c28d1a0c4a042a7f8214b8f03531379f0a922c42 |
| turbo-cache-control | no-preview |
| go-import | github.com/bpython/bpython git https://github.com/bpython/bpython.git |
| octolytics-dimension-user_id | 8071396 |
| octolytics-dimension-user_login | bpython |
| octolytics-dimension-repository_id | 21508865 |
| octolytics-dimension-repository_nwo | bpython/bpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21508865 |
| octolytics-dimension-repository_network_root_nwo | bpython/bpython |
| 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 | a675651313c490d8137bca02d47a2b507dfa9ca1 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width