I have a past qual question here: let $T^3 = S^1 \times S^1 \times S^1$ be the 3-torus, and let $\Delta = \{ (x,x) \in T^3 \times T^3 \colon x \in T^3 \}$ be the diagonal subspace. Compute $\pi_1(T^3 \times T^3 - \Delta)$.
If one wanted to understand the space $T^1 \times T^1 - \Delta$, one can realized it as $[0,1]^2$ (with opposite sides identified) minus the diagonal; then, one can shear along one of the two axes to get that $T^1 \times T^1 - \Delta$ is just a cylinder. Can this process be generalized to the higher-dimensional case?
Removing a subcomplex of codimension 3 or higher from a manifold does not change the fundamental group. Therefore, in this example the fundamental group is $Z^6$.
Edit: Let $M$ be an $n$-manifold and $K\subset M$ be submanifold of codimension $\ge 3$. (I will do this in smooth category but it works in topological setting too: It suffices to assume that $K$ is a closed subset of covering dimension $\le n-3$.) Pick a base-point $m\in N=M-K$ and consider the homomorphism $$ f: \pi_1(N,m)\to \pi_1(M,m) $$ induced by the inclusion $N\to M$. I claim that $f$ is an isomorphism. To show surjectivity, let $\alpha$ be a (smooth) loop in $M$ based at $m$. Then, by the generic transversality theorem, perturbing $\alpha$ a bit, we get a new loop $\beta$ based at $m$ which is transverse to $K$. By dimension count, it follows that $\beta$ is disjoint from $K$ and hence, is a loop in $N$. Nearby loops in a manifold are always homotopic (rel. base-point). Surjectivity follows.
To prove injectivity, you use the same argument: Let $\gamma: S^1\to N$ be a smooth loop and $F: D^2\to M$ be a smooth map of the unit disk extending $\gamma$. Then, by the same argument as above we perturb $F$ to a smooth map $G: D^2\to M$ transverse to $K$. Again, by the dimension count, transversality implies that $G(D^2)$ is disjoint from $K$. Hence, $f$ is an epimorphism. qed
The standard references for transversality are books by Guillemin and Pollack and by Hirsch. Your qual is likely to contain at least some differential topology and transversality material.
Same argument works if you work with a triangulated manifold $M$ where $K$ is a subcomplex of codimension $\ge 3$. (You use the fact that a 2-dimensional affine subspace of $R^n$ is generically disjoint from a subspace of codimension $\ge 3$.)