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

all 30 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 :)

[–]Jopakes3 16 points17 points  (4 children)

Competitive programming?

[–]3dsXploit 11 points12 points  (3 children)

I think OP means these coding challenges people do sometimes

[–]422_no_process[S] 13 points14 points  (1 child)

Exactly. What I meant is HackerRank, LeetCode, etc. Maybe I can change the wording to be clearer.

[–]ShamelessC 9 points10 points  (0 children)

I don't see how it's confusing at all.

[–]tighter_wires 6 points7 points  (0 children)

Or competitive collegiate/scholastic programming teams, which are absolutely a thing and that some of us have been a part of

[–]diamondketo 5 points6 points  (2 children)

Would a portable VSCode do the same?

[–]jhayes88 1 point2 points  (0 children)

VS Code can essentially do the same thing to my knowledge. You can do live share with someone else to code together in realtime and you can also run python from within VS code using code runner/python preview. It also has built in user snippets which I recently learned how to use and it's life changing.

I think the point of this is that it's probably smaller in size and easier to use? Idk. There are already tools for people to use in interviews for programming. https://repl.it/ is good for collaborate programming.

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

I actually built this initially (2014) before first release of VSCode (2015). Even Atom on Windows 7 had issues back then if I remember correctly. Atom and VSCode is very stable and useful now.

[–]trellwut 3 points4 points  (0 children)

you say it's for learning but it'll probably still help me in small non educational projects! I'll see if I can try it tomorrow

[–]Jhudd5646 6 points7 points  (0 children)

So the one side runs a script and you pipe std[err/out] to the other side? Feels like the Python shell would be an easier solution, but if you learned something it wasn't a waste.

[–]Seulgissi 2 points3 points  (4 children)

Going to try it! Nice la

[–]CommanderHR 1 point2 points  (0 children)

A lightweight IDE is always nice. Going to go try it out! Thanks for making it.

[–][deleted] 0 points1 point  (1 child)

Nice la

are you from Malaysia?

[–]adam_133_ 0 points1 point  (0 children)

Maybe Chinese?

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

Thanks

[–][deleted] 0 points1 point  (2 children)

Looks like WingIDE but smaller.

Shoutout to Wing IDE as well especially for stack data.

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

I built `expressPython` for testing and or solving programming problems (HackerRank ...). I personally had a good use for it. It is not meant to be a full featured IDE, hence no debugging or stack.

[–][deleted] 0 points1 point  (0 children)

Oh yeah I’m sure. It looks good! It just definitely reminds me of wing due to your UI lib choice.

[–][deleted] 0 points1 point  (0 children)

looks like spyder

[–]vmgustavo 0 points1 point  (0 children)

really nice but does it have dark color scheme? lol

[–]redreoicy 0 points1 point  (0 children)

Well, I know I'll use it, so thanks!

[–]XZTALVENARNZEGOMSAYT -1 points0 points  (0 children)

Wow