Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

shedskin(1) [debian man page]

SHEDSKIN(1)															       SHEDSKIN(1)

NAME
Shedskin - An experimental (restricted) Python-to-C++ Compiler SYNOPSIS
shedskin [OPTION]... FILE DESCRIPTION
Shed Skin is an experimental compiler, that can translate pure, but implicitly statically typed Python (2.4-2.6) programs into optimized C++. It can generate stand-alone programs or extension modules that can be imported and used in larger Python programs. Besides the typing restriction, programs cannot freely use the Python standard library (although about 25 common modules, such as random and re, are currently supported). Also, not all Python features, such as nested functions and variable numbers of arguments, are supported. OPTIONS
-a --ann Output annotated source code (.ss.py) -b --nobounds Disable bounds checking -e --extmod Generate extension module -f --flags Provide alternate Makefile flags -l --long Use long long integers -m --makefile Specify alternate Makefile name -n --silent Silent mode, only show warnings -o --noassert Disable assert statements -r --random Use fast random number generator (rand()) -s --strhash Use fast string hashing algorithm (murmur) -w --nowrap Disable wrap-around checking -x --traceback Print traceback for uncaught exceptions -L --lib Add a library directory 0.9.2 2012-05-05 SHEDSKIN(1)

Check Out this Related Man Page

SFOOD-CHECKER(1)					      General Commands Manual						  SFOOD-CHECKER(1)

NAME
sfood-checker - check for superfluous import statements in Python source code SYNOPSIS
sfood-checker [options] files... DESCRIPTION
This script is used to detect forgotten imports that are not used anymore. When writing Python code (which happens so fast), it is often the case that we forget to remove useless imports. This is implemented using a search in the AST, and as such we do not require to import the module in order to run the checks. This is a major advantage over all the other lint/checker programs, and the main reason for taking the time to write it. As inputs, it can receive either files or directories; in case no argument is passed, it parses the current directory recursively. OPTIONS
-h, --help show the help message and exit --debug Debugging output. -I IGNORES, --ignore=IGNORES Add the given directory name to the list to be ignored. -d, --disable-pragmas Disable processing of pragma directives as strings after imports. -D, --duplicates, --enable-duplicates Enable experimental heuristic for finding duplicate imports. -M, --missing, --enable-missing Enable experimental heuristic for finding missing imports. SEE ALSO
sfood(1), sfood-cluster(1), sfood-copy(1), sfood-flatten(1), sfood-graph(1), sfood-imports(1). AUTHOR
sfood-checker was written by Martin Blais <blais@furius.ca> and it's part of snakefood suite. This manual page was written by Sandro Tosi <morph@debian.org>, for the Debian project (and may be used by others). January 2, 2009 SFOOD-CHECKER(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash vs Python

Python is obviously better than expect for many reasons such as efficieny, opsys availabiliy, functions etc), but can anybody tell me how it is better structurally. I.e. If automating a procedure such as 'Autoftp' login why is Python better than Bash? Yes it uses only one file, istead of the two... (4 Replies)
Discussion started by: BISH
4 Replies

2. Solaris

How to catch and handle Makefile exceptions

I have a simple makefile which I use to sync libraries files from /source/sybase directory on the source machine where the Makefile resides to /destination/folder on the various destination machines like machine1, machine2, machine3 using solaris utility 'rsync'. So when I run "make -f makefilename... (7 Replies)
Discussion started by: waavman
7 Replies

3. UNIX for Advanced & Expert Users

Linux, Python and Graphics

Hi Experts, I am designing a web page in Python that shows a graphical representation of the load on the various computing nodes of the Linux server. I am currently using ReportLab to generate the charts and graphs, but I seem to have some problems with that. I've reviewed ChartDirector. It... (2 Replies)
Discussion started by: davidfrank
2 Replies

4. Shell Programming and Scripting

Automatically execute all programs in a directory

Hello. The last days I extended an open-source C++ library by some faster functions. This library provides a lot of short test programs which guarantee that the library works exactly. The compilation of each test works in a Makefile automatically. What I need is a shell script which... (5 Replies)
Discussion started by: max3000
5 Replies

5. 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

6. 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

7. 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

8. Shell Programming and Scripting

Problem with make

I have the following makefile to create my programs, and getting the following error. Somehow it it trying to get to ./programs/rdt/raytrac.cc rather than ./programs/raytrac.cc It seems to be picking the last path to rdt g++ -traditional -Wno-non-template-friend -Wno-deprecated -O3 -DNDEBUG... (2 Replies)
Discussion started by: kristinu
2 Replies

9. Programming

Makefile for building multiple programs

I have the following part of a makefile and want to simplify it using rules rather than having to code the same two blocks when I need ti build another program. An having difficulty doing it all: 1dvel2 1dvel 2dvel ... (8 Replies)
Discussion started by: kristinu
8 Replies

10. UNIX for Dummies Questions & Answers

Python...

Hi all... Not sure where to put this so I put it here... All comments welcome... 1) Is the Python language now considered a part of the *NIX transient command structure much like Perl, (and awk)? 2) If so which OSes now have it as part of a "default" install - NOT an extra to be... (5 Replies)
Discussion started by: wisecracker
5 Replies

11. Programming

General question about learning Python

I am planning on taking a class in Python. My choices are 2.5 or 3.0. Which version should I choose? I am getting the impression they are two separate paths. thanks. (5 Replies)
Discussion started by: djehresmann
5 Replies

12. 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

13. 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

14. OS X (Apple)

Text mode AF spectrum analyser.

Well guys, this MUST be a first. This is DEMO code only and has NO error detection or correction, nor out of bounds checking. I have succumbed to Python and scipy to do the FFT heavy lifting as I have absolutely no idea where to start do such a thing using AWK. This is a taster for me to... (7 Replies)
Discussion started by: wisecracker
7 Replies

15. Programming

To Perl or not to Perl, that is the question... ;o)

I bow here to experts who use both Python and Perl. I am au fait with Python and have done loads with it, especially writing code that works from Version 1.4.0 to 3.7.0 on varying platforms, some of it on here... Well, I have been contemplating learning Perl. I see many experts on here who... (14 Replies)
Discussion started by: wisecracker
14 Replies