This paper deals with extremally disconnected spaces and P-spaces. A space X is said to be if, for every open subset V of X, the closure in also an set. P-spaces are which intersection countably many sets The authors present a new characterization spaces, P-spaces, by means selection theory. If either or P-space, then usual theorems extension real-valued continuous functions dense S can deduced...