What would be better VB or Python ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Akhilesh agarwa
    New Member
    • Apr 2011
    • 1

    What would be better VB or Python ?

    I would like to develop an application for automation of my uncles business (Small Scale) (10 to 20 Employees and a few machines).
    The conditions are it would need GUI about (15 to 20 Screens),Databa se (for tables to store data), and generation and reading of barcode. and for all this i only have 1 Month.
    Also i have been doing programming on C and C++ but less knowledge of VB and no knowledge of Python.
    After a lot of reading i have come to conclusion of using one of these. But i am still unsure of which one should i use and which would be better with the constraints i have.
    I would like to develop in Python as i have read that it is better in terms of programming but with the constraint of doing a GUI and within limited time period i would like to know which one is better.

    Thanks a lot for your help.
  • Dave750
    New Member
    • Sep 2011
    • 9

    #2
    Python can do it well, use wx. Or Tkinter - if you really want to learn. If you can, I would say use c# or vb. Even with experience, python, GUIs are not near as straightforward IMHO. When I did my first C# app, I was amazed at how much easier it really was. And, visual studio Integrates beaufilly with SQL and access.

    Comment

    • Dev Player
      New Member
      • Jan 2011
      • 6

      #3
      IMHO, Python is a better choice for apps that run on different platforms. Type Python lanuage itself, it's basic data types, file io, and standard libraries themselves are very easy to learn and use.

      Doing simple gui windows with simple controls like buttons and checkboxes in Python's wxPython or Tinker is pretty quick. Doing anything more complicated and you'll not make your deadline.

      Quickly gander at: http://wiki.wxpython.org/AnotherTutorial and see if you understand the code. See if the simple apps shown there are somthing close to what you like.

      No comment on VB. I haven't programmed in basic since 1990.

      Although Python itself is quick to learn and and great for making small apps; Starting large projects in any new language -to you- is ill advised.

      You mentioned automation; if it's binary data that is automating robots and stuff, if you go the Python route, starting wth Python 3.2 may be the way to go as it has the array type (works with binary better) but you'll need to use Tinker for gui. You'll need Python 2.8 to use wxPython at this time.

      Another question you need to answer to yourself. What dev tools have you invested in? Althought there are free Python IDEs full scale IDEs that support Python are an additional cost if you don't already have them (for C, C++, C#, Java).

      Some Python database info:

      Comment

      Working...