user13147: I'm looking for a set of exercises (contained in a book, website, or chess engine) where I can practice what I know in regards to rook and pawn vs. rook endgames. I could find a friend to randomly place pieces on the board for me, but I don't see what would be in it for her or him.
Something ideal would be a website that displays a puzzle that I can solve, but the pawn would have to be on the a- or h-file and 7th rank. If I can set these parameters while randomizing the position of the rooks or king, that would be great.
Where can I find such a website, and if there isn't any, how can I create such an object? The object would set the pieces randomly on the board, with the exception of my selection. So if I select the pawn to be on a7 and the king to be on a8, it will randomly place the other pieces elsewhere. I'm only interested in the following pieces being on the board: A pair of kings, a pair of rooks, and one pawn.

user7297: If you're looking for a truly random position, I'd just roll an eight-sided die a couple of times to determine the column and row of each piece. (If the position is illegal, just reroll.) You can then enter the position into a chess program and play against the engine. Here's an online dice roller in case you don't have physical ones, the one you're looking for is called the d8.
If you're looking to practice key positions in KRP vs. KR specifically, you'd probably be interested in John Nunn's Secrets of Rook Endings. I forgot how this book is organized exactly, but it contains almost all positions in this ending which are worth studying.

user10233: I would go to Week In Chess, load the weekly games into Chessbase, and do some search filtering and play the game out at some point against a comp. When you fail (it will happen), then you can at least get an idea from the practical viewpoint of the players and review the completion of the game as played. 

user13498: I made a program.
Just run (button near the top) it until you get a legal position. Even if you add a black pawn, most of the time it should only take one try.
You could try downloading a python chess library that has a simple method which checks if the position is legal.

13147: <p>I'm looking for a set of exercises (contained in a book, website, or chess engine) where I can practice what I know in regards to <strong>rook and pawn vs. rook</strong> endgames. I could find a friend to randomly place pieces on the board for me, but I don't see what would be in it for her or him.</p>

<p>Something ideal would be a website that displays a puzzle that I can solve, but the pawn would have to be on the a- or h-file and 7th rank. If I can set these parameters while randomizing the position of the rooks or king, that would be great.</p>

<p>Where can I find such a website, and if there isn't any, how can I create such an object? <strong>The object would set the pieces randomly on the board, with the exception of my selection.</strong> So if I select the pawn to be on a7 and the king to be on a8, it will randomly place the other pieces elsewhere. I'm only interested in the following pieces being on the board: A pair of kings, a pair of rooks, and one pawn.</p>
 7297: <p>If you're looking for a truly random position, I'd just roll an <a href="https://en.wikipedia.org/wiki/Dice#Standard_variations" rel="nofollow noreferrer">eight-sided die</a> a couple of times to determine the column and row of each piece. (If the position is illegal, just reroll.) You can then enter the position into a chess program and play against the engine. <a href="https://www.wizards.com/dnd/dice/dice.htm" rel="nofollow noreferrer">Here</a>'s an online dice roller in case you don't have physical ones, the one you're looking for is called the <code>d8</code>.</p>

<p>If you're looking to practice key positions in KRP vs. KR specifically, you'd probably be interested in John Nunn's <a href="http://rads.stackoverflow.com/amzn/click/1901983188" rel="nofollow noreferrer">Secrets of Rook Endings</a>. I forgot how this book is organized exactly, but it contains almost all positions in this ending which are worth studying.</p>
 10233: <p>I would go to Week In Chess, load the weekly games into Chessbase, and do some search filtering and play the game out at some point against a comp. When you fail (it will happen), then you can at least get an idea from the practical viewpoint of the players and review the completion of the game as played. </p>
 13498: <p><a href="https://repl.it/ImZP/1" rel="nofollow noreferrer">I made a program.</a></p>

<p>Just run (button near the top) it until you get a legal position. Even if you add a black pawn, most of the time it should only take one try.</p>

<p>You could try downloading a python chess library that has a simple method which checks if the position is legal.</p>
