Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unicode variable names
#1
unicode variable names work. i tried to use a unicode math operator in a name and it was rejected. yay! it looks like i can use unicode the right way. i hope runes work.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
I use at one place unicode in my project:

def get_v(fD):
    """
    Returns the speed in m/s based on doppler frequency fD
    and 24GHz base frequency.
    """
    λ = 3e8 / 24e9
    v = (fD * λ) / 2
    return v
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020