Learning Programming for Beginners

Discuss Computer Science and Programming related problems

Moderators:Labib, bristy1588

Shifat
Posts:53
Joined:Sun Jul 31, 2011 12:21 pm
Location:Dhaka, Bangladesh
Re: Learning Programming for Beginners

Unread post by Shifat » Sun Oct 02, 2011 1:19 am

I have installed python, but it is not working, It says something like" it is designed to work within a limiation in windows 95/98, how can I use it in windows XP????

ridowan007
Posts:11
Joined:Tue Dec 14, 2010 1:09 pm

Re: Learning Programming for Beginners

Unread post by ridowan007 » Sun Oct 02, 2011 4:41 pm

Go to http://python.org/download/ , then click the link
Python 2.7.2 Windows Installer (Windows binary -- does not include source)

When downloaded, install it by double clicking. Python works smoothly on Windows XP,vista,7+, and current version don't work older os'es like win95/98.

Also after installing, you may want also want to install a text editor/ide for python(not essential but its make coding easier). For windows I would recommend installing notepad++.

Also you could see this http://wiki.python.org/moin/BeginnersGuide

User avatar
amlansaha
Posts:100
Joined:Tue Feb 08, 2011 1:11 pm
Location:Khulna, Bangladesh
Contact:

Re: Learning Programming for Beginners

Unread post by amlansaha » Sat Dec 03, 2011 2:31 am

@ridwan007 can i use gedit for python in ubuntu?
অম্লান সাহা

ridowan007
Posts:11
Joined:Tue Dec 14, 2010 1:09 pm

Re: Learning Programming for Beginners

Unread post by ridowan007 » Sat Dec 03, 2011 4:14 am

Hmm yes of course. gedit is favorable text editor for many python developer. I use Geany for C/C++/Python coding on Ubuntu. But if you want to use Gedit then the way may be is

1. save a file using .py extension. Let its foo.py and its saved in Desktop folder. Then you will get syntax highlight(color in code).
2. To run the script, go to terminal. cp to the folder where you put your code. In this case "cp /home/User/Desktop/".
3. Run it by typing python foo.py


Also you can see this page
http://trialsolution.wordpress.com/2009 ... ython-ide/

User avatar
amlansaha
Posts:100
Joined:Tue Feb 08, 2011 1:11 pm
Location:Khulna, Bangladesh
Contact:

Re: Learning Programming for Beginners

Unread post by amlansaha » Sat Dec 03, 2011 11:38 am

ridowan007 wrote:Hmm yes of course. gedit is favorable text editor for many python developer. I use Geany for C/C++/Python coding on Ubuntu. But if you want to use Gedit then the way may be is

1. save a file using .py extension. Let its foo.py and its saved in Desktop folder. Then you will get syntax highlight(color in code).
2. To run the script, go to terminal. cp to the folder where you put your code. In this case "cp /home/User/Desktop/".
3. Run it by typing python foo.py


Also you can see this page
http://trialsolution.wordpress.com/2009 ... ython-ide/
thank u :) but i am falling trouble with geany. i cannot compile any source code by it(both in windows and ubuntu). can u give any solution?
অম্লান সাহা

ridowan007
Posts:11
Joined:Tue Dec 14, 2010 1:09 pm

Re: Learning Programming for Beginners

Unread post by ridowan007 » Sat Dec 03, 2011 12:45 pm

For geany on windows, you have to install the compilers by your self. You can see this page fo installing C/C++ compiler.

http://www.mingw.org/wiki/Getting_Started

Follow the "Graphical User Interface Installer" and "Environment Settings" instructions as on that page. Though for windows I won't recommend geany for new comers. Its took some time to configure it. I would recommend Dev-CPP from here http://orwellengine.blogspot.com/. When you would understand C/C++ and projects etc well enough, then Visual Studio Express.


For in Ubuntu, you should not have any problem with compiling C code with file extension .c . For compiling C++ code you have to install binutils package. Also one thing, don't save your code to other then your home folder or it will get a permission deny problem. For python, you should not have to do anything with Geany on ubuntu.

User avatar
amlansaha
Posts:100
Joined:Tue Feb 08, 2011 1:11 pm
Location:Khulna, Bangladesh
Contact:

Re: Learning Programming for Beginners

Unread post by amlansaha » Sat Dec 03, 2011 12:56 pm

thank u so much for the info :)
অম্লান সাহা

qeemat
Posts:11
Joined:Thu Feb 16, 2012 6:43 pm

Re: Learning Programming for Beginners

Unread post by qeemat » Fri Feb 17, 2012 4:38 pm

yes C is the best language for novice user.from this you should clear all the programming concept when you are the master of this language then you can learn any language easily

shayanjameel08
Posts:10
Joined:Mon Nov 04, 2013 6:17 pm

Re: Learning Programming for Beginners

Unread post by shayanjameel08 » Wed Nov 13, 2013 11:19 am

I also want to design a video game and develop some cool apps for iPhone or Android... just want to do it for fun...!

Ami konishko
Posts:2
Joined:Sat Nov 23, 2013 11:40 pm

Re: Learning Programming for Beginners

Unread post by Ami konishko » Sat Nov 23, 2013 11:53 pm

qeemat wrote:yes C is the best language for novice user.from this you should clear all the programming concept when you are the master of this language then you can learn any language easily
I have heard that it's easier if python is attempted at first, but, from your point of view it seems like C should be attempted first. May I know the reason behind your opinion? And FYI I didn't find python that hard as a beginner.

Please let me know as I wanna go a long way in this.

Post Reply