Loading ...
Sorry, an error occurred while loading the content.

5351RE: [okapitools] Filter for python resource file?

Expand Messages
  • Yves
    May 8, 2017

      Hi Hang,

       

      No, there is no filter specifically for .py files at the moment.

      I do not know if anyone is planning on implementing one.

       

      Cheers,

      -yves

       

      From: okapitools@yahoogroups.com [mailto:okapitools@yahoogroups.com]
      Sent: Sunday, May 7, 2017 9:03 PM
      To: okapitools@yahoogroups.com
      Subject: [okapitools] Filter for python resource file?

       




      Hi,

       

      Is there a filter can extract string from a py file. Doxygen filter can only extract string inside ''' '''

       

      For example.

       

      class en_us:

          resources = {}

          resources[ResourceIds.A] = '''Resource String A'''

          resources[ResourceIds.B] = '''Resource String B'''

       

       

      Expected result will be

       

      id: A                Source string: Resource String A

      id: B                     Source string: Resource String B

       

       




    • Show all 2 messages in this topic