Students of elementary complex analysis usually begin by seeing the derivation of the Cauchy--Riemann equations. A topic of interest to both the development of the theory and its applications is the reconstruction of a holomorphic function from its real part, or the extraction of the imaginary part from the real part, or vice versa. Usually this takes place by solving the partial differential system embodied by the Cauchy-Riemann equations. Here I show in general how this may be accomplished by purely algebraic means. Several examples are given, for functions with increasing levels of complexity. The development of these ideas within the Mathematica software system is also presented. This approach could easily serve as an alternative in the...