pybites / challenges

PyBites Code Challenges
https://codechalleng.es/challenges/
692 stars 2.29k forks source link

Using python to implement standard UNIX command line tools like cp, cat, ls etc #139

Open mridubhatnagar opened 7 years ago

mridubhatnagar commented 7 years ago

Your own terminal in Python

bbelderbos commented 7 years ago

that's cool

ErikOShaughnessy commented 6 years ago

I really like the idea of this challenge since it takes some of the "mystery" out of the UNIX toolbox when you know how the tools work. I also think it's a good way to promote/introduce the UNIX philosophy in a sort of low key way.

pybites commented 6 years ago

That is cool! We had some Bites on individual commands like: simulate a tail or complete this program to work like wc. Any other commands we can do? I think they fit well in Bites. Or was this to make a argparse interface to fire them off based on the command you give it?

JnyJny commented 6 years ago

I'd start with the UNIX basics (in no real order):

mridubhatnagar commented 6 years ago

@pybites I don't remember weather that time I thought of argparse or not. Intent was if we can build a shell using Python.

mridubhatnagar commented 5 years ago

@bbelderbos how about this one for January? Needs brainstorming though.

pybites commented 5 years ago

Sounds fun, thanks

pybites commented 5 years ago

https://sj14.gitlab.io/post/2018-07-01-go-unix-shell/

cw-sanikachavan commented 4 years ago

Hello, I would like to give this a shot! Will be starting with some of the basic commands like, cp,cd,ls,cat,clear,rm,rmdir,mkdir, etc. Although not limiting to these alone!

bbelderbos commented 4 years ago

Thanks @sanikachavan so this would be to deliver a code challenge for us: write up, template code, solution code and if possible some tests to verify user's solution. Can you do that?