![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
|
What programming language is best for file manipulation?
I need a programming language with which to create programs that do the following things:
1 Easily manipulate files and folders on the hard drive (move them...easily change their properties, rename them... delete them...copy them... reorganize them... access the date modified/permissions information...) 2 Be able to easily search the computer for files...and take the search results and reorganize them. 3 Preferrably at a level of direct interaction with the harddrive... 4 Maybe a scripting language? I dunno However it would also help that it may be complex enough that I can implement some kind of GUI as well.. Let me know of any programming languages that satisfy these conditions!! I am working with Java right now, which is one of the only languages I know...but I really dislike the indirect way Java handles files ("with abstract File objects"), I prefer something more direct...like having a direct link to the files rather than through an intermediate File object. Anyhow...help would be very much appreciated. Nitau |
|
|
|
|
|
#2 |
|
Newbie
|
Re: What programming language is best for file manipulation?
Also...if there is a way to use several languages in conjunction with each other, let me know if that is possible as well.
|
|
|
|
|
|
#3 |
|
Programmer
Join Date: Nov 2008
Posts: 44
Rep Power: 0
![]() |
Re: What programming language is best for file manipulation?
Perl is adequate for what you describe.
|
|
|
|
|
|
#4 |
|
PFO God In Training
![]() ![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 1,795
Rep Power: 7
![]() |
Re: What programming language is best for file manipulation?
1) C and C++ would be equally capable of fulfilling those requirements. C# may to able too, I don't know.
>>Also...if there is a way to use several languages in conjunction with each other, let me know if that is possible as well Microsoft .NET Managed programs can mix and match C++, C# and VB. There are also "mixed language" programming, where libraries are compiled with one language and called from other languages -- the win32 api is a good example of that. |
|
|
|
|
|
#5 |
|
Newbie
|
Re: What programming language is best for file manipulation?
Thanks, guys.
|
|
|
|
|
|
#6 |
|
Expert Programmer
|
Re: What programming language is best for file manipulation?
Python, makes it really rather simple to do this sort of thing and with tkinter or another GUI library such as wxPython or Iron Python, then it is also not too difficult to create a GUI.
Only thing is you may find Python to be a little be slow for something like this, so it depends on just how fast you need to do things. It will only be fractionally slow. But it will be noticable for instance if you are seraching the entire computer for files. Chris
__________________
Steven Skiena - Algorithms ,[->+>+<<]>>[-<<+>>]>++++++++[-<++++++++>]<+[-<->]>+<<[[-]+++++++++++++++.[-]>]>>[+++++++++.[-]],brainf**k -- It's such a pretty language |
|
|
|
|
|
#7 |
|
Programmer
Join Date: Dec 2007
Posts: 41
Rep Power: 0
![]() |
Re: What programming language is best for file manipulation?
Everyone knows that COBOL is the best for file manipulation
![]() |
|
|
|
|
|
#8 |
|
C/C++ Developer
Join Date: Sep 2008
Location: Florida, USA
Posts: 130
Rep Power: 2
![]() |
Re: What programming language is best for file manipulation?
LMAO
![]() I actually use Python for things like this, and it is more than adequate. I know Chris mentioned a speed issue, but I have not encountered any real difference in reading a directory of 2500 files using Python compared to reading the same directory using, say, C#. That really is OS- and filesystem-dependent. One of the main reasons why I use Python to work with large directory trees containing a multitude of files is that Python has a simple way to traverse the directory hierarchies: os.path.walk (or os.walk if you prefer to not use a callback). That one function makes directory walking so much easier and allows you to do some pretty sophisticated processing of bulk quantities of files.
__________________
-- William |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating a new programming language | uperkurk | C++ | 11 | Mar 21st, 2010 4:29 AM |
| The C programming Language (2nd Edition) | nnxion | Book Reviews | 13 | Oct 21st, 2009 3:50 AM |
| The D programming language | Baphomet | Other Programming Languages | 58 | Sep 11th, 2007 1:31 AM |
| Which Programming Language You Use The Most? | Soulstorm | Coder's Corner Lounge | 19 | Apr 6th, 2007 10:29 PM |
| Which Programming Language for Beginner ? | nkanthikiran | Other Programming Languages | 18 | Jan 21st, 2006 5:53 PM |