[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Python 2 or 3
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 27
Thread images: 8
File: python.png (7 KB, 220x220) Image search: [Google]
python.png
7 KB, 220x220
Simple, choose for me:

Python 2 or 3?

Is python 3 the future? why?
>>
three, it is the future
>>
File: 1451168422018.jpg (68 KB, 277x372) Image search: [Google]
1451168422018.jpg
68 KB, 277x372
>>52089739
why?
>>
>>52089708
3. Because strings/chars are not 'pythonic' in 2.
>>
3 is the future, just go with it. If you can remeber the few little syntactic changes between the two youll be golden, in any event.
>>
If you are not using a library which relies on 2 then go with 3.
It is the newest version and will probably be used by others for longer.
>>
>>52089708
If you're building a resume, 3.
If you're looking for practical use 2.7.
>>
>>52089747
3 is being worked on, 2 is left behind
>>
>>52089752
nothing in two is really pythonic.

complete shitheap would be the best description of it.
>>
Learn 3. When you finish learning 3 try to learn the main differences between both of them. It will be more useful that way - be future-proof and able to maintain/port older py2 packages
>>
>>52089784
You can do practical things with 3 too. 2 is legacy right now and has bunch of old scripts that run on it. But with 3, there's been lot of support/development in updating many of the scripts. So yeah, 3 is up there in usability and practicality as well.
>>
>>52089813
I'm not really a hardcore python programmer; that was just my understanding of why 3 contains all of these breaking changes.
>>
>>52089832
>>52089784
These.
>>
>>52089708
just fucking pick 3 and let the 2 version die. There are still lot's of software that use the version 2 but there is not a single valid reason why you should develop new software using python 2
>>
Python 3 is the future, I have used mostly Python 2... But now that the libaries I use have been ported, that's not really necessary. I should probably use 3
>>
>>52089708
Two if you need it for existing libraries/resources.
Otherwise, go with three.
If you learn two, it's pretty easy to transfer over to three, there's just a few differences.
>>
File: 1450420741024.jpg (15 KB, 229x236) Image search: [Google]
1450420741024.jpg
15 KB, 229x236
I think the answer is 2.
3 is not the future.

Swift. Lets talk about Swift...
>>
File: korpi_201203290711360_middle.jpg (155 KB, 500x600) Image search: [Google]
korpi_201203290711360_middle.jpg
155 KB, 500x600
Kolme
>>
>>52089708
>>52089747
2 is on life support. 3 is the future because they're no longer updating 2 with new stuff and support will only last for so much longer.
>>
>>52091610
Miltähän Kiiran pylly haisee?
>>
File: swift-banner.png (99 KB, 658x250) Image search: [Google]
swift-banner.png
99 KB, 658x250
is there a "Swift playground" for python?

Why do you hate Swift so much?
>>
>>52091682
>Apple™'s™ New™ Programming™ Language™ Swift™
take a wild guess
>>
File: tumblr_mf4z48AhFY1qavlhoo1_540.jpg (67 KB, 540x405) Image search: [Google]
tumblr_mf4z48AhFY1qavlhoo1_540.jpg
67 KB, 540x405
>>52091704
Nice one
>>
I think im going with apple Swift in 2016.
>>
>>52089708
Obviously the past is the future.
>>
File: tumblr_ny1222Qk2D1re74mto1_540.jpg (133 KB, 540x720) Image search: [Google]
tumblr_ny1222Qk2D1re74mto1_540.jpg
133 KB, 540x720
>>52095202
how?
>>
asyncio is a great module.
Thread replies: 27
Thread images: 8

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.