Writing in python 3.5

python_3

#1

Hi , I'm new and a noob at everything.
I have been writing in python 3.5 on the python tutorials.

Seems to work pretty great.
Lets me continue.

Is there anything I should know?

I would definitely like to use 3.5 and 3.6 (next year) it seems so far the only difference in the tutorials is print().


#2

@imlearning64: There might be more things that are different from to another but maybe they're related to functions, libraries and things related.
On Codecademy, if I'm not wrong, we use Python 2.x so that's why our print statements don't use parentheses.

There's the documentation of each version of it, maybe you could take a look.


#3

Cool. Where would one go if they want to help . with putting a 3.x up.
I see another keyword that's different raw_input() to input().

It seems like it would be pretty easy to change the little things from 2.x to 3.x.


#4

You mean install it or something? Or simply use Python 3.x.x syntax?
For any of them, there are compilers for that and I believe some of them allows you to either code using Python 2.x.x. sytanx or Python 3.x.x syntax.

Here are some links that talk about the differences from Python 2.x.x to 3.x.x.
The key differences between Python 2.7.x and Python 3.x with examples
Should I use Python 2 or Python 3 for my development activity?
The Key Differences Between Python 2 and Python 3

Hope that helps you :slightly_smiling:


#5

No I mean setting up the tutorial for 3.x.


#6

Here on Codecademy, no.
Unless they either edit the tutorial or make another one for Python 3.x.x.

But if you're planning on getting a job as a Python programmer, your company will tell you which version of it they use and guide you through it.

The most important thing they'd want is that you know how to code in Python.


#7

Yeah that would be pretty easy. I just program for fun. my real job is a milkman.


#8

We can always upgrade!
Maybe there's something on your business that can be improved thanks to coding!

Program for fun but don't ignore the idea of getting a job to code in Python, for example.


#9

Sounds like a great idea :smiley: