Replies: 2 comments 2 replies
-
You can make a copy of this file https://github.com/hgrecco/pint/blob/master/pint/default_en.txt and then replace and the load this file |
Beta Was this translation helpful? Give feedback.
2 replies
-
We could change the DefaultRegistry to look for a default_en.txt file in
the user_data_dir and use it, if it exists
…On Sat, 9 Mar 2024, 12:14 Hernan Grecco, ***@***.***> wrote:
I assume the command needs to run everytime I initiate a unit registry?
Indeed. But it not really a different command. u = UnitRegistry() means
use the definitions file provided by the package
Is there a "safe" way to make it a permanent config of my installation?
Not really. What I have done in the past is create a small package and
import the regitry from there
—
Reply to this email directly, view it on GitHub
<#1942 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEMLEEHSHF34LNUCUBMRN3YXL4JNAVCNFSM6AAAAABD53TCUOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DOMRYHE2DO>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to pretty print a degree angle with the
°
symbol?This example:
will return
'1.0 deg'
; I would prefer to be instead'1.0 °'
.Also if I set the locale to something, it will return nothing
it will return
'1.0 '
Beta Was this translation helpful? Give feedback.
All reactions