Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare your environment #1

Open
3 tasks
github-learning-lab bot opened this issue Jul 7, 2021 · 0 comments
Open
3 tasks

Prepare your environment #1

github-learning-lab bot opened this issue Jul 7, 2021 · 0 comments

Comments

@github-learning-lab
Copy link

Before we can start writing Python, we need to make sure you have your environment set up. You just need a few things (some of which you might already have!)

  • Check that Python is installed
  • Check that Git is installed
  • Clone this repository on your local machine

Check that Python is installed

Your machine may already have Python, or you might need to install it. We also want to check that the right version of Python is present. To find out, go to your command line terminal and type: python -V

Make sure to use a capital -V or you'll get something very different. If you get an error or have a version less than 3, try this: python3 -V (again with the capital -V).

If you see your Python version displayed, you’re all set. Otherwise, you’ll need to download Python for your operating system. Make sure it's Python 3, as previous versions are deprecated.

Check that Git is installed

We’ll use a similar approach to find out if you already have git installed. From your comment line, type: git --version

If you see your Git version displayed, you’re good to go. Otherwise, you’ll need to download Git for your operating system.

Clone this repository on your local machine

Now we’re getting to the fun stuff. Let’s clone this repository to your local machine so that we can make some edits:
git clone https://github.com/zuhaibh12/python-random-quote.git

You can also download or clone the repo via SSH from the main repo page.

Close this issue to continue

With your environment ready, let’s get started.

Close this issue and I’ll comment with your next steps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants