Call a function in a shared library: Difference between revisions
Content added Content deleted
m (→{{header|C}}: fixed a type) |
(→{{header|C}}: Python) |
||
Line 63:
<pre>internal openimage opens fake.img...
opened with handle 0</pre>
=={{header|Python}}==
The import statement can be done in a try/except block
<lang python>try:
import psyco
psyco.full()
print "# With psyco JIT compiler"
except:
print "# Without psyco JIT compiler"
# Rest of program</lang>
|