Changes between Version 100 and Version 101 of RepyTutorial

Changes between Version 100 and Version 101 of RepyTutorial

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 100 and Version 101 of RepyTutorial

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 100 and Version 101 of RepyTutorial

Show
Ignore:
Timestamp:
11/09/12 08:10:48 (7 years ago)
Author:
justinc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RepyTutorial

    v100 v101  
    5959python repy.py "C:\seattle\examples\restrictions.test" "C:\seattle\examples\example.1.1.repy" 
    6060}}} 
     61 
     62 
     63 
     64===== Interactive Testing ===== 
     65To use repy functions from an interactive python interpreter, you can open Python and map the symbols from repyportability into your namespace.   For example, to get a randomfloat through repy, do: 
     66 
     67{{{ 
     68Justin-Capposs-MacBook-Pro:test2 justincappos$ python 
     69Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)  
     70[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin 
     71Type "help", "copyright", "credits" or "license" for more information. 
     72>>> from repyportability import * 
     73>>> randomfloat() 
     740.18776749685771188 
     75}}} 
     76 
     77Note that this will not provide the security and performance isolation from Repy.   As a result, you can also do things that are not allowed in Repy. 
     78 
     79 
    6180 
    6281===== Basic Instructions =====