 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
degarb
Joined: 14 Feb 2007 Posts: 98
|
Posted: Tue Jul 03, 2007 7:41 pm Post subject: Python |
|
|
I am just a vacation/weekend programmer of sorts when the itch stricks.
AHK is great in that it offers lightning fast quick uptake on use, little to memorize, super chm doc (though wish some links to non techie on some explanations that go over my head on first read), great community (esp if no news server), and ability to compile 200 exe's or pass to 230k engine via command line (more flexible to allow several scripts to run at once.). Some dll calling. I think the real power of AHK is the open/free nature (compiling exes is not ideal for commercial)
I understand hard thing can be harder than other languages.
I am told Python is more powerful.
However, some hurdles need to be cleared for use of python, that AHK easily overcomes.
1. Can python be as easily learned as AHK (downloaded ahk, compiled and edited first exe for ahk in 40 minutes while waiting on wife to get ready to leave.)?
2. Is there a free news server to get newsgroup?
3. How snobbish are the people on the group or good with beginners?
4. can a py file be compiled to a small portable exe without forcing user to download a 10 meg machine? (I don't like machines. I can rarely get a java distro to work. Never got win perl to work. Dot net had 10 meg distro with no ability to use download manager or resume-took me a week to sucessfully download on dialup. Got the python machine with manager fine and py files work, but would never write a program that requires a user to download 10 megs just to run my program.)
5. is there a clear advantage over AHK?
The other two programs mentioned here, didn't appear free or open. |
|
| Back to top |
|
 |
Tarch
Joined: 23 Jun 2007 Posts: 87
|
Posted: Tue Jul 03, 2007 9:16 pm Post subject: |
|
|
Hi,
I think you should reason differently because python and AHK are languages with different target. I mean:
AHK is primarily designed to do GUI automation, to be able to create GUIs and other things related primarily to automation and if you check in the home you will find these info (more or less) and it can do much more using DLLs (but this is not its primar objective). Python as many other languages is designed to be a full language. So replying to your points:
| degarb wrote: |
I think the real power of AHK is the open/free nature
|
Python is open source too check here.
1. There is a lot of documentation on python too here
2. There is a community too here
3. On this I cannot say nothing because I have never written on the forums
4. I don't know this too but on windows it is quite simple (for java too, there are installers), in perl you can create an executable that contains only the necessary
5. It is probably easier to write and mantain advanced programs, the code could be organized in a better way.
I'm not saying neither that AHK is worse than python and nor the opposite. I want to point you to the fact that are different languages designed for different purposes.
Bye!  |
|
| Back to top |
|
 |
degarb
Joined: 14 Feb 2007 Posts: 98
|
Posted: Tue Jul 03, 2007 9:53 pm Post subject: |
|
|
Thanks for your comments. However, I am still murky on several of the questions. Just to clarify:
1. Is it easy: you wrote many docs.
question: How much useful code can I produce in first day of use? Are docs as simple as ahk?
2. Free news group, not snobs: you wrote here are the groups.
question: I need a free news service. most groups need these.
All other questions, your answer was don't know. (yes the 10 meg python is about the easiest machine to install yet. Apart from the hour it takes to download on dialup.)
Any comments are useful. THnaks |
|
| Back to top |
|
 |
Tuncay
Joined: 07 Nov 2006 Posts: 384 Location: Berlin
|
Posted: Wed Jul 04, 2007 8:38 pm Post subject: |
|
|
One thing to mention is, that Python is not only available under Windows, but AutoHotkey is. Python is available to Linux also and on my (not very old) Suse distribution, it is preinstalled.
Ok may be that is not an argument for you to use Python. |
|
| Back to top |
|
 |
SanskritFritz
Joined: 17 Feb 2005 Posts: 283 Location: Hungary, Budapest
|
Posted: Wed Jul 04, 2007 10:01 pm Post subject: |
|
|
There is a library for Python, that is similar to AutoHotkey, though with much less capabilities:
http://www.ranorex.com/ _________________ Is there another word for synonym? |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 296
|
Posted: Fri Jul 06, 2007 1:02 pm Post subject: |
|
|
| much less capabilities than what? than ahk or than python? |
|
| Back to top |
|
 |
Grumpy Guest
|
Posted: Fri Jul 06, 2007 2:09 pm Post subject: |
|
|
| Libraries for a language enhance/extend it, they don't reduce their capabilities... |
|
| Back to top |
|
 |
SanskritFritz
Joined: 17 Feb 2005 Posts: 283 Location: Hungary, Budapest
|
Posted: Fri Jul 06, 2007 4:15 pm Post subject: |
|
|
| azure wrote: | | much less capabilities than what? than ahk or than python? | AutoHotkey of course, how could it be less than python itself? _________________ Is there another word for synonym? |
|
| Back to top |
|
 |
RaptoR
Joined: 27 Jun 2007 Posts: 22 Location: Earth, Cambrian period
|
Posted: Mon Jul 09, 2007 4:04 pm Post subject: |
|
|
degarb,
Python is conceptually complete full-fledged programming language, it is not intended to provide only support for some tool. It can be integrated in any program in variety of languages (Java, C, C++, .net etc).
| Quote: | | 1. Can python be as easily learned as AHK (downloaded ahk, compiled and edited first exe for ahk in 40 minutes while waiting on wife to get ready to leave.)? |
Usually people who know Java or C++ begin to program on Python almost immediately. The problems get appear when the program size becomes bigger and bigger and people reveal that programming style in Python is quite different comparing with the programming style in say Java - you must write tests, at least 30% of the size of the code (exact percents depend on the problem). My colleague said me they have 60% of their Ruby code as tests, i.e for every 3 lines of production code they write 2 lines of test code, and now their overall codebase is over 11MB... Without tests you cannot guarantee just anything, unlike Java (though Fowler, Beck, Tate etc strongly recommend to write a lot of tests in Java also).
| Quote: | | 2. Is there a free news server to get newsgroup? |
Yes, a lot of. For example, comp.lang.python or IRC #python
| Quote: | | 3. How snobbish are the people on the group or good with beginn |
You woun't believe, but they are really friendly to beginners. There are special areas in the newsgrops, created specially for beginners. (Though people love to be asked rather nontrivial questions than questions with answers on the second page of the tutorial...)
| Quote: | | 4. can a py file be compiled to a small portable exe without forcing user to download a 10 meg machine? |
You can begin to play with py2exe, although i don't know how it is good.
| Quote: | | 5. is there a clear advantage over AHK? |
I would be happy, if authohotkey had The Python Frontend, or The Ruby Frontend, or provided support for pattern matching, lambdas, lists, tuples, list comprehensions, metaprogramming etc (indeed i could write down loooong list of useful features), but the author's priorities were not to create The Ultimate Language, it were just to provide wide customization support for the autohotkey tool. And for now I just like autohotkey as is. I am concentrating on the problems at hand, and using other languages for other problems. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|