Telegram Web Link
.pythonrc

just like
.nanorc
.bashrc
.vimrc
...
And the rest of the similar files, we also have a pythonrc that was created for the same purpose. It is supposed to read and run the REPL before startup.
It can be used in different ways: for example, if you always import a series of libraries when you open the REPL, you can import it here once and not do it every time.
Or, for example, if you wrote a series of helper functions for yourself, you can define it here once and it will be available to you whenever you open the REPL.
Another interesting thing is that we can replace the built-in help function with inspect which is in rich:
from functools import partial
from rich import inspect, pretty

help = partial(inspect, help=True)
pretty.install()

Now we have to set the PYTHONSTARTUP environment variable to the file
.pythonrc
point out
Now the rich version is used when you click on an object.

Source

🖊 @AmirSoroush‌‌

https://www.tg-me.com/raspberry_python/6556
Core -> Vue 3
Vue -> Vue 2
PostgresML is an AI application database. Download open source models from Huggingface, or train your own, to create and index LLM embeddings, generate text, or make online predictions using only SQL.
https://github.com/postgresml/postgresml
Grml includes a collection of GNU/Linux software especially for system administrators.

https://grml.org/
AZConf - A to Z Conference on Cloud and AI | AZConf 2023 | November 17-18, 2023 | Asia's Largest Cloud and AI Conference | Developer Conference | Artificial Intelligence | Multi-Cloud Conference
https://azconf.dev/
2025/07/06 21:17:17
Back to Top
HTML Embed Code: