[fsug-tvm] Re: Simple Scripts in python

2009-10-26 Thread Syam Krishnan

On 10/26/2009 12:10 PM, Aneesh A wrote:
>
>
>
> You need not feel sorry for publishing those scripts. I'm sure it will
> be useful to some one and you should be proud that you have shared
> your acquired knowledge. 
>
>
> I have shared with that intention.
And this also allows you to gather more knowledge since people reading 
the source can suggest improvements or alternatives..
Keep up the good work.

regs,

Syam

--~--~-~--~~~---~--~~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~--~~~~--~~--~--~---



[fsug-tvm] Re: Simple Scripts in python

2009-10-25 Thread Aneesh A
>
>
>
> You need not feel sorry for publishing those scripts. I'm sure it will
> be useful to some one and you should be proud that you have shared
> your acquired knowledge.


I have shared with that intention.


> I would suggest that you publish those
> scripts in a public location with amble documentation.


I am planning to get a domain name and hosting, I will do after my exams.

>
>
-- 
+91 903 755 72 73

For all hardware and software services, Computer assembling, Software
Installation etc.
My blog : http://xtenders.blogspot.com/

--~--~-~--~~~---~--~~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~--~~~~--~~--~--~---



[fsug-tvm] Re: Simple Scripts in python

2009-10-25 Thread Manilal K M

2009/10/26 Aneesh A :
> Sorry for publishing the script.
> I have learned that I should never publish any script that has done for pure
> personal intention.
> I will publish only if it is new, in concept.

You need not feel sorry for publishing those scripts. I'm sure it will
be useful to some one and you should be proud that you have shared
your acquired knowledge. I would suggest that you publish those
scripts in a public location with amble documentation. Remember, not
all the software/tools available in FOSS are NEW and UNIQUE.

regards
-- 
Manilal K M : മണിലാല്‍ കെ എം.
http://libregeek.blogspot.com

--~--~-~--~~~---~--~~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~--~~~~--~~--~--~---



[fsug-tvm] Re: Simple Scripts in python

2009-10-25 Thread Aneesh A
Sorry for publishing the script.

I have learned that I should never publish any script that has done for pure
personal intention.

I will publish only if it is new, in concept.


-- 
+91 903 755 72 73

For all hardware and software services, Computer assembling, Software
Installation etc.
My blog : http://xtenders.blogspot.com/

--~--~-~--~~~---~--~~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~--~~~~--~~--~--~---



[fsug-tvm] Re: Simple Scripts in python

2009-10-25 Thread Shino Jacob


Making a comment like what you did above is really silly and
you might look better if you didnt make them

I dont think thats a silly comment. I said, what I felt right and I am
still feeling its right.
We dont have to reinvent wheel, thats what I said,
If you are writing some thing new, thats useful, good. I dont mind
some one learning something, its always good.
Always recommend some thing thats useful.

--~--~-~--~~~---~--~~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~--~~~~--~~--~--~---



[fsug-tvm] Re: Simple Scripts in python

2009-10-23 Thread ashik salahudeen

I have found it easier to write python scripts instead of bash
scripts. IMO when you are on a fullblown desktop OS which has python
then there is no need to stick to bash for your scripting needs.

@Aneesh : you could checkout the service menus in KDE as well GNOME
and maybe write something useful. (
http://developer.kde.org/documentation/tutorials/dot/servicemenus.html
is a good description of a service menu )

--~--~-~--~~~---~--~~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~--~~~~--~~--~--~---



[fsug-tvm] Re: Simple Scripts in python

2009-10-22 Thread Rajeev J Sebastian

On Sun, Oct 18, 2009 at 10:31 PM, Shino Jacob  wrote:
>
> 1)executing a comand  after some time use "at" command  or even cron.
> 2) for bulk renaming can be achived thru some simple shell scripting.
>
> Usage of a language just to execute OS commands doesnt sound so good.
> There are so many ways to do this.

BASH is also one of the many "language just to execute OS commands" or
to be more specific, its a shell (like python interactive shell) which
loads executables and passes arguments to them (like Python subprocess
module). Making a comment like what you did above is really silly and
you might look better if you didnt make them. I do commend the OP who
took the time to learn python.

Regards
Rajeev J Sebastian

--~--~-~--~~~---~--~~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~--~~~~--~~--~--~---



[fsug-tvm] Re: Simple Scripts in python

2009-10-21 Thread Shino Jacob

Yes I am ignoring this because its of no use to me, and I believe most
users here.
Bring in some thing really  useful.
Initiallay I thought of deleting this chain, but then some one pointed
out  why this tool. Then I realised there are people who  feel  what I
felt.
There is already rename command available which can be used for bulk renaming.
Unix has lot of tools which do a lot of things. Just search and you
will find the tools.
You should embark on a mission to write a  tool only if you dont find
one, other wise you will be reinventing the wheel over and again.

You can take this note or leave it.

--~--~-~--~~~---~--~~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~--~~~~--~~--~--~---



[fsug-tvm] Re: Simple Scripts in python

2009-10-20 Thread Aneesh A
>
>
> Usage of a language just to execute OS commands doesnt sound so good.
> There are so many ways to do this.
>
> As I said already, I have only personal intention behind this work. I have
published it not to make it closed. some other may benefit from it.

If you don't want, just ignore. thanks for "at" command.

2) for bulk renaming can be achived thru some simple shell scripting.

That is what i have done..

-- 
+91 903 755 72 73

For all hardware and software services, Computer assembling, Software
Installation etc.
My blog : http://xtenders.blogspot.com/

--~--~-~--~~~---~--~~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~--~~~~--~~--~--~---



[fsug-tvm] Re: Simple Scripts in python

2009-10-18 Thread Shino Jacob

1)executing a comand  after some time use "at" command  or even cron.
2) for bulk renaming can be achived thru some simple shell scripting.

Usage of a language just to execute OS commands doesnt sound so good.
There are so many ways to do this.

--~--~-~--~~~---~--~~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~--~~~~--~~--~--~---



[fsug-tvm] Re: Simple Scripts in python

2009-10-18 Thread Aneesh A
I wrote these scripts simply for my personal use.

Shutdown.py

  I like to hear songs in night, just before sleep. and I mostly forget to
turn off the system. This script solves that. I have modified that. I will
put that tomorrow.

rename.py
  I want to make a rename program like in XP, which has bulk renaming
facility.
But that script has some bugs... It deleted some files ... So b cautios when
executing it.

Also, I am just learning python. I like to write more scripts, If you
provide me necessary ideas.

>From shino jacob:

I was having tough time simulating toggle "Show/Hide desktop " using
 +D, in ubuntu(which I did eventually using some shell
scripting).We  can develop similar tools which enable usability or
tools which help users do things(an extra menu for gnome for showing
recent commands used, like in KDE or Windows XP).

I can try that. but could anyone tell me how to make it possible..??
-- 
+91 903 755 72 73

For all hardware and software services, Computer assembling, Software
Installation etc.
My blog : http://xtenders.blogspot.com/

--~--~-~--~~~---~--~~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~--~~~~--~~--~--~---



[fsug-tvm] Re: Simple Scripts in python

2009-10-16 Thread Shino Jacob


Any particular reason for writing a program for this? The shutdown
command itself does the job. So why do you want to write a program for
that


Its good way to start off with python learning, But as Mr. Sasikumar
said, we should publish some thing thats really useful.
Shutdown command is already available and bulk renaming is possible
with simple shell scripting .


I was having tough time simulating toggle "Show/Hide desktop " using
 +D, in ubuntu(which I did eventually using some shell
scripting).We  can develop similar tools which enable usability or
tools which help users do things(an extra menu for gnome for showing
recent commands used, like in KDE or Windows XP).

On Fri, Oct 16, 2009 at 10:34 PM, V. Sasi Kumar  wrote:
>
> On Fri, 2009-10-16 at 12:11 -0400, Aneesh A wrote:
>>
>> Smart rename bulk renames the file. Look at doc.
>>
>> Shut-down shut-downs the system after a specified time.
>
> Any particular reason for writing a program for this? The shutdown
> command itself does the job. So why do you want to write a program for
> that?
>
> Best
> --
> V. Sasi Kumar
> http://swatantryam.blogspot.com
>
>
> >
>



-- 
Miles to go before I Sleep

--~--~-~--~~~---~--~~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~--~~~~--~~--~--~---



[fsug-tvm] Re: Simple Scripts in python

2009-10-16 Thread V. Sasi Kumar

On Fri, 2009-10-16 at 12:11 -0400, Aneesh A wrote:
> 
> Smart rename bulk renames the file. Look at doc.
> 
> Shut-down shut-downs the system after a specified time.

Any particular reason for writing a program for this? The shutdown
command itself does the job. So why do you want to write a program for
that?

Best
-- 
V. Sasi Kumar
http://swatantryam.blogspot.com


--~--~-~--~~~---~--~~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~--~~~~--~~--~--~---