Python Forum
anyone interested in a project of making python versions of various POSIX commands
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
anyone interested in a project of making python versions of various POSIX commands
#1
anyone interested in a project of making python versions of various POSIX commands like cat, cp, diff, grep, head, ln, ls, mv, rm, tail, and wc?  maybe subsets (not implement all options)?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
Just for fun or for some other reason?
Reply
#3
(Oct-16-2016, 06:47 AM)Skaperen Wrote: anyone interested in a project of making python versions of various POSIX commands like cat, cp, diff, grep, head, ln, ls, mv, rm, tail, and wc?  maybe subsets (not implement all options)?
You can look a Generator Tricks for Systems Programmers

The reason why he did is a really good story.
It invoke a trail case and and a vault where he had to look at and understand 1-million lines of assembly/C/C++ code.
The only tool he had in vault was Windows XP and the search mud :sick:
So he had to reinvent Linux tool with Python to figure out the code,because he could not run the code.
David Beazley: Discovering Python
Reply
#4
I watched this. Amazing talk. Installation on any tools or programs was not permitted and lucky for him there was installed Python on this XP :)
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#5
David's been around the block his website:

http://www.dabeaz.com/

has links to all of his PyCon  talks, slides, etc.

One particularly interesting and fun project he does is a live Chicago Transit Authority, current data on every bus
location in the video on coroutines.
Reply
#6
(Oct-16-2016, 10:11 PM)Larz60+ Wrote: One particularly interesting and fun project he does is a live Chicago Transit Authority, current data on every bus
location in the video on coroutines.
The story for the lost luggage? :)
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#7
(Oct-16-2016, 05:06 PM)micseydel Wrote: Just for fun or for some other reason?

for any reason you want
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#8
Task like these can be good to do if want practice with Click.
Click is bye far the best command line parser for Python now.
Reply
#9
Wavic - Yes the lost luggage
But he shows how to use this service provided by the transit authority
I did a bit of research after watching the video, and it turns almost all cities have
this sort of service.

I still operate on a blackberry phone (hate phones), so not savvy on what's available, but someone must
have already created an app using this.
Reply
#10
(Oct-17-2016, 03:23 AM)snippsat Wrote: Task like these can be good to do if want practice with Click.
Click is bye far the best command line parser for Python now.

this kind of project can very likely benefit from Click, given the large set of options many of these commands have.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Programmers interested in securities trading? Mark17 1 3,967 Aug-28-2020, 05:28 AM
Last Post: MysticLord
  the posix "cut" command Skaperen 0 1,799 Oct-28-2018, 08:29 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020