1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What Language Is Best to Learn for Bot Creation?

Discussion in 'General Programming Chat' started by Noah Hawryshko, Jun 17, 2016.

  1. Noah Hawryshko

    Noah Hawryshko Senior Member

    Joined:
    Apr 28, 2016
    Messages:
    871
    Likes Received:
    729
    Gender:
    Male
    Occupation:
    Biotechnology Engineer at Silph. Co, Saffron
    Location:
    Kanto
    I'm planning on learning a language to create a bot. I've done a bit with iMacros and created an auto course registration tool for my college institution, but I need something more powerful and versatile. I was thinking of coding bots in Auto Hot Key because of it's ease of use. Is there a language anyone you thinks would be better?
     
  2. Aurace

    Aurace Junior Member

    Joined:
    Mar 31, 2016
    Messages:
    120
    Likes Received:
    60
    I'd highly recommend Python. Great beginner language for your needs.
     
  3. opahopa

    opahopa Junior Member

    Joined:
    Sep 23, 2012
    Messages:
    164
    Likes Received:
    10
    i would recommend C# as i've done really a lot of bots in it. like 30+.
    Object-oriented, fast bootstrapping.
     
  4. dreamsoftware

    dreamsoftware Newbie

    Joined:
    Jun 27, 2014
    Messages:
    30
    Likes Received:
    3
    C# is all you need. Make sure you pick up a book that's up to date (C# 6) and covers .NET framework 4.6 or 4.5. Also I highly recommend you read WPF Unleashed 4th edition and a book on C# Async programming :)
     
  5. GoDesain

    GoDesain Regular Member

    Joined:
    Feb 26, 2011
    Messages:
    480
    Likes Received:
    197
    autoit or php is ok for me..
     
  6. neelshopno123

    neelshopno123 Registered Member

    Joined:
    Jun 1, 2015
    Messages:
    52
    Likes Received:
    2
    Java, php and many more backed coding.....
     
  7. Sebastian Rooks

    Sebastian Rooks Registered Member

    Joined:
    Nov 16, 2015
    Messages:
    82
    Likes Received:
    54
    Location:
    Middle America
    +=1 for Python. It's free, it's versatile, it's (as) easy (as it gets), and it comes with a giant community with all of the resources you could want.

    When you decide to take the plunge, check out the Anacondas installer package, and try out Jupyter Notebook for your environment.
    You can't go wrong.
     
    • Thanks Thanks x 2
  8. kingofwhatido

    kingofwhatido Registered Member

    Joined:
    Apr 4, 2016
    Messages:
    58
    Likes Received:
    9
    if you want bot that dont fail from time to time like with jitbits macro recorder and the rest of thoose kind of programs go with uipath,8 week free trial ,i install a new windows with wmare each 8 weeks lol
     
  9. anthonymcneil

    anthonymcneil Newbie

    Joined:
    Sep 22, 2015
    Messages:
    41
    Likes Received:
    2
    Anyone you thinks would be better to me??
     
  10. Code Docta

    Code Docta Newbie

    Joined:
    May 15, 2015
    Messages:
    23
    Likes Received:
    4
    Gender:
    Male
    Occupation:
    Full time coder
    Location:
    Orange County, CA
    Home Page:
    I'd roll with Python it is the easiest by far, then if you feel the need it is that much easier to jump to another language
     
    • Thanks Thanks x 1
  11. Noah Hawryshko

    Noah Hawryshko Senior Member

    Joined:
    Apr 28, 2016
    Messages:
    871
    Likes Received:
    729
    Gender:
    Male
    Occupation:
    Biotechnology Engineer at Silph. Co, Saffron
    Location:
    Kanto
    Alright, I think I'll go for Python. Thanks a lot guys!

    I have 3 questions. however:

    1. Can I compile my Python scripts into Windows executables without extra Python-related dependencies installed?

    2. How does one interact with the mouse and keyboard on a back end programming language like Python? I've built programs and a couple games (like Tetris, etc.) in C# but haven't ever figured out how the things iMacros and AutoHotKey made so simple could even be remotely as simple in Python or other back-end heavy languages.

    3. Is building a professional-grade GUI in Python viable, or unnecessarily complicated?
     
  12. Sebastian Rooks

    Sebastian Rooks Registered Member

    Joined:
    Nov 16, 2015
    Messages:
    82
    Likes Received:
    54
    Location:
    Middle America
    1. check out the modules Py2exe, and or cxfreeze. I haven't actually used either, because I haven't really faced the need to compile yet, but that should do it.

    2. If you're talking about interacting with the mouse and keyboard on websites, then the selenium module is what you're looking for.
    Then it's as easy as something like:

    elem=driver.find_element_by_name('email')
    elem.send_keys('[email protected]')

    elem.send_keys(Keys.ENTER)

    or to use the mouse you could..
    elem=driver.find_element_by_name('send')
    elem.click()

    3.check out tkinter for your gui.


    Once you get setup and running, all modules install as easily as typing at the command prompt:

    pip install -U modulename


    Code Docta showed me the light and turned me into a Python Evangelist.
     
    • Thanks Thanks x 2
  13. sohom

    sohom Senior Member

    Joined:
    May 26, 2013
    Messages:
    990
    Likes Received:
    175
    Location:
    not in Past
    +1 for Python
     
  14. LostLife

    LostLife Regular Member

    Joined:
    May 12, 2017
    Messages:
    265
    Likes Received:
    288
    Gender:
    Male
    Occupation:
    Software Engineer
    C#.
     
  15. Neon

    Neon BANNED BANNED Jr. VIP

    Joined:
    Nov 3, 2013
    Messages:
    3,107
    Likes Received:
    7,706
    Gender:
    Male
    HTTPS
     
  16. LostLife

    LostLife Regular Member

    Joined:
    May 12, 2017
    Messages:
    265
    Likes Received:
    288
    Gender:
    Male
    Occupation:
    Software Engineer
    HTTPS is just a protocol not a programming language :)
     
  17. bluehatface

    bluehatface Regular Member

    Joined:
    Oct 19, 2013
    Messages:
    259
    Likes Received:
    105
    Location:
    Here
    +1 for this python method.

    If you have any experience with JavaScript then there are also bindings for selenium, and stuff like CasperJS. Pretty sure you can also build a JS excecutable with node, and electron.
     
  18. Neon

    Neon BANNED BANNED Jr. VIP

    Joined:
    Nov 3, 2013
    Messages:
    3,107
    Likes Received:
    7,706
    Gender:
    Male
    [​IMG]
     
    • Thanks Thanks x 1
  19. Noah Hawryshko

    Noah Hawryshko Senior Member

    Joined:
    Apr 28, 2016
    Messages:
    871
    Likes Received:
    729
    Gender:
    Male
    Occupation:
    Biotechnology Engineer at Silph. Co, Saffron
    Location:
    Kanto
    For HTTPS-type programs I really prefer just creating the same thing in VNC, or even UDP.

    I mean, why re-invent the wheel right?
     
  20. littlewebdragon

    littlewebdragon Jr. VIP Jr. VIP

    Joined:
    Dec 30, 2007
    Messages:
    1,759
    Likes Received:
    1,163
    Occupation:
    Occupation
    Location:
    Location
    That's so old school.
     
    • Thanks Thanks x 1