Learn R Programming

prettifyAddins (version 2.6.1)

prettifyPython: Prettify Python

Description

Prettify Python code.

Usage

prettifyPython(contents = NA)

Value

The pretty code in a character string.

Arguments

contents

the code to be prettified; there are three possibilities for this argument: NA (default), to use the file currently opened in RStudio; the path to a file; or the code given as a character vector