Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

py3compile(1) [debian man page]

PY3COMPILE(1)							   User Commands						     PY3COMPILE(1)

NAME
py3compile - byte compile Python 3 source files SYNOPSIS
py3compile [-V [X.Y][-][A.B]] DIR_OR_FILE [-X REGEXPR] py3compile -p PACKAGE DESCRIPTION
Wrapper around py_compile to byte-compile python files. OPTIONS
--version Show program's version number and exit. -h, --help Show this help message and exit. -f, --force Force rebuild of byte-code files even if timestamps are up-to-date. -O Byte-compile to .pyo files. -q, --quiet Be quiet. -v, --verbose Turn verbose mode on -p PACKAGE, --package=PACKAGE Specify Debian package name whose files should be bytecompiled. -V VRANGE Force private modules to be bytecompiled with Python version from given range, regardless of the default Python version in the sys- tem. If there are no other options, bytecompile all public modules for installed Python versions that match given range. VER- SION_RANGE examples: '3.1' (version 3.1 only), '3.1-' (version 3.1 or newer), '3.1-3.3' (version 3.1 or 3.2), '-4.0' (all supported 3.X versions). -X REGEXPR, --exclude=REGEXPR exclude items that match given REGEXPR. You may use this option multiple times to build up a list of things to exclude. py3compile 0.9 September 2010 PY3COMPILE(1)

Check Out this Related Man Page

DH_PYTHON3(1)							   User Commands						     DH_PYTHON3(1)

NAME
dh_python3 - calculates Python 3 dependencies, adds maintainer scripts to byte compile files, etc. SYNOPSIS
dh_python3 -p PACKAGE [-V [X.Y][-][A.B]] DIR_OR_FILE [-X REGEXPR] OPTIONS
--version show program's version number and exit -h, --help show this help message and exit --no-guessing-deps disable guessing dependencies --no-dbg-cleaning do not remove any files from debug packages --skip-private don't check private directories -v, --verbose turn verbose mode on -i, --indep act on architecture independent packages -a, --arch act on architecture dependent packages -q, --quiet be quiet -p PACKAGE, --package=PACKAGE act on the package named PACKAGE -N NO_PACKAGE, --no-package=NO_PACKAGE do not act on the specified package -V VRANGE specify list of supported Python versions. See py3compile(1) for examples -X REGEXPR, --exclude=REGEXPR exclude items that match given REGEXPR. You may use this option multiple times to build up a list of things to exclude. --compile-all compile all files from given private directory in postinst/rtupdate not just the ones provided by the package (i.e. do not pass the --package parameter to py3compile/py3clean) --depends=DEPENDS translate given requirements into Debian dependencies and add them to ${python:Depends}. Use it for missing items in requires.txt. --recommends=RECOMMENDS translate given requirements into Debian dependencies and add them to ${python:Recommends} --suggests=SUGGESTS translate given requirements into Debian dependencies and add them to ${python:Suggests} SEE ALSO
/usr/share/doc/python3-doc/README.PyDist (python3-doc package) dh_python3 3.0~beta2 September 2010 DH_PYTHON3(1)
Man Page

15 More Discussions You Might Find Interesting

1. AIX

Compile Multiple Files

Hi All, I need a script to compile multiple *.pli source files. I can take care of the compile part, it's getting the list of files into an array or parsable string that I'm having the difficult with. ls or find come to mind, but I can only redirect those to a file. I need to use the file... (2 Replies)
Discussion started by: LouPelagalli
2 Replies

2. UNIX for Dummies Questions & Answers

Python 2.5 must die.

I am using SunOS 5.7 I have installed Python 2.5 via make install Without going into details, I'd like to uninstall it and replace it with an earlier version. Maybe as far back as 2.2.3. Unfortuantely, make uninstall gives me Don't know how to make target 'uninstall'. This is thematically... (2 Replies)
Discussion started by: Dbecker
2 Replies

3. UNIX for Advanced & Expert Users

exclude multiple records

Hi I need to exclude multiple records in file .Using grep -v ,can exclude that record Ex: If want to exclude 0012777201,0012777202 use grep two times .Is there any command to achive this through single command ?( cann't use grep multiple times if need to exclude multiple records in husge... (5 Replies)
Discussion started by: mohan705
5 Replies

4. Linux

tar error exit delayed form pervious error

Hi when use "tar cpvzf /dev/st0 --exclude=/proc --exclude-/lost+found --exclude=/mnt --exclude=/media --exclude=/sys /" to tape, get the following message "tar: error exit delayed form pervious error", What is the mean ? Please suggest some solution for these errors. thx (1 Reply)
Discussion started by: chayato
1 Replies

5. Shell Programming and Scripting

Python in UNIX

Hi, I am going to handle a project that uses Python on AIX or SunSolaris Plateform. Please tell me what is Python and how and why we should use Python. Please suggest. Thanx. (2 Replies)
Discussion started by: sanjay1979
2 Replies

6. UNIX for Dummies Questions & Answers

Help with Find command

I'd like to be able to find all files in multiple directories that haven't been modified or accessed in the past 6 months but exclude ".dt", ".dtprofile", ".profile", etc. I'd like the command to be able to exclude files and directories. I've tried different variations of: find /export/user !... (2 Replies)
Discussion started by: nadeemsm
2 Replies

7. Programming

In Python, what does "x = 5" really do/mean?

Hi, I'm a great scripter, but just learning programming (using Python). I'm very much a newbie at this, so please be patient as I'm sure these will seem so basic a questions and may seem stupid to those experienced. I'm reading a python book right now that has me thinking about variables.... (2 Replies)
Discussion started by: Narnie
2 Replies

8. Programming

Python Script with C++Qt

Hi i work under CentOS 5.5, Qt 4.7, Python 2.4. i need to send data from C++ to Python. i write a code but it's not work, i have an Inferior System error on it. PyObject* objArg = Py_BuildValue("(z)", cKeyNum); PyObject* objFunc = (PyObject*)Init; pValue = PyEval_CallObject(objFunc, objArg);... (12 Replies)
Discussion started by: HanyM.Magdy
12 Replies

9. Ubuntu

[Solved] Using Find with an exclude/exclude file

I am familiar with using tar and exclude/include files: tar zcf backup.dirs.tgz --files-from=include.mydirs --exclude-from=exclude.mydirs --no-recursion but was wondering if I could use find in the same way. I know that you can just specify the directories to exclude but my list is... (2 Replies)
Discussion started by: metallica1973
2 Replies

10. Programming

Printing same strIng many times

In python how we need to print a same string many times without using loop. I cane across something like * operator for this . How we Can use this in a print statement ? I am using python 3.x Please help me (7 Replies)
Discussion started by: pandeesh
7 Replies

11. Red Hat

Python 2.6 on redhat 5 (update 8)

Hi, I would like to know wheather it is possible to install python 2.6 on RedHat Ent Linux 5 (update8) using rpms? I have checked by default Python 2.4 is installed. or wheather Redhat 6.0 needs to be installed for python 2.6? (1 Reply)
Discussion started by: manoj.solaris
1 Replies

12. Programming

Populating Lists in Def using Python

Dipping around in python again and need to create a def that will populate a list(content) with the files that os.walk finds from within this directory and then I will re.search through each files looking for content. In learning Python, can someone point me in the right direction. This is what I... (3 Replies)
Discussion started by: metallica1973
3 Replies

13. Programming

Python Reading Individual files and Regex through them

As a newbie to Python, I am trying to write a script in which is will add all the log files (*.log) from within a directory to a list, open the files and search for an ip using a regex and single it out (appending the ip's to the list). So far, I have: import re, os def list_files() content = ... (4 Replies)
Discussion started by: metallica1973
4 Replies

14. What is on Your Mind?

Has Python Lost The Plot?

Not sure if this should be in the Programming forum so placed here for safety... I used to really love Python, but as it has evolved from V1.4.0, (for the classic AMIGA in my case), to its present V3.4.? incarnation has it become less user friendly for newbie and amateur coders? I have... (6 Replies)
Discussion started by: wisecracker
6 Replies

15. Shell Programming and Scripting

Python Combing Two Commands

I have been digging deeper into Python and want to make my code as efficient as possible. The less line of code the better so I have been experimenting and wanted to ask the Python gurus if this is possible. So: ... ... In : kbfileurl = re.search('<p>For more information about this... (6 Replies)
Discussion started by: metallica1973
6 Replies