|
arms
|
 |
« on: May 13, 2008, 11:34:07 AM » |
|
so i started coding something to download email from gmail, realizing someone has already done this before (panel gmail notifiers and such) did a search "python gmail" and found libgmail. checked the repos and there it was. python-libgmail. it does everything. i just needed to download messages. awesome. now i can spend the time that would have gone to coding posting this.
also found gmailfs. it's a python app for mounting a gmail account as a drive. been ported to mac and win i believe.
|
|
|
|
|
Logged
|
|
|
|
|
vsloathe
|
 |
« Reply #1 on: May 13, 2008, 12:25:01 PM » |
|
I wish I knew me some python 
|
|
|
|
|
Logged
|
hai
|
|
|
|
dink
|
 |
« Reply #2 on: May 13, 2008, 12:55:45 PM » |
|
Good catch arms.
|
|
|
|
|
Logged
|
[quote Nutballs] the universe has a giant fist, and its got enough whoop ass for everyone. [/quote]
|
|
|
|
arms
|
 |
« Reply #3 on: May 13, 2008, 02:15:49 PM » |
|
I wish I knew me some python  import libgmail
ga = libgmail.GmailAccount('emailaddress@gmail.com', 'password') ga.login() folder = ga.getMessagesByFolder('inbox') for thread in folder: for msg in thread: print msg.subject
now you do.  from: "Learn Python In 10 Seconds"
|
|
|
|
|
Logged
|
|
|
|
|
hondaman
|
 |
« Reply #4 on: May 13, 2008, 03:36:10 PM » |
|
python, eh? looks like oo php had a baby with basic and lost the semicolon shouldnt be too hard to pick up...
I thought everyone here was afraid of gmail?
|
|
|
|
|
Logged
|
No links in signatures please
|
|
|
|
nop_90
|
 |
« Reply #5 on: May 13, 2008, 03:50:42 PM » |
|
Why don't u just download using pop3 ? (that is really easy to do using python also  )
|
|
|
|
|
Logged
|
|
|
|
|
arms
|
 |
« Reply #6 on: May 13, 2008, 04:50:56 PM » |
|
was going to with poplib. started implementing it and was fucking with the object retrieved, trying to figure out what i need. this was easier. python, eh? looks like oo php had a baby with basic and lost the semicolon ..
you mean oo php looks like python had a baby with perl but it turned out the father wasn't really python it was :barf:asp.
|
|
|
|
|
Logged
|
|
|
|
|
hondaman
|
 |
« Reply #7 on: May 13, 2008, 06:33:43 PM » |
|
I know a lot of people that make a living writing programs inspitting and gluing together programs they wrote in asp to keep 'em on the road 
|
|
|
|
|
Logged
|
No links in signatures please
|
|
|
|
vsloathe
|
 |
« Reply #8 on: May 14, 2008, 06:28:08 AM » |
|
I thought everyone here was afraid of gmail?
So very false. Loathing does not equate to fear.
|
|
|
|
|
Logged
|
hai
|
|
|
|
nutballs
|
 |
« Reply #9 on: May 14, 2008, 07:49:55 AM » |
|
i use google apps for domains  i just finally decided that it really doesnt matter what a big faceless corp knows about me. They would find it out anyway. big deal if they can properly target me with ads. at least i never get a tampon ad.
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
perkiset
|
 |
« Reply #10 on: May 14, 2008, 10:09:03 AM » |
|
I get it but am just not there. My paranoia still runs hot about them.
There has been some discussion in my household about not sending paper checks for my bills any longer, but that will probably take about a decade for me to get comfy with.
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
nutballs
|
 |
« Reply #11 on: May 14, 2008, 10:19:55 AM » |
|
lol.
well with banks, your data is probably already in the webaccess system, whether you use it or not, so why not actually "control" it by owning it?
also what really is google going to do with your bank account number? drain your account? The only thing I can see every happening is google getting subpoenaed to release all known information about you for an investigation. But that would happen piecemeal anyway with whatever services you use, so big deal. Now, mind you, if McCracker wins, im leaving the country and un-gridding myself until the apocalypse blows over.
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
perkiset
|
 |
« Reply #12 on: May 14, 2008, 10:25:12 AM » |
|
Heh ... I wasn't meaning giving G my account info, simply pointing out what a backwards ass paranoid fishstick I am.
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
vsloathe
|
 |
« Reply #13 on: May 14, 2008, 12:50:14 PM » |
|
...if McCracker wins...
Oh, he won't win. He might become president though, like what's happened the last two elections, which would suck.
|
|
|
|
|
Logged
|
hai
|
|
|
|
nutballs
|
 |
« Reply #14 on: May 14, 2008, 01:18:44 PM » |
|
lol
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|