Skip to content

tuxbalaji

Django,Ruby on rails,Linux,python,Android

Tag: how to open a pdf file

How to open a PDF file in python

Hi…today i found how to open a PDF file in python..it’s so easy to open the PDF file in python..

import os
os.system(' /usr/bin/gnome-open  /home/mydirectory/filename.pdf')

output :

Thats it….Thanks….

Author BalajiPosted on October 28, 2012Categories PythonTags easy pdf, gnome, how to open a pdf file, os system, Python2 Comments on How to open a PDF file in python

Recent Posts

  • Dictionary in Python3
  • How to get video files duration and resolution in python
  • MongoDB Basics
  • String Module In Python3
  • Nginx to serve static files example

Blog Stats

  • 57,038 20

Enter your email address to follow this blog and receive notifications of new posts by email.

Archives

  • October 2016
  • February 2016
  • July 2015
  • January 2015
  • June 2014
  • February 2014
  • January 2014
  • November 2013
  • October 2013
  • March 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • June 2012
  • December 2011
  • September 2011
  • August 2011
  • July 2011
  • March 2011
  • January 2011

Categories

Android Android Basics Django Linux mongodb Mysql Python python3 Ruby Ruby on Rails Scrapy Uncategorized

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
tuxbalaji Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • tuxbalaji
    • Already have a WordPress.com account? Log in now.
    • tuxbalaji
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...