Python Dates and Times in Python Let's Build a Timed Quiz App Simple Time Machine

Ronnie Barua
Ronnie Barua
17,665 Points

??? How can I have a Workspace and console just like Treehouse in my Mac pro.

I am in need for blank space where I can write my Script and keep them as a file. Thanks so much in advance.

time_machine.py
import datetime

starter = datetime.datetime(2015, 10, 21, 16, 29)

def delorean():

2 Answers

Martin Luckett
Martin Luckett
32,591 Points

Ronnie,

If I understand your question correctly you are looking for an Integrated Development Environment for Python that works on your Mac.

There is an entry for this on the Python.Org wiki :

https://wiki.python.org/moin/IntegratedDevelopmentEnvironments

It is a bit old but should point you in the right direction.

On my Macs I use PyCharm or occasionally BBEdit. The free version of BBEdit, TextWrangler, is also pretty good.

It is possible to use python with Xcode and Eclipse as well but it requires a bit of setup to do that.

[edit: be aware that BBEdit and Textwrangler are text editors that recognise Python but don't run Python. You will need to run the Python files from a console (Terminal)]

Ronnie Barua
Ronnie Barua
17,665 Points

Thanks Martin! I'll try all of them you've pointed out.