# NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

# pyahoo.download.download()

## Syntax

    download(url, path="")

## Description

Downloads item at url, saves it at path, returns path. The right extension is appended to path automatically. Downloaded items can later on be removed with the clear() command.

## Example

    from pyahoo import download
    url = "http://www.fassetthill.com/photos/17-penguins.jpg"
    download.download(url, path="penguin")