06-20-2013
The scientific and high performance computing distributions generally offer Python as prt of the standard install. Search the distrowatch.com site for examples.
Mind you, these are distributions that have a custom made install script that happens to include Python and some Python libraries. There is obviously nothing stopping you from writing a script of your own on top of a bare bones Linux installation.
The BSD ecosystem generally does not have Python upon installation.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have written a small practice Python script to determine the prime numbers between 2-10, for practice. Although I have pored over this script numurous times, I have not found the problem.
The problem is: Python will not print "is a prime" when a number is a prime. After examining the code... (4 Replies)
Discussion started by: Furtoes00
4 Replies
2. Shell Programming and Scripting
I heard that its a new programming language but ill like to get a deeper explaination of it. (1 Reply)
Discussion started by: kprescod4158
1 Replies
3. Programming
Hello,
Is there some type of functional way to read things in the Python shell interpreter similar to less or more in the bash (and other) command line shells?
Example:
>>> import subprocess
>>> help(subprocess)
...
...
I'm hoping so as I hate scrolling and love how less works with... (0 Replies)
Discussion started by: Narnie
0 Replies
4. Ubuntu
i just found python 3.1 in the Ubuntu Software Center today... yes i know, i've probably been under a rock... but my question is, would installing 3.1 cause any conflicts with the 2.6 installation in terms of retro compatibility with python based apps?
i don't know if 3.1 is supposed to replace... (0 Replies)
Discussion started by: Sterist
0 Replies
5. Programming
Hi everybody,
I've been experimenting with Python lately and for the most part it's been a smooth ride. I have one little problem that maybe one of you can help me with.
PROBLEM:
I have list with one word per line.
EXAMPLE
apples
oranges
pears
grapes
etc...
I also have a shell... (2 Replies)
Discussion started by: o0110o
2 Replies
6. SuSE
Okay, so I have had this problem on openSUSE, and Debian systems now and I am hoping for a little help. I think it has something to do with Python but I couldn't find a proper Python area here.
I am trying to redirect the output of "ssh suse-server 'python -V'" to a file. It seems that no matter... (3 Replies)
Discussion started by: Druonysus
3 Replies
7. Shell Programming and Scripting
I am working on requirement on spreadsheet in python scripting.
I have a spreadsheet containing cell values and with background color.
I am able to read the value value but unable to get the background color of that particular cell.
Actually my requirement is to read the cell value along... (1 Reply)
Discussion started by: giridhar276
1 Replies
8. Windows & DOS: Issues & Discussions
Hi all,
I am trying to run below python code for connecting remote windows machine from unix to run an python file exist on that remote windows machine..
Below is the code I am trying:
#!/usr/bin/env python
import wmi
c = wmi.WMI("xxxxx", user="xxxx", password="xxxxxxx")... (1 Reply)
Discussion started by: onenessboy
1 Replies
9. Programming
Hi all...
As you know I like making code backwards compatible for as many platforms as possible.
This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 Replies
LEARN ABOUT DEBIAN
virtualenv
VIRTUALENV(1) VIRTUALENV(1)
NAME
virtualenv - create virtual Python instances
SYNOPSIS
virtualenv [options...] [destination-directory]
DESCRIPTION
virtualenv creates virtual Python executables, each of which can have its own set of installed modules. Programs that require different
versions of modules or sets of modules that may be incompatible with others to be installed on the same system without conflicts.
The result is a directory containing its own Python executables (in DIR/bin/pythonVER and DIR/bin/python) and its own module directory
containing the standard library as installed by the system. Additional modules may be installed via setuptools, as invoked from the binary
directory (DIR/bin/easy_install). The system's site-packages directories will not be available by default, but can be made visible with the
--system-site-packages option. They can then be overridden with locally-installed modules.
In addition, a shell script called "activate" will be installed in the bin directory. If sourced, this will cause normal invocations of the
Python executable to use the virtual environment.
By running the virtualenv command explicitly under the desired Python interpreter, the user can control which version of Python is created
in the virtual environment.
OPTIONS
-h, --help
Show summary of options.
--version
Show the version of the program.
-v, --verbose
Be more verbose.
-q, --quiet
Be less verbose; suppress unimportant output.
--clear
Clear out a previously-created virtual Python instance in this location before creating a new one.
-p PYTHON_EXE,--python=PYTHON_EXE
The Python interpreter to use to create the new environment.
--no-site-packages
Ignored (the default). Don't give access to the global site-packages modules to the virtual environment.
--system-site-packages
Give access to the global site-packages modules to the virtual environment.
--unzip-setuptools
Unzip Setuptools or Distribute when installing it.
--relocatable
Make an EXISTING virtualenv environment relocatable.
--distribute
Ignored. Distribute is used by default. See --setuptools to use Setuptools instead of Distribute.
--setuptools
Use Setuptools instead of Distribute. Set environ variable VIRTUALENV_SETUPTOOLS to make it the default.
--extra-search-dir=SEARCH_DIRS
Directory to search for setuptools/distribute/pip distributions in. Can be specified multiple times.
--never-download
Never download anything from the network. Instead, fail if local distributions of setuptools/distribute/pip are not present.
--prompt==PROMPT
Provides an alternative prompt prefix for this environment.
AUTHORS
This manual page was originally written by Jeff Licquia <licquia@debian.org>, later rewritten by Carl Chenet <chaica@ohmytux.com>.
LICENSE
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, version 2 or any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
COPYRIGHT
Copyright (C) 2007 Jeff Licquia
12/02/2009 VIRTUALENV(1)