Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    autopep8 0.6.1

    Download button

    No screenshots available
    Downloads: 218  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Hideo Hattori | More programs
    Other/Proprietary Li... / FREE
    May 27th, 2012, 11:44 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    autopep8 description

    Automatic generated to pep8 checked code

    autopep8 is automatic generated to pep8 checked code. This is old style tool, wrapped pep8 via subprocess module.

    Installation:

    from pip:

    pip install --upgrade autopep8

    from easy_install:

    easy_install -ZU autopep8

    Require:

    autopep8 is used pep8 (via subprocess).

    Usage:

    execute tool:

    $ autopep8 TARGET.py

    before:

    import sys, os


    print 1


    def func1():
     print "A"

     return 0



    def func11():
     a = (1,2, 3,"a")
     b = [1, 2, 3,"b"]
     return 1





    def func2():
     pass
    def func22():
     pass

    def func3():
     pass

    after:

    import sys
    import os


    print 1


    def func1():
     print "A"

     return 0


    def func11():
     a = (1, 2, 3, "a")
     b = [1, 2, 3, "b"]
     return 1


    def func2():
     pass


    def func22():
     pass


    def func3():
     pass



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    pep8 code | automatic pep8 | automatic | pep8 | code



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM