Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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 (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Python Language formatting

Python Language formatting

Scheduled Pinned Locked Moved Article Writing
questioncsharppythoncomcollaboration
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DaveAuld
    wrote on last edited by
    #1

    Can anyone tell me what is the best option for the code formatting 'lang' attribute for use with Python? I do not see it as an option in the Article FAQ, maybe it can be added given the prevalence of the language nowadays. Thanks, D

    Dave Find Me On:Web|Youtube|Facebook|Twitter|LinkedIn Folding Stats: Team CodeProject

    J 1 Reply Last reply
    0
    • D DaveAuld

      Can anyone tell me what is the best option for the code formatting 'lang' attribute for use with Python? I do not see it as an option in the Article FAQ, maybe it can be added given the prevalence of the language nowadays. Thanks, D

      Dave Find Me On:Web|Youtube|Facebook|Twitter|LinkedIn Folding Stats: Team CodeProject

      J Offline
      J Offline
      Jochen Arndt
      wrote on last edited by
      #2

      Welcome back Dave. The FAQ is not up-to-date. Python is supported and listed in the dropdown menu for code formatting:

      # Python code formatting with

      print('Hello, world!')

      If you want you can edit the FAQ.

      D 1 Reply Last reply
      0
      • J Jochen Arndt

        Welcome back Dave. The FAQ is not up-to-date. Python is supported and listed in the dropdown menu for code formatting:

        # Python code formatting with

        print('Hello, world!')

        If you want you can edit the FAQ.

        D Offline
        D Offline
        DaveAuld
        wrote on last edited by
        #3

        Thanks for the welcome back Jochen! And thanks, see that now in the drop down, not something I think I have ever used, I have always lived in source view and hard coded the lang. So that's probably my fault for lack of observation! Cheers, D

        Dave Find Me On:Web|Youtube|Facebook|Twitter|LinkedIn Folding Stats: Team CodeProject

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

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