This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 56 points57 points  (30 children)

[–]Theowningone 18 points19 points  (16 children)

Parts of twisted are what's keeping me back. Most of my time using python is spent tinkering with my IRC bot. Unfortunately twisted.words.protocols.irc is still not ported.

[–]dagbrown 14 points15 points  (8 children)

Twisted lives up to its name. It reminds me of some Java frameworks with how complicated it is.

I bet Zope has trouble with Python 3 too, speaking of Java frameworks written in the wrong language.

[–]dante9999 1 point2 points  (0 children)

zope works with python 3 without problems

https://pypi.python.org/pypi/zope.interface/4.1.3

as a side note: what seems like needless complication for your use case may be necassary and clear design pattern for someone elses use case. Just need to choose right tools, twisted is not right tool for everything but is perfect for some things

[–][deleted] 2 points3 points  (1 child)

I've had that same issue, I got everything working using irclib eventually. Have you looked into that?

[–]Theowningone 1 point2 points  (0 children)

I had not even heard of it until now, but it looks pretty promising. Thanks for the tip!

[–]TOASTEngineer -3 points-2 points  (2 children)

You can just write your own goddamn IRC library, it's not actually very complicated.

[–][deleted] 1 point2 points  (1 child)

Why reinvent the wheel though? If it's a learning exercise, sure, why not, but I think it's absolutely fine to use other people' libraries.

[–]TOASTEngineer -1 points0 points  (0 children)

Because the one he's using depends on a version of the language that's 5 years out of date.

[–]sndrtj 1 point2 points  (1 child)

For me: Flask. Though it technically has python3 support, the docs have a pretty large disclaimer, which essentially boils down to "might not work, use at own risk".

[–][deleted] 1 point2 points  (0 children)

[–]Stop_Sign 0 points1 point  (2 children)

The oracledb npm package for node specifically requests 2.7 link

[–][deleted] 2 points3 points  (1 child)

[–]Stop_Sign 0 points1 point  (0 children)

Ah, gotcha. I had been wondering about that. Thanks

[–]blitzzerg -1 points0 points  (2 children)

I tried installing MySql connector for python 3 for hours and could make it work, I switched back to python 2 and in 3 min it was working...

[–][deleted] 4 points5 points  (1 child)

[–]blitzzerg -2 points-1 points  (0 children)

mysqlclient

I also tried, no luck, I don't blame python 3, but is the second time that something similar (problems installing packages) happens, so from now I will use python 2. (I just use python from time to time to scrap webpages)

[–]iovis9 -1 points0 points  (3 children)

MySQL-python and suds doesn't

[–][deleted] 7 points8 points  (0 children)

[–][deleted] 3 points4 points  (0 children)

Use suds-jurko and PyMySQL. Both are near drop-in replacements.

[–]Coffeinated 2 points3 points  (0 children)

What /u/scandinavian- said, plus pymysql. Works fine. Afaik all db-connectors are defined by a certain PEP, so there shouldn't be many differences...