Coder Social home page Coder Social logo

dec2bin's Introduction

dec2bin

Source code of the dec2bin Python function. This function immediately converts any decimal number(int or float) to its binary form.

INSTALLATION: To install the dec2bin module just run 'pip install dec2bin'(without quotes) on your OS Shell (terminal). You can also install the module straight from the source code. Just go to the dist directory and choose which package suits you best. If you choose the Windows Installer just follow the steps provided, make sure to choose the correct Python installation and then the dec2bin module will be installed on the desired Python installation. If you choose either the .zip package or the .tar.gz package, just extract the files from the package, go to the new dec2bin directory and on the Shell run 'python setup.py install' (without quotes).

ATTENTION: Notice that installing the module from source code by running 'python setup.py install' is going to install the module only on your default Python environment. If your default Python is Python 2 and you also want to use the dec2bin module on your Python 3 environment just install the module on your Python 3 environment by running 'python3 setup.py install'(without quotes). And if your default Python is Python 3 and you also want to use the dec2bin module on your Python 2 environment just install the module on your Python 2 environment by running 'python2 setup.py install'(without quotes).

HOW TO USE: To use the dec2bin function that's inside the dec2bin module you need to first import the module into Python. To do that and already be able to call the dec2bin function just type in: from dec2bin import * You can also type: from dec2bin import dec2bin And if you want to abbreviate the dec2bin function you can type: from dec2bin import dec2bin as anyabbreviationyouwant For example: from dec2bin import dec2bin as db To use the dec2bin function on your own scripts just write 'from dec2bin import *'(without quotes) at the top of your script.

PACKAGE DOCUMENTATION: http://pythonhosted.org/dec2bin/

Copyright (C) 2016 Andre Rossi Korol

Contact information: email: [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.