3 Replies - 2276 Views - Last Post: 05 October 2008 - 02:37 PM Rate Topic: -----

#1 rollin4deshi  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 31-July 08

begining questions about python

Post icon  Posted 05 October 2008 - 04:13 AM

is python mainly for linux or is it usefull in windows too? im learning c++ and starting to be better then the average joe, but cant really implement the ideas of c++ without refering back to my notes , would python be easier to use and implement then the extensive library of c++?? also does python use a compiler? if not what do i use to work with it,
thanks, kc
Is This A Good Question/Topic? 0
  • +

Replies To: begining questions about python

#2 Stutzbach  Icon User is offline

  • New D.I.C Head

Reputation: 6
  • View blog
  • Posts: 29
  • Joined: 06-July 08

Re: begining questions about python

Posted 05 October 2008 - 04:24 AM

View Postrollin4deshi, on 5 Oct, 2008 - 05:13 AM, said:

is python mainly for linux or is it usefull in windows too? im learning c++ and starting to be better then the average joe, but cant really implement the ideas of c++ without refering back to my notes , would python be easier to use and implement then the extensive library of c++?? also does python use a compiler? if not what do i use to work with it,
thanks, kc


Python can be used for Windows, too. Here's a link to the: Python Installer for Windows. There's also a great tutorial on Python.

That said, Python is mainly used for scripting behind-the-scenes. If you want a graphical user interface (GUI), you'll need a third-party GUI library for Python, and you may be better off sticking with C++ or perhaps C#.

When learning any programming language, you will have to refer back to your notes or the documentation frequently. With experience, less frequently. ;-) I don't think choosing another language will change that.

Hope that helps!
Was This Post Helpful? 0
  • +
  • -

#3 .Maleficus.  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 129
  • Joined: 07-March 08

Re: begining questions about python

Posted 05 October 2008 - 06:11 AM

View PostStutzbach, on 5 Oct, 2008 - 04:24 AM, said:

That said, Python is mainly used for scripting behind-the-scenes. If you want a graphical user interface (GUI), you'll need a third-party GUI library for Python, and you may be better off sticking with C++ or perhaps C#.

Correct me if I'm wrong, but Tkinter is built into Python, and C++ has no built in GUI libraries. Yes, Python is considered by most a scripting language, but don't let that turn you off to it. You can go and make cool games with Pygame or any of the other game engines for Python, you can download NumPy and have a powerful Matlab substitute and you can create cross-platform GUI programs with PyQT (or Tkinter).

And C# is cool too.

But like Stutzbach said, learning another language won't help you if you still don't know how to properly implement it (with good OOP, readable code, etc). You might want to check out a book on OOA&D (object oriented analysis and design). I ran through Head First OOA&D at Barnes and Noble and like all of their books, it looked easy to understand and because they give examples using UML (unified modeling language) the syntax and "theory" should be familiar to your current C++ knowledge.

Either way, it's never bad to learn another language. C# is in my list, Python I'm currently working on, Java I've already learned and C++ is on its way too. Cool thing about Python though; it can easily be used to add flexibility to your C++ code. Import the Python interpreter and you can code changes very quickly and easily.
Was This Post Helpful? 0
  • +
  • -

#4 paddy3118  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 28-May 07

Re: begining questions about python

Posted 05 October 2008 - 02:37 PM

View Postrollin4deshi, on 5 Oct, 2008 - 04:13 AM, said:

is python mainly for linux or is it usefull in windows too? im learning c++ and starting to be better then the average joe, but cant really implement the ideas of c++ without refering back to my notes , would python be easier to use and implement then the extensive library of c++?? also does python use a compiler? if not what do i use to work with it,
thanks, kc

Python tries to base itself on a focused, tight, core that is easy to learn, with a large standard library of modules to help you in a wide variety of tasks. Python works on many platforms, including Windows and Macs. Go here for more information: http://wiki.python.o.../BeginnersGuide .
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1