Where do i type my codes??????? I use my Mac and I downloaded everything. Python Shell shows up but where do I type my codes?
You can execute commands in the python window but your code must be written in a text-editor (for example IDLE). The code.py file can then be loaded into the python window or executed as follows: /path/to/python.exe code.py
Sorry, you clearly said mac so the command would simply be python code.py. But try this tutorial: http://www.artofproblemsolving.com/wiki/index.php/Getting_Started_With_Python_Programming
hi, simply open IDLE then from file click 'new file', then program away in this window.
Download the free editor Sublime Text, it's the best to write and save different language codes ;)
1. http://www.sublimetext.com Download that. 2.Then type python code. 3.Then save as python.py 4.Then open file with python program. You can also make it easier to code with this tutorial i found https://realpython.com/blog/python/setting-up-sublime-text-3-for-full-stack-python-development/
Join our real-time social learning platform and learn together with your friends!