# Added python libraries via python and pip

**URL:** <https://forum.inductiveautomation.com/t/added-python-libraries-via-python-and-pip/65242>\
**Category:** Ignition\
**Created:** [October 14, 2022, 5:41pm UTC](https://forum.inductiveautomation.com/t/added-python-libraries-via-python-and-pip/65242 "2022-10-14T17:41:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 14, 2022, 5:45pm UTC](https://forum.inductiveautomation.com/t/added-python-libraries-via-python-and-pip/65242/2 "2022-10-14T17:45:28Z")

</div>

This article talks about using pip and external libraries: [https://support.inductiveautomation.com/hc/en-us/articles/360056397252-Python-In-Ignition](https://support.inductiveautomation.com/hc/en-us/articles/360056397252-Python-In-Ignition)

That said, you don't need an external library to take a screenshot. Just use the java.awt.Robot API.

> [@Print to Image](https://forum.inductiveautomation.com/t/print-to-image/4767/6):
>
> If you feel like getting your hands dirty, you might be able to use your handy mechanical friend, java.awt.robot, to do this for you. Note: This is pretty advanced, as it digs into the Java API. Full Code: # Capture Test from java.awt import Robot, Toolkit, Rectangle from java.io import File from javax.imageio import ImageIO robot = Robot() toolkit = Toolkit.getDefaultToolkit() dimension = toolkit.getScreenSize() bufferedImage = robot.createScreenCapture(Rectangle(0, 0, dimension.width, di…

---

_[View the full topic](https://forum.inductiveautomation.com/t/added-python-libraries-via-python-and-pip/65242)._
