Questions tagged [python-3.3]

For issues that are specific to Python 3.3. Use the more generic [python] and [python-3.x] tags where possible.

Python is a dynamically and strongly typed programming language whose design philosophy emphasizes code readability. Two significantly different versions of Python (2 and 3) are in use.

Use this tag if your question is specifically about . If your question applies to Python in general, use the tag . If your question applies to Python 3.x but not to Python 2, use the tag . If you aren't sure, tag your question and mention which version you're using in the body of your question.

Python 3.3 was released on September 29, 2012, and has a number of new features:

Syntax:

  • The yield from expression for generator delegation is introduced.
  • The u'unicode' syntax (which disappeared in Python 3.0) returns.

New standard library modules:

  • faulthandler - helps debugging low-level crashes.
  • ipaddress - high-level objects representing IP addresses and masks.
  • lzma - compress data using the XZ / LZMA algorithm.
  • unittest.mock - replace parts of your system under test with mock objects.
  • venv - Python virtual environments, as in the popular virtualenv package.

... as well as a reworked I/O exception hierarchy, rewritten import machinery based on importlib, more compact unicode strings, and more compact attribute dictionaries.

The C Accelerator for the decimal module has also been significantly improved, as has the unicode handling in the email module.

Finally, for security reasons, hash randomization is now switched on by default.

1158 questions
-6
votes
1 answer

Python, split user input twice. At pair and space

I'm a Python beginner and would like to know how to split a user input at pair and at space and add it to a list. E.g: user = input('A1 KW') user.split(" " ) # split on space Then I'd like to print the input on index 0 what should be A1 and also…
-6
votes
1 answer

Total/Average/Changing Salary 1,2,3,4 Menu

Change your program so there is a main menu for the manager to select from with four options: Print the total weekly salaries bill. Print the average salary. Change a player’s salary. Quit When I run the program, I enter the number 1 and the…
-8
votes
1 answer

getQuery() How to in python

I am having trouble understanding how to do this. The purpose of this is going to have a different module call to this function have it return the correct url which will than be downloaded and have things extracted from it. getQuery(location)…
Corey Quick
  • 1
  • 1
  • 3
1 2 3
77
78