Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

ptmcg@fosstodon.orgP

ptmcg@fosstodon.org

@ptmcg@fosstodon.org
About
Posts
4
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • What's your favorite 1 character length variable name?
    ptmcg@fosstodon.orgP ptmcg@fosstodon.org

    @catsalad Other adventures in valid Python identifiers: https://fosstodon.org/@ptmcg/113929881516528637

    Uncategorized

  • What's your favorite 1 character length variable name?
    ptmcg@fosstodon.orgP ptmcg@fosstodon.org

    @hcf @catsalad Sadly, Python rejects this. There are a limited number of leading characters for variable names (although Unicode denormalized versions of them are valid), but emojis aren't among them.

    Uncategorized

  • What's your favorite 1 character length variable name?
    ptmcg@fosstodon.orgP ptmcg@fosstodon.org

    @catsalad It's not 1 but 2 characters: `_·` This is a legal variable name in Python. The second character is the Unicode MIDDLE DOT. It is only legal as a body character, not an initial character, so you need the leading "_".

    Uncategorized

  • Melon Collie
    ptmcg@fosstodon.orgP ptmcg@fosstodon.org

    @catsalad Hamlet

    Uncategorized
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups