Not all painter's tapes are created equal. The guys I work with used blue tape to mask along the wall on a varnished floor. One delay lead to another and it was about 3 or 4 weeks later before they pulled it up. It took the varnish with it in spots. The fine print says to not leave it for more than a week, so I would be careful if you plan to leave it on for a month or more. Electrical tape (33+) is wonderful stuff, but it also may leave a black residue along the edges if you leave it in place a long time. UV degradation of either the base layer or the sticky part of some tapes may make removing it difficult (if you want it to leave no trace).
The static cling tape that Fred mentioned above sounds like the best bet from my pov.