On Sat, Nov 26, 2022 at 12:13 AM Teo <[email protected]> wrote: > > Hi all. I just started using Sympy this week. According to this video, when > the following code was run, the units of ohm would be returned in SI base > units.
I didn't know about that video. I'm always happy to see more video tutorial content for SymPy, and community created content in general. > > import sympy.physics.units as u > u.ohm > > However, when I tried, I got the symbol omega instead. Is there a method to > obtain the same SI base units (kgm^2)/(A^2s^3)? The units module was rewritten since this video. You can see https://docs.sympy.org/latest/modules/physics/units/index.html for a description of the new module. The new module is designed to be general enough to handle different unit systems, not just SI, which is why it no longer automatically converts everything down to SI base units. Aaron Meurer > > Thank you > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/e09ee812-50d0-4092-95e4-d22b513f4651n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6LonK7Bhhy%2BBcfQc2xJ4yqY64Rxja6hUT5S8Dc9R3_gWw%40mail.gmail.com.
