In all of the calculations on different substances which have been done by WIEN2k code Bloch functions have been applied. In this code Kohn-Sham equations are solved with Full potential linearized augmented plane-wave method. Although these functions show an interesting description for the crystal behavior in momentum space and therefore are applied widely but for calculation of the properties related to electron behavior in real space such as Quantum Traort, these are not appropriate. An alternative presentation that can describe the electron behavior in real space is maximally-localized Wannier Function. These functions have attracted considerable attention recently because of their importance in investigation of quantum traort of nanostructures. One of the most famous codes to generate Wannier functions is Wannier90. The input of Wannier90 is Bloch functions which are generated by pseudo-potential ESPRESSO package (pw2wannier90 program). But the code which is written in this thesis and we have called it Isfahan2008 will make able each user to calculate the Wannier functions by using the data of Wien2k and exporting them to Wannier90 and finally comparing the result with the consequence of ESPRESSO. As a test for Isfahan2008 code we chose Co2MnSi to calculate Wannier functions. Generally speaking the required data to export to Wannier90 from every electronic structure code are three files: case.mmn , case.amn and case.eig which are including respectively the data of M and A matrices and eigenvalues . M matrix is the overlap matrix of periodical part of Bloch functions between two different k-points and two different band indexes And A matrix is the projection of initial guess of Wannier functions on Bloch functions. More details about these data have been explained in the thesis. Consequently if we succeed to calculate the mentioned data we can calculate the Wannier functions and finally this approach help us in studying the properties which are related to the electron behavior in real space.