« first day (688 days earlier)      last day (1806 days later) » 

12:27 AM
@cairdcoinheringaahing Pulled.
 
 
1 hour later…
1:50 AM
@Dennis Thanks!
 
 
13 hours later…
3:13 PM
@Dennis Please pull Physica when you get the chance.
 
@Mr.Xcoder That broke it.
Traceback (most recent call last):
  File "/opt/physica/src/Executor.py", line 6, in <module>
    exec("from Functions import *\n\n" + parsed_code)
  File "<string>", line 1, in <module>
  File "/opt/physica/src/Functions.py", line 1, in <module>
    from Transpiler import *
ModuleNotFoundError: No module named 'Transpiler'
 
@Dennis Fixed
 
@Mr.Xcoder Pulled.
 
Thanks!
 
 
5 hours later…
8:51 PM
@Dennis Can you pip install pexpect?
It might work in the sandbox.
 
@Pavel It doesn't, for the same reason expect doesn't work.
 
Oh well.
@Dennis Actually, pexpect.popen_spawn.PopenSpawn might work.
That's what I've been using
(Since it's cross-platform)
 
pexpect.popen_spawn doesn't exist.
 
Really?
 
Different import...
 
9:04 PM
Right, from pexpect import popen_spawn
 
Or import pexpect.popen_spawn to use your syntax.
 
Python module imports are like black magic to me
 
How do you use it?
 
proc = popen_spawn.PopenSpawn("echo hi")
proc.expect(pexpect.EOF)
print(proc.before) # Should print hi
 
9:09 PM
Yay!
popen_spawn uses standard pipes instead of ptys. Handy.
 

« first day (688 days earlier)      last day (1806 days later) »