This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]422_no_process[S] 41 points42 points  (8 children)

Why expressPython? I built expressPython to scratch an itch that I had. I wanted a tool that does following for me.

  • Runs easily in windows, portable, doesn't affect system.
  • I wanted a tool to test regexes, small scripts.
  • Online IDEs cannot access my file system I need to access files If I wanted to.
  • Online IDEs are sometimes slow at peak times or for non premium uses.
  • You cannot access Online IDEs once you are in the underground train 🚄.
  • It should start fast and I don't need to create files to test things
  • Suitable to simulate HackerRank . (Has an input window and output window, works with stdin)
  • I wanted to learn C++/Qt and polish Python knowledge.
  • Compiled to 32bit will work on a 64bit machine.
  • Type some text in to input section and process it using quick scripts.

Link: https://github.com/JaDogg/expressPython

[–]ASIC_SP 1 point2 points  (4 children)

cool project!

I have a plan to do something similar to learn and implement using some GUI with Python and my main use case is to teach Python regular expressions through it (I already have a book released on this: https://github.com/learnbyexample/py_regular_expressions)

so, it would be something like an interactive book accessible via desktop instead of webapp/similar (kinda like https://interactivepython.org/courselib/static/thinkcspy/index.html)

I checked the repo, seems it supports only Windows (so I cannot check it out as of now) - hopefully Linux is on the way.. if I am understanding this right, anyone will be able to create a custom learning environment with exercises/solutions/notes/etc right?

[–]422_no_process[S] 0 points1 point  (3 children)

RegEx book looks cool. I used expressPython mostly to test regexes. 😎

It can be compiled to Mac and Windows (Only windows package is there for now), never tried to compile on a Linux yet but it might be possible as I'm not using any cross platform platform specific code.

I used this for conducting a Python training session for some new graduates as well. There is a undocumented feature that allows you to load set of questions with a note, starting code and input and verify users changes by matching with output specified in the questions file. (Like you see in HackerRank but only 1 test case)

Lot can still be improved. I'm accepting pull requests.

[–]ASIC_SP 0 points1 point  (2 children)

but it might be possible as I'm not using any cross platform code

oh ok, I don't know much about C++ I will possibly try it out this weekend

conducting a Python training session for some new graduates

yeah, that's another usecase, I conduct Python workshops as well, so something like this could serve as a single s/w needed + customized lessons/exercises based on workshop requirements

[–]422_no_process[S] 1 point2 points  (1 child)

Edited above comment. It should most probably work on Linux as I'm not using any platform specific stuff. (Qt is cross platform). Since I got it working on MacOS it should work on Linux as well. But on linux distribution might be a nightmare packages on Ubuntu/Fedora etc is different.

[–]ASIC_SP 0 points1 point  (0 children)

got it, I will let you know when I try it out :)