I'm using the following LaTeX code in a Beamer presentation:
\begin{frame}
\begin{figure}
\centering
\tiny
\lstset{language=python}
\lstinputlisting{code/get_extent.py}
\end{figure}
\end{frame}
Is it possible to select specific lines from my get_extent.py file rather than displaying it all?