Install Prettytable Python For Mac

среда 04 мартаadmin
Install Prettytable Python For Mac Rating: 8,5/10 5940 reviews

For most Unix systems, you must download and compile the source code. The same source code archive can also be used to build the Windows and Mac versions, and is the starting point for ports to all other platforms. Download the latest Python 3 and Python 2 source. Project description. PrettyTable is a simple Python library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables. It was inspired by the ASCII tables used in the PostgreSQL shell psql. PrettyTable allows for selection of which columns are to be printed, independent alignment of columns (left.

Latest version

Released:

A simple Python library for easily displaying tabular data in a visually appealing ASCII table format.

Project description

PrettyTable is a simple Python library designed to make it quick and easy torepresent tabular data in visually appealing ASCII tables. It was inspired bythe ASCII tables used in the PostgreSQL shell psql. PrettyTable allows forselection of which columns are to be printed, independent alignment of columns(left or right justified or centred) and printing of “sub-tables” by specifyinga row range.

Release historyRelease notifications

0.7.2

0.7.1

0.6.1

0.6

0.5

0.4

0.3

0.2.1

0.2

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for PrettyTable, version 0.7.2
Filename, sizeFile typePython versionUpload dateHashes
Filename, size prettytable-0.7.2.tar.bz2 (21.8 kB) File type Source Python version None Upload dateHashes
Filename, size prettytable-0.7.2.tar.gz (24.8 kB) File type Source Python version None Upload dateHashes
Filename, size prettytable-0.7.2.zip (28.1 kB) File type Source Python version None Upload dateHashes
Close

Hashes for prettytable-0.7.2.tar.bz2

Hashes for prettytable-0.7.2.tar.bz2
AlgorithmHash digest
SHA256853c116513625c738dc3ce1aee148b5b5757a86727e67eff6502c7ca59d43c36
MD5760dc900590ac3c46736167e09fa463a
BLAKE2-256ef304b0746848746ed5941f052479e7c23d2b56d174b82f4fd34a25e389831f5
Close

Hashes for prettytable-0.7.2.tar.gz

Hashes for prettytable-0.7.2.tar.gz
AlgorithmHash digest
SHA2562d5460dc9db74a32bcc8f9f67de68b2c4f4d2f01fa3bd518764c69156d9cacd9
MD5a6b80afeef286ce66733d54a0296b13b
BLAKE2-256e0a136203205f77ccf98f3c6cf17cf068c972e6458d7e58509ca66da949ca347
Close

Hashes for prettytable-0.7.2.zip

Hashes for prettytable-0.7.2.zip
AlgorithmHash digest
SHA256a53da3b43d7a5c229b5e3ca2892ef982c46b7923b51e98f0db49956531211c4f
MD50c1361104caff8b09f220748f9d69899
BLAKE2-256234a9785a37ed6425918af69909af715ced0fa261e518601a0c70309a708fd08

Note

Check out our guide for installing Python 3 on OS X.

Mac OS X comes with Python 2.7 out of the box.

You do not need to install or configure anything else to use Python. Having saidthat, I would strongly recommend that you install the tools and librariesdescribed in the next section before you start building Python applications forreal-world use. In particular, you should always install Setuptools, as it makesit much easier for you to install and manage other third-party Python libraries.

The version of Python that ships with OS X is great for learning, but it’s notgood for development. The version shipped with OS X may be out of date from theofficial current Python release,which is considered the stable production version.

Your 12-card objective deck will shape your tactical approach to a match, allowing you to score Glory by fulfilling specific conditions.In Warhammer Underworlds: Online cards are split into warband-specific cards and Universal cards. Unlike the physical game ALL FUTURE UNIVERSAL CARDS WILL BE FREE, and will be added to the game in regular release packs. Your 20-card power deck is filled with clever gambits and powerful upgrades you’ll need to inflict maximum damage. Or you may prefer the undead Deathrattle, cursed by Nagash and led by a frenzied devotee to the God of Death, or the savage, muscle-bound Orruks, clad in thick plates of rusted metal and smashing everything in their path!Other warbands are awaiting your orders and will be available as DLC later in 2020!CRAFT YOUR DECKYour success is measured in Glory points - awarded for achieving objectives and vanquishing your foes. Deckbuilding is the strategic heart of Warhammer Underworlds: Online. Warhammer online beta for mac.

Doing it Right¶

Let’s install a real version of Python.

Before installing Python, you’ll need to install a C compiler. The fastest wayis to install the Xcode Command Line Tools by runningxcode-select--install. You can also download the full version ofXcode from the Mac App Store, or theminimal but unofficialOSX-GCC-Installerpackage.

Note

If you already have Xcode installed, do not install OSX-GCC-Installer.In combination, the software can cause issues that are difficult todiagnose.

Note

If you perform a fresh install of Xcode, you will also need to add thecommandline tools by running xcode-select--install on the terminal.

While OS X comes with a large number of Unix utilities, those familiar withLinux systems will notice one key component missing: a decent package manager.Homebrew fills this void.

To install Homebrew, open Terminal oryour favorite OS X terminal emulator and run

The script will explain what changes it will make and prompt you before theinstallation begins.Once you’ve installed Homebrew, insert the Homebrew directory at the topof your PATH environment variable. You can do this by adding the followingline at the bottom of your ~/.profile file

Now, we can install Python 2.7:

Because python@2 is a “keg”, we need to update our PATH again, to point at our new installation:

Homebrew names the executable python2 so that you can still run the system Python via the executable python.

Setuptools & Pip¶

Homebrew installs Setuptools and pip for you.

Setuptools enables you to download and install any compliant Pythonsoftware over a network (usually the Internet) with a single command(easy_install). It also enables you to add this network installationcapability to your own Python software with very little work.

pip is a tool for easily installing and managing Python packages,that is recommended over easy_install. It is superior to easy_installin several ways,and is actively maintained.

Virtual Environments¶

A Virtual Environment (commonly referred to as a ‘virtualenv’) is a tool to keep the dependencies required by different projectsin separate places, by creating virtual Python environments for them. It solves the“Project X depends on version 1.x but, Project Y needs 4.x” dilemma, and keepsyour global site-packages directory clean and manageable.

For example, you can work on a project which requires Django 1.10 while alsomaintaining a project which requires Django 1.8.

To start using this and see more information: Virtual Environments docs.

This page is a remixed version of another guide,which is available under the same license.