Decide to start learning Python before starting my PhD so I can be a leet bioinformatician

>decide to start learning Python before starting my PhD so I can be a leet bioinformatician
>"Learn Python the Hard Way is upgrading to 3.6!"
>mfw

Everyone says to use Python 2, but now the tutorial website says to learn 3?! I'm confused.

Most online tutorials and some books will tell you to use v2 because they were written a few years ago when the future of v3 was uncertain and 2 was the standard. They were right at the time.

Things have changed Mostly everyone agrees 3 is ready and is the future now. Python 2 will only see minor updates from now on and will not be officially supported eventually.

>the future of v3 was uncertain
it is still uncertain at best
pypy is the future of python and they will support 27 forever. atm most servers ship with python2, a lot of desktop apps(calc, sims, 3d stuff) that have python api ship with python2. scientific community uses mostly python2. the only place i encountered v3 so far is webdev and some obscure 0 star github repos.

LPTHW is written by a mentally deficient faggot, don't use the book

Also Python 3 is the future, fuck 2

ITS LITERALLY THE SAME FUCKING LANGUAGE

I write C# for a living and I can still hack out whatever shitty script I need in python 2.7 or 3.5 any day

python 3 doesn't offer any sufficient benefits over 2, its like dry humping - movement without progress

Except it does

Source: porting a bunch of things to py3 now

> a bunch of things
what are those?

Recommend books senpai
Python from basic to a slightly advanced shit.
Not OP but I will need it to pretty complicated tasks for scientific libraries

Clients' projects, can't really disclose more than that
Although when I come across a dependency that's not compatible and hasn't been updated in a few years I fork and port it

I don't do scientific stuff so can't help you there, but otherwise I just study by watching pycon videos on jewtube at 2x (especially Raymond Hettinger's stuff). I keep learning new things despite using Python for 7 years.

>Clients' projects, can't really disclose more than that
thought so

Oh boy, you sure got me there :^)

>movement without progress
keep lying to yourself

What do you think about python path on pluralsight?

I use asyncio and format strings everyday.

T. avid fan of 3 over 2.

i so much want to insert my diffs into her code

I only learned 2 because everyone in my occupation uses 2.

Just learn whatever you need to learn.

>PhD
>crying about having to learn minor differences in python syntax
Holy shit is this actually how worthless a PhD is these days?

I'm a self taught programmer and learning new languages or switching syntax is literally as easy as a short google search. Come on.

Learn 3. But how hard is it to look up syntax differences?

>doesn't even know Python
>already has a masters
This is why no one takes the soft sciences seriously LMFAO how fucking retarded can any of you be?

Working through programming books never worked for me. Always has to have some sort of application.

Data Analysis with Python is great. I'd also suggest looking and Bioinformatics books that also use Python.

about the 2 vs 3 thing, just do the exercises in Python 3 style.

yield from

>need Windows? Hurr durr, you're stuck with Windows 10 now, fuck you
>need Linux? Hurr durr, you're stuck with systemd now, fuck you
>need Python? Hurr durr, you're stuck with Python 3 now, fuck you
>need a CPU? Hurr durr, you're stuck with a botnet hardwired right in to it now, fuck you

Fuck this shit. Where is this going? Where did it all go so wrong? Where's the exit off this ride?

abacus, pen and paper, living inside a cave far away from any smartphone are the only way out of the botnet

async def foo():
await ...

def foo(x: str) -> int: ...

server = 'example'
print(f'{server} failed to respond')

return {'name': 'foo', **other_dict}

def foo(a, b, *, foo, bar): ...

dict(**kwargs, **more_kwargs)
list(*args, *more_args)

assert dict(a=1, b=2).keys() == ['a', 'b']
assert dict(a=1, b=2).keys() != ['b', 'a']

Another useful one

return [1, 2, *some_list, 3, 4, *other_list]

>especially Raymond Hettinger's stuff
Same

>leet bioinformatician

Is numpy and scitools and matplotlib ported to Python 3 yet?

If yes, then learn Python 3. If no, then stick with Python 2.7.

Otherwise you're doing yourself a severe disfavour.

>Is numpy and scitools and matplotlib ported to Python 3 yet?
Like a million years ago

Are you seriously complaining about new technology replacing old technology?

Qualifying for a PhD program was never about being able to think for yourself. I mean, it probably should be a factor, but ability to work hard and follow directions is more valued by PIs.

I don't consider genetics a soft science.

I-is that what people think?

my phd requires two 1st author papers to graduate. my pi isn't even on my second one.

which uni?

u.s. biomedical research university

Just learn one. They're not so different that you can't figure out the other if you know one. The reason people are mad is because all the code that was written in v2 doesn't work in v3 and needs to be ported.

For learning, it really doesn't matter which one you learn as long as you're aware that you might have to do a bit of finagling to get your stuff working on the version you didn't learn.

the point is that newer technology is shit and the option of just using older and better tech is being removed

>using the smiley with a carat nose

> Bioinformatics
> Python

R is the way to go, my man. Especially for genetics. So many libraries for it.

Stupid question but what does bioinformatics even consist of? I can't even imagine really but it sounds interesting as fuck.

Get micro-array data as a big spreadsheet. Do data analysis things on data to find out something. Maybe some genes are affected when someone has a disease, stuff like that. Draw pretty graphs. It's fun.

I thought that guy bitched hard about python 3