Search results

  1. A

    Вывод в консоль

    Если что, у функции print() есть [недокументированный] аргумент flush: print(i, flush' 1B) А ещё можно сделать так: :stdout.flush()
  2. A

    Вывод в консоль

    А какая у вас операционная система? Не Windows? У меня выводит цифры по одной. Можете закомментировать строку std::ios_base::sync_with_stdio(false); в файле 11l.hpp [в подкаталоге _11l_to_cpp] и сообщить результат? Такой вопрос нужно как минимум выносить на голосование. И решение принимать на...
  3. A

    Запуск 11L

    Не уверен, что это [использовать Qt] возможно в рамках текущей реализации в виде транспайлера. Скорее всего, тут нужен полноценный компилятор 11l.
  4. A

    Запуск 11L

    В каком редакторе/IDE? В Sublime Text. Достаточно установить Build Tools for Visual Studio.
  5. A

    Запуск 11L

    Модуль socket на данный момент не поддерживается.
  6. A

    Запуск 11L

    Приведу цитату из видео презентации ‘Разработка Drakon IDE’, которое, к сожалению, больше не доступно: И мне, как программисту, проще мыслить именно конструкциями кода (операторы/выражения, функции, классы/типы), а не блок-схемами. Похожий вопрос уже поднимался тут: Почему не использовать...
  7. A

    Запуск 11L

    А можете показать каталог, куда вы распаковали архив? В нём есть подкаталог _11l_to_cpp? Ещё можно попробовать такие команды: cd <путь_до_каталога_с_распакованным_архивом_11l.tar.xz> 11l.cmd your_python_program.py
  8. A

    Запуск 11L

    Вам необходимо запустить cmd.exe (Win + R, затем набрать cmd и нажать Enter). И в нём выполнить команду: <путь_до_каталога_с_распакованным_архивом_11l.tar.xz>\11l.cmd your_python_program.py (Править файл 11l.cmd не нужно. А я так понимаю, вы добавили в него команду pause.) В данный момент нет.
  9. A

    Запуск 11L

    На главной странице есть блок ‘Скачать’. Там перечислены шаги, необходимые для компиляции вашей программы на Python или на 11l в исполняемый файл. На каком шаге у вас возникла проблема? На данный момент среды разработки с подсветкой синтаксиса нет. Можете дать ссылку на ваш Python-проект если...
  10. A

    How to transpile my monkeycoder.

    Sorry, but your project uses a lot of modules, which are not supported by the Python → 11l → C++ transpiler (getopt, json, logging, multiprocessing, pickle, queue).
  11. A

    Notable competitive programming problems

    This thread is intended to list competitive programming problems, which can not be solved with Python (CPython and PyPy) because of exceeding time/memory limit, but can be solved with the Python → 11l → C++ transpiler.
  12. A

    How to pronounce '11|'?

    IIl denotes another thing: Intelligent Infinity language.
  13. A

    How to pronounce '11|'?

    I don't find it very interesting to use a font for a logo in which the typeface of the number ‘1’ and the lowercase letter ‘el’ are noticeably different. Because, after all, this is true for the vast majority of fonts. So I intentionally chose a font in which these characters are not just very...
  14. A

    How to pronounce '11|'?

    How did you know about 11l? 11l is pronounced "elevenel". Also please read this page to understand why this language is so named.
  15. A

    Big picture

    No, currently there is no way to link with C libraries. First of all, you should answer the following questions: Why you need your Python code be compiled with the Python → 11l → C++ transpiler? Does it have performance issues? Have you tried PyPy for better performance? Big picture behind 11l...
  16. A

    Big picture

    As I said earlier: So, can you provide your whole source code, which depends on csv library?
  17. A

    Simple python script not resulting in correct result

    Currently, types of class's member variables must be specified inside class definition (not inside __init__!), i.e.: class Test: number : int def __init__(self, number: int): self.number = number ...
  18. A

    Main differences

    The random.randrange(a, b) function, which returns a random number n in the range a <= n < b, and the random.randint(a, b) function, which returns a number in the range a <= n <= b, have been combined into a single function which takes one argument of type "range" (in 11l the range for a <= n <=...
  19. A

    F-string support

    So, I decided to proceed the second way if possible {because it is possible in many cases, including your code}, and proceed the third way otherwise.
  20. A

    My thoughts on UFCS

    "Explicit is better than implicit." ( : The Zen of Python : )
Top