Create your first Python CodeVille program
- Start PyCharm, and create a new project.
To create a new python file, click menu
File
=>New
, then selectPython File
.Copy the following code to the editor (use your own name on the
connect()
call):Python
from codeville import CodeVille game = CodeVille() game.connect("Your Name", "", "boy")
- Click the green arrow button to run the code:
- Congratulations! You are now a Python developer.
Here is a complete example of python program: