Python Forum
hope to know a rank, if it has. if not, just show 0.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hope to know a rank, if it has. if not, just show 0.
#3
Hi Tyyi,

The findall will return all the matched pattern in the line, from there you need to parse and print accordingly.

For reference read the doc,
https://docs.python.org/2/library/re.htm...ll-adverbs

Thanks,
Praba
Reply


Messages In This Thread
RE: hope to know a rank, if it has. if not, just show 0. - by Prabakaran141 - Jul-10-2018, 10:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PIL Image im.show() no show! Pedroski55 2 1,011 Sep-12-2022, 10:19 PM
Last Post: Pedroski55
  PIL Image im.show() no show! Pedroski55 6 5,052 Feb-08-2022, 06:32 AM
Last Post: Pedroski55
  Rank word frequent in a list standenman 1 2,861 Nov-07-2018, 09:24 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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