Plotting a text file by using gnuplot in python : I have a text file called data.txt and it looks like this:

0 0.0025 sec

1 0.254 sec
 
2 0.5654 sec

I want to plot it by using gnuplot in python. When I enter gnuplot my command line look like this;

gnuplot >

What do I have to do now to plot my text file and view it?