From every version to version upgrade there are certain changes they will for better performance and for better results
Below are new things added in python3.7 :
1. Keywords:
Reserved words (also called keywords) are defined with predefined meaning and syntax in the language, These keywords have to be used to develop programming instructions. These keywords can't be used as variables are function names or class names ..etc
These 2 new keywords are added in python3.7 are async and await . These will be used in asynchronous programming you can heard these keys in using of library asyncio or using the python framework aiohttp
2. Breakpoint:
Python breakpoint() is a new built-in function introduced in Python 3.7. Python code debugging has always been a painful process because of tight coupling between the actual code and the debugging module code
Previously in python3.5 you need to import from sys module ,but when it comes to python3.7 you need not import any module it is default imported directly you can do by call breakpoint() which will internally call pdb.set_trace()
3. Time:
There 6 new functions are added to time module .which represent the nanoseconds variants
1. time.clock_gettime_ns()
2. time.clock_settime_ns()
3. time.monotonic_ns()
4. time.perf_counter_ns()
5. time,process_time_ns()
6. time.time_ns()
Below are new things added in python3.7 :
1. Keywords:
Reserved words (also called keywords) are defined with predefined meaning and syntax in the language, These keywords have to be used to develop programming instructions. These keywords can't be used as variables are function names or class names ..etc
These 2 new keywords are added in python3.7 are async and await . These will be used in asynchronous programming you can heard these keys in using of library asyncio or using the python framework aiohttp
2. Breakpoint:
Python breakpoint() is a new built-in function introduced in Python 3.7. Python code debugging has always been a painful process because of tight coupling between the actual code and the debugging module code
Previously in python3.5 you need to import from sys module ,but when it comes to python3.7 you need not import any module it is default imported directly you can do by call breakpoint() which will internally call pdb.set_trace()
3. Time:
There 6 new functions are added to time module .which represent the nanoseconds variants
1. time.clock_gettime_ns()
2. time.clock_settime_ns()
3. time.monotonic_ns()
4. time.perf_counter_ns()
5. time,process_time_ns()
6. time.time_ns()
Comments
Post a Comment