AlexECX

Results 12 comments of AlexECX

Funny, I was reminded of it while working on #630 as it was messing with my tests. I've been working with this in the meantime: boost_transcript.js ``` export var getattr...

Transcrypt doesn't support 3rd party packages and only part of the standard library modules. Generaly, compatibility goes like this (best to worst): - Syntax and built-ins works (there are some...

> because it depends on the _locale_ module which needs `itertools.chain()`. An `itertools` transcrypt module that includes `.chain()` has been made, so that shouldn't be the issue. What I see...

All of the following work: ``` # python a = dict(a=1, b=2) b = dict(a, b=2) c = dict(a, **{"b": 2}) ``` ``` // js output // import {...} var...

So I created `app.py` which will be my entry point and a `lib1` folder containing` code1.py` and `code2.py`. ``` app.py lib1/ -- __init__.py -- code1.py -- code2.py ``` in code1.py:...

To answer @warrenchopin's question, you could play around with the `-xp` argument. With the current example, I was able to compile using `transcrypt -xp ./lib1 app`. If you want to...

@Zireael07 It is not possible to import built-in modules that have not been adapted for transcrypt. The transpiler will actually not search in python's built-in modules folder, so it cannot...

I doubt cachetools would work with transcrypt. Using built-in modules or 3rd party packages not built with transcrypt in mind is risky because there is a high chance that they...

@JitterDev You don't have to put your file anywhere specific, just give the path of your experiment1.py file to transcrypt and it will start building in that same location. The...

it's not too much of a problem when you want to paste over the cell, but when you need to add a block of the same text to 20 cells...