A low-cost processing technique that is widely used to make polymer films is also capable of producing large-area films of aligned nanowires and nanotubes.