![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2008
Posts: 2
Rep Power: 0
![]() |
How is Ruby with file handling
I am looking to progress my programming knowledge out of the dark ages and into something more modern (and to higher levels) but I am unsure which method of scripting to choose. Having heard things regarding Ruby I was wondering if someone could advise if things are possible. I have learnt java but mostly been creating routines for the Windows command prompt due to knowing tasks are possible. I figured a good way to start a new lanuage is to attempt what know from another language/script.
I am aiming for a script to be ran locally on other stations (without having to install web servers) that can look, delete and copy files but also start an application (with parameters). A bonus is being able to create encrypted zip files. PHP has exec() but seems to require a web server. Java (at my last look) was not able to run a local executable file with parameters (and took ages to start). Am I on the verge of joining the Ruby bandwagon or just wishfully thinking on inflated expectations. Alternately if you know of a different tree sniff then please comment. Thanks in advanced |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Jun 2007
Posts: 79
Rep Power: 1
![]() |
Re: How is Ruby with file handling
I would suggest looking into python, there are heaps of modules already out there - so stuff like managing zip files and files in general shouldn't be too much of a problem
|
|
|
|
|
|
#3 |
|
Expert Programmer
|
Re: How is Ruby with file handling
You might want to consider Python. It is very similar to Ruby but has a much larger user base which will make it easier to get help.
EDIT: MiKuS beat me to it. Last edited by titaniumdecoy; Feb 5th, 2008 at 4:17 PM. |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Feb 2008
Posts: 2
Rep Power: 0
![]() |
Re: How is Ruby with file handling
It didn't matter who replied first, just that the reply being friendly and helpful.
Thanks both and I shall look into it. I'll save Ruby for later. |
|
|
|
![]() |
| 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 |
| problem processing file into a char array | csrocker101 | C++ | 1 | May 8th, 2007 11:50 PM |
| PHP File Handling - File handling in PHP | smita | PHP | 0 | Mar 15th, 2007 7:39 AM |
| After execution - Error cannot locate /Skin File? | wchar | Visual Basic | 1 | Mar 5th, 2005 9:04 PM |
| airport Log program using 3D linked List : problem reading from file | gemini_shooter | C++ | 0 | Mar 2nd, 2005 4:12 PM |
| Structure char field to a disk file | ehab_aziz2001 | C++ | 0 | Feb 10th, 2005 2:42 PM |