Navigation

  • index
  • next |
  • previous |
  • PyHowTo: 1798 tasks and 2296 solutions »
  • Basic »

Table of Contents

Python v3.7 HowTos:

  • ------ Algorithms ------
  • Recursion
  • Backtracking
  • Dynamic Programming
  • Greedy
  • Sort
  • Binary Search
  • Depth First Search [DFS]
  • Breadth First Search [BFS]
  • Binary Search Tree [BST]
  • ------ Structures ------
  • Array
  • String
  • Heap
  • Stack
  • Queue
  • Tree
  • Linked List
  • Hash Table
  • Bit Manipulation
  • Two Pointers
  • Math
  • Decorator
  • -------- Tutors --------
  • Basic
  • Intermediate
  • Advanced
  • Interview
  • ----- Applications -----
  • Spark
  • Tkinter
  • Turtle
  • Games
  • Web
  • -------- About ---------
  • About
  • History

Previous topic

Palindrome

Next topic

Get python version

Quick search

System¶

How To: Basic::System

  • Get python version
  • Display your details in three lines
  • Determine 32bit or 64bit OS
  • Get os name, platform and release information
  • Locate python site-packages
  • Call an external command in python
  • Find out the number of cpus using
  • Determine profiling of python programs
  • Print to stderr
  • Get environment variables
  • Get the current username
  • Find local ip addresses using python’s stdlib
  • Get height and width of the console window
  • Get the copyright information
  • Get the command-line arguments
  • If system is a big- or little endian platform
  • Find the available built-in modules
  • Get the size of an object in bytes
  • Print the current call stack
  • Get the system time
  • Clear the screen or terminal
  • Get the host name
  • Access and print a url’s content to the console
  • Get system command output
  • Get the groupId, userId, groupId of the current process
  • Get the users environment
  • Get largest and smallest int, long, float
  • Get the actual module object for a given object
  • Validate an IP address
  • Find the operating system name, platform
  • Determine 32bit or 64bit mode of python shell
  • Find the location of python module sources

Navigation

  • index
  • next |
  • previous |
  • PyHowTo: 1798 tasks and 2296 solutions »
  • Basic »
© Copyright 2020, Sergiy Zaytsev, szaytsev@hotmail.com. Created using Sphinx 2.3.0.