How to take notes from pdf and webpage on ubuntu


script1 shift+a

note = clipboard.get_selection()
output = system.exec_command("date")
filename = "/home/chaalpritam/Documents/note.html"
file = open(filename, 'a')
file.write("\n" + "" + note + "" + "" + output + "" + "\n" )
file.close()

script1 shift+s

note = clipboard.get_selection()
output = system.exec_command("date")
filename = "/home/chaalpritam/Documents/note.html"
file = open(filename, 'a')
file.write("\n" + "" + note + "")
file.close()

script1 shift+d

note = clipboard.get_selection()
output = system.exec_command("date")
filename = "/home/chaalpritam/Documents/note.html"
file = open(filename, 'a')
file.write("\n" + "" + note + "")
file.close()

script1 shift+f

note = clipboard.get_selection()
output = system.exec_command("date")
filename = "/home/chaalpritam/Documents/note.html"
file = open(filename, 'a')
file.write("\n" + "" + note + "")
file.close()

note.html

>style>
html {background-color:#dadada;}
p {font-size:14px; font-weight:400;}
h1 {font-size:26px; font-weight:400;}
h2 {font-size:20px; font-weight:400;}
h3 {font-size:18px; font-weight:400;}
h6 {font-size:12px; font-weight:400; margin:0px;}
>/style>

0 comments:

Post a Comment

 

Flickr Photostream

Twitter Updates