Title: Use pathlib weherever possible · Issue #2665 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: Use pathlib weherever possible · Issue #2665 · python-telegram-bot/python-telegram-bot
X Title: Use pathlib weherever possible · Issue #2665 · python-telegram-bot/python-telegram-bot
Description: Object based file handling makes a lot of stuff easier and we have alread started integrating it into PTB by accepting pathlib.Path objects as file input in case of local bot api servers. We should try to use it wherever possible through...
Open Graph Description: Object based file handling makes a lot of stuff easier and we have alread started integrating it into PTB by accepting pathlib.Path objects as file input in case of local bot api servers. We should...
X Description: Object based file handling makes a lot of stuff easier and we have alread started integrating it into PTB by accepting pathlib.Path objects as file input in case of local bot api servers. We should...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/2665
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use pathlib weherever possible","articleBody":"[Object based file handling](https://docs.python.org/3/library/pathlib.html) makes a lot of stuff easier and we have alread started integrating it into PTB by accepting `pathlib.Path` objects as file input in case of local bot api servers.\r\n\r\nWe should try to use it wherever possible throughout the examples & lib, arguably even tests. This includes, but is not limited to, every `open(...)` .\r\n\r\nedit: we should probably also check the wiki","author":{"url":"https://github.com/Bibo-Joshi","@type":"Person","name":"Bibo-Joshi"},"datePublished":"2021-09-17T15:56:08Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/2665"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:fa33a656-ae72-cd0d-3e5a-f308736d4b24 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80B2:1F95:CABFA0:102FE5E:6B0279BA |
| html-safe-nonce | dd782cdc0f98d086880b6117670fb12fb5ec05b9c4499ab434943bc9a82bf932 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEIyOjFGOTU6Q0FCRkEwOjEwMkZFNUU6NkIwMjc5QkEiLCJ2aXNpdG9yX2lkIjoiNDI2MTYwMjM3MjYzNzMyNTc1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 53a3a3b2b708c392166e898e621bcb02b27b9614559442d0bb57c0b8a62d211f |
| hovercard-subject-tag | issue:999503888 |
| 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/python-telegram-bot/python-telegram-bot/2665/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ab7fd14f6ee920d0d5ea8eb9078d242cf13594bb414c24886cd55f639c9c44ad/python-telegram-bot/python-telegram-bot/issues/2665 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ab7fd14f6ee920d0d5ea8eb9078d242cf13594bb414c24886cd55f639c9c44ad/python-telegram-bot/python-telegram-bot/issues/2665 |
| og:image:alt | Object based file handling makes a lot of stuff easier and we have alread started integrating it into PTB by accepting pathlib.Path objects as file input in case of local bot api servers. We should... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Bibo-Joshi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git |
| octolytics-dimension-user_id | 16178365 |
| octolytics-dimension-user_login | python-telegram-bot |
| octolytics-dimension-repository_id | 38696925 |
| octolytics-dimension-repository_nwo | python-telegram-bot/python-telegram-bot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38696925 |
| octolytics-dimension-repository_network_root_nwo | python-telegram-bot/python-telegram-bot |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width