• Python
  • Node.js
  • JavaScript
Measure Execution Time of Python Code
Measure Execution Time of Python Code

In this article we’re going to learn how to calculate the execution time of your Python code with different approaches in Python.

Node.js Compress File into gzip Format
Node.js Compress File into gzip Format

Using Node.js built-in fs and zlib modules to compress a file into gzip format.

Quick Steps Creating Node.js Project using npm
Quick Steps Creating Node.js Project using npm

Step by step to create a new Node.js project using node package manager npm tool.

Node.js Writing Text File using File System fs Module
Node.js Writing Text File using File System fs Module

Using Node.js built-in file system fs module to create and write content to a text file.

Node.js Reading Text File using fs.readFile()
Node.js Reading Text File using fs.readFile()

Using Node.js built-in file system fs module to read a text file.

Node.js Creating HTTP Server using http.createServer()
Node.js Creating HTTP Server using http.createServer()

Using Node.js built-in HTTP module to create a simple HTTP Server that return a text or HTML content when you access via browser.

Python bin() Function
Python bin() Function

bin() function return a binary string of an integer number. The return string value has prefix '0b' or '-0b'.

Python ascii() Function
Python ascii() Function

ascii() function return a string value which is a printable representation of an object argument and escapse non-ASCII charaters in the return string.

Python any() Function
Python any() Function

any() function return True if any element of the iterable argument is True. It return False if the iterable argument is empty.

Python all() Function
Python all() Function

all() function return True if all elements of the iterable argument are True or the iterable argument is empty.

  • 1
  • 2
  • 3
  • …
  • 6
  • 7
  • 8

Copyright © 2020 toricode.com. All Rights Reserved.