Forum: Python Aug 18th, 2008 |
| Replies: 8 Views: 1,176 Thanks to all of you.. I just need it... thanks again :) |
Forum: Python Aug 16th, 2008 |
| Replies: 8 Views: 1,176 Yes.. You are right again...
Thanks a lot... |
Forum: Python Aug 16th, 2008 |
| Replies: 8 Views: 1,176 Thanks it works.. but I want the number... not the file list |
Forum: Python Aug 16th, 2008 |
| Replies: 8 Views: 1,176 Hi
I just want to count files of particular type (like *.txt) in a folder.
I searched net and found this for all files count :
file_count = len(os.walk(valid_path).next()[2])
But I need... |
Forum: Python Jul 25th, 2008 |
| Replies: 7 Views: 687 Thanks a lot... It is working prefectly.. Thank you |
Forum: Python Jul 25th, 2008 |
| Replies: 7 Views: 687 Sorry now it works perfectly.. I done a mistake.. used tab on 4,8 and 10 line. Used space. and problem solved. Thanks once again. |
Forum: Python Jul 25th, 2008 |
| Replies: 7 Views: 687 Thanks Again.... It works without error.. but the file cannot copy. I am on linux system, It works without error
here is the code : |
Forum: Python Jul 25th, 2008 |
| Replies: 7 Views: 687 Thanks for reply. I don't know the how to notify this script the input file.. mean I don't know the replacement for <file_to_copy> , that's why I confused.
Please provide what to replace with... |
Forum: Python Jul 25th, 2008 |
| Replies: 7 Views: 687 Hello
I am fresh newbie in Python world. I need a python code that just copy my input file with a different name. I just want to test it.
Example.
A simple scipt file : copyfile.py
when I do a... |