Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 111674

A wrapper is an OOP technique where an object encapsulates (wraps) another object, hiding/protecting the object and controlling all access to it.

8 votes
1 answer
761 views

Wrapper around Python's poplib.POP3 and poplib.POP3_SSL

I find the interface very cumbersome however, so I decided to try to make a wrapper that's easier to work with. I haven't tried to make it complete, rather it mostly just does what I need it to do. … import email import email.utils import poplib from collections import OrderedDict from functools import lru_cache """ Wrapper around poplib.POP3/poplib.POP3_SSL to make it easier to use. …
Roel Schroeven's user avatar