Skip to content

aleks1k/CommentStripper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

See file parse_comments.py


    parser = ParseComments()
    dirs = ['/repo/github/diaspora/diaspora', '/repo/github/django/django']
    for d in dirs:
        comments = parser.parse_dir(d)
        pprint(comments)

    print 'Statictics\n'
    parser.print_statistics()

Set var ParseComments.collect_statistic = True for collect statistic for file types and parse time

Wikipedia has a good reference on comments

About

A python library for the automated scraping code comments across many languages within a file directory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.4%
  • JavaScript 0.6%