Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

Python Basics is live!

Hey everyone!

Just wanted to let everyone know that Python Basics is now live in our library, so if you've been wanting to learn Python, here's your chance!

I can't wait to see what you all end up making! Feel free to share any feedback you have, too!

10 Answers

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

Hey everyone having problems with Workspaces. Turns out I missed a step :) ! They should all be fixed now, though. Let me know if you have any more problems.

Todd Ferreira
Todd Ferreira
3,192 Points

Hooray! All better. Thanks!

Thanks so much for the quick response. All is good. Yeah, now to become a python master!!

Daniel Chan
Daniel Chan
11,787 Points

Great! I really like python, went already through the course. Looking forward for more courses.

Issues I had. On Firefox

1 Console is hangging up sometimes or I lose keyboard input. I guess session runs out.

2 missing the possibility to copy and paste in the console.

3 missing syntax highlight for python for the forum post like ```Python

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

Hey Daniel Chan, thanks for taking the course.

As for your issues:

  1. yeah, we know. looking into it.
  2. hadn't heard about this, I'll bring it up to the devs.
  3. really?
my_list = [1, True, 'alpha']
Daniel Chan
Daniel Chan
11,787 Points

ha! nice could not get it work... I guess the problem is sitting between my chair and the keyboard. ;) I blame the German keyboard.

Test:

def at_trafficlight(lightcolor):
if light == 'red':
  return 'stop'
elif light == 'yellow':
  return 'slow'
elif light == 'green':
  return 'go'

Great job Ken. Would love to see a Python web dev course in the future.

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

It's coming! Should learn the basics before you jump into Django or Flask, though.

Woo hoo!

Kenneth, I completed the course. I really liked it. I hope you'll consider expanding Python offerings to add something like Flask or Django or (your web framework here). Python needs more love at Treehouse. I guess that could be...Kenneth Love.

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

Flask and Django are both definitely coming.

Been waiting for this for ages!!! Thank you!

So excited for this but I open the workspace and no console terminal was there.

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

Thanks @Melissa Locke. I'm looking into it. Are you launching the workspace from the right side of the video or from the menu strip over on the left?

I am launching from the workspace icon on the right side of the video. I am in chrome on a chormebook, not sure if that makes a difference

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

OK, try using the Workspaces link on the lefthand side of the site for now. We're looking into how to make the Workspaces button in the video do the right thing.

I tried that also, updated workspaces, opened the beginner python, opened a new one and set it to python environment. No luck. I can find a work around if this is more of an individual issue then a broader one.

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

I've set up and attached a new starter Workspace to the first video. Give that try (click the blue button) and let me know if it helps.

Well, I getting the same thing. Just the text editor and no console terminal. Could it be the Chrome OS on my chromebook. I will check it out on my PC

Trent Burkenpas
Trent Burkenpas
22,388 Points

Yeah i'm having issues too. When I open a workspace the console is nowhere to be found.

It might be fun to learn a little bit of Linux while you learn Python.

  • A way to start is to just download whatever you want from a Linux distribution’s website. I recommend either Debian, Ubuntu, or Kali Linux, Just download an iso file for either 32-bit or 64-bit.
  • Option #1 download VirtualBox or Option #2 download the linux usb boot utility to create a bootable linux partition on a USB drive or a DVD etc..some kind of media.
  • Hit power and it should boot from the media either from your media or file in virtualbox. It will prompt for installing or running it live.
  • Choose live if you wanna get started quickly.
  • Once you get in look for the command line icon. If you can't find it look for a menu icon and use a search function.
  • Once you're in your bash shell type python --version
  • If version returns 2.x then type
apt-get install update && apt-get install python3.4
  • Once that completes type
nano helloworld.py
  • Or if you wanna just use the interpreter type
python3.4

Hope it helps. Python is works really well with Linux & it comes pre-installed & configured on most flavors of Linux.

Todd Ferreira
Todd Ferreira
3,192 Points

I am having that issue as well. No console in workspace. Did I miss something?

Hi Kenneth

Thanks so much for all your hard work in getting Python out there. To be honest I was thinking of leaving treehouse but now that Python is here I'll definitely be sticking around.

Already looking forward to a django or flask course.

Best wishes, Michael

Tatiana Perry
Tatiana Perry
17,156 Points

Does this course teach Python 3?

Yes.

Tatiana Perry
Tatiana Perry
17,156 Points

Ahhh, that's why I keep failing. lol

Course was fun email notices had lots of humor.

Thanks, Kenneth.