Python 3 is the latest version of the Python programming language and was formally released on December 3rd, 2008.

learn more… | top users | synonyms

-2
votes
0answers
24 views

Append a list to a list: AttributeError: 'NoneType' object has no attribute 'append' [migrated]

I want to append a list into another list, but it gives me the error: AttributeError: 'NoneType' object has no attribute 'append' Originally I wanted to append the list to an array, but that also ...
1
vote
1answer
69 views

Additional actions in setup.py for install

Background So, I'm developing a project, and I'm writing setup.py script for it, using distutils. I'm using CPython3.3. I use some libraries that have invalid distributions in PyPI, so they have to ...
1
vote
1answer
122 views

Is using os.environ to store the value of command line switches pythonic?

I write CLI-executable Python 3 scripts regularly to do data compilation and some maintenance tasks, and try to adhere to PEP 8 and the Google Python Style Guide when doing so. Google's guide says to ...
3
votes
2answers
315 views

What was the need of introducing Python 3 when we already had Python 2 [duplicate]

I am still learning python and I started with Python 3. This question not Python 2 vs 3 or difference between them like print() is a function and not language construct and 3/2 = 1.5 My question is ...
3
votes
1answer
191 views

What is the advantage of determining scopes statically and using them dynamically in case of Python?

Firstly let me clarify that I know C and am learning Python. So my OOPS is kind of bad. I was reading the official tutorial and found this Although scopes are determined statically, they are ...
1
vote
2answers
1k views

Why do people consider Python a weak language? [closed]

I've been using Python for a little while now and I am enjoying it, but a few of my friends are telling me to start using a language like C# or Java instead and give these reasons: Python is a ...
-3
votes
1answer
129 views

Why my Python decorator doesn't works? [closed]

I'm trying to understand how decorators work, i think that I got what is the purpose of the decorators because they: let you avoid harcoding reusable parts to a single function definition let you ...
-1
votes
1answer
234 views

Would porting JPype to Python 3 be useful? [closed]

I have an open source project my company would like me to do with a small team, creating an adapter for the Oracle NoSQL database to be used in Python, but to do that we would need to be able to make ...
15
votes
1answer
442 views

What are the problems python 3 new features solve?

Python 3 new features say: we’re mostly fixing well-known annoyances and warts, and removing a lot of old cruft It mentions what is different (the fix) but not why (the problems). I have have ...
3
votes
1answer
818 views

understanding the encoding scheme in python 3

I got this error in my program which grab data from different website and write them to a file: 'charmap' codec can't encode characters in position 151618-151624: character maps to <undefined> ...
4
votes
2answers
472 views

Should I start developing in Python 3? [duplicate]

Possible Duplicate: Should we use python 2.6 or 2.7 or 3.x? Now that Django runs on Python 3, I think it's time to ask that all-important question: Should I start using Python 3 instead of ...
1
vote
1answer
276 views

What features are missing from Python IDE tools?

What are the most desired features currently lacking in any Python IDE tools? I'm also interested in what's missing in Komodo 6 but available in other tools (I currently use Komodo 6 for Python 3 ...
20
votes
5answers
1k views

Will Python 3.0's backwards-incompatibility affect adoption?

I visited Slashdot this morning to find out that Python 3.0 has been released. I know C# and Perl, but have wanted to learn Python for some time, especially after I saw its ease of use to create ...