Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I love it!π
This is a prime example of man and machine working together to serve a higher purpose! -
messhias3557y@alcatraz627 π for sure is the best languages of programming is have been created.
You have some git repo studies or projects open to us?
I have one for studies and if when i have some time i update it if someone want grab, share knowledge. -
@messhias man I was kiddingπ. I thought you were being sarcastic. It's written right there on the console that it's java.
Btw yes, Python indeed is gold, but no, I've not done enough of it to actually have a git repo. I'm very much a learner as well. -
messhias3557y@alcatraz627 ah kkkkk but if you want i can share my python repo with you if you want study
-
josh12382037yI have a tool I wrote for work in Python and was able to keep the very first versions at 420 lines. Made me sad when I added the very next feature :(
-
josh12382037y@messhias I can't publish the code itself anywhere (technically that's company property) but I can tell you it's a shell the user is given when they log into a specific machine with built-in commands for performing the tasks for the job. We don't want to give a full shell like bash to these users so this gives them extremely restricted access. Basically it's a giant try/catch inside a while True: loop, with EOFError (user hitting ^d) causing the loop to break and KeyboardInterrupt (user hitting ^c) causing a new iteration of the loop (a new prompt). Everything else it does is specific to the job so I'll stop myself here
-
josh12382037yOh something I do want to share that's included. I try to make my python programs interoperable between v 2.x and 3.x, so I have this at the beginning:
try:
input = raw_input
except NameError:
pass
And then you can use input() without needing v. 3.x for it to run correctly -
messhias3557y@josh1238 i dont know if could help you, but here in my repository there's a lot examples with python (console), https://github.com/Messhias/...
I hope it may could help you.
Related Rants
System.io.weed
undefined
420
java