Questions tagged [rpython]

RPython (Restricted Python) is a restricted subset of the Python programming language

RPython (Restricted Python) is a restricted subset of the programming language used to write the PyPy Python interpreter. Unlike standard Python, RPython is statically typed, to allow efficient compilation.

More information about RPython can be found in the Pypy coding guide, especially regarding the restrictions when using RPython compared to Python.

63 questions
0
votes
1 answer

R read string too long

Hi I have a string generated by Python and I need to read into R to analyze it. The only difference between the two strings below is the length(number of elements inside list). And R cannot read the longer one successfully. textWork <-…
B.Mr.W.
  • 18,910
  • 35
  • 114
  • 178
0
votes
0 answers

How to link translated pypy/rpython to external jvm libraries?

I am trying to compile RPython code to JVM using pypy's translator toolchain. However, there are many CPython libraries that are not supported, like urllib.urlopen() fails to translate to jvm. Is it possible for me to have the jvm translation…
user1678406
  • 1,715
  • 2
  • 11
  • 11
-1
votes
1 answer

Delete strings (support regex) stored in list from a text file

I'm trying to store a set of strings in a form of a list with the capability of supporting regular expressions and delete those strings from a file. For example: list = ['enabled','vs-index \d+'] where 'vs-index \d' is expressed as an regex. (it…
1 2 3 4
5