No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, I'm trying to copy a file in python, I have imported the shutil module My problem is that I want to copy file in a directory beginning with a certain name. Example I have 5 file in the fodler but i want to copy all the one tat begin … |
|
hey guys im trying to express this in python, for i in $(ls [B]lsb[/B]/desktop); do tjreport [B]lsb[/B]/desktop/$i/journal* > [B]lsb[/B]/desktop/$i/${i}fail; tjreport -d [B]lsb[/B]/desktop/$i/journal* > [B]lsb[/B]/desktop/$i/${i}all; done its shell commands but i dont know how to do this in python could u guys help please thx |
|
Hi, I need to grab a specific information in the /proc/cpuinfo (MODEL NAME) and print it on the screen in python. How do I do that. Thx for helping this newbie |