Run Hello World Python on Raspberry pi/ Qemu

There are two different ways you can write programs for Python. You can create text files that contain the code, and then run these files with Python, or you can use an Integrated Development Environment (IDE) such as IDLE 3. Either way will result in the code being run in the same way and it's just a matter of personal preference.




If you want to write the programs as text files, you need to use a text editor such as Leafpad. A word processor such as LibreOffice's Writer is unsuitable because the various formatting it uses will confuse Python. As an example, open Leafpad and create a new file that just has the line:

print("Hello World!")

Once you've created your file, just save it with the extension .py; for example testpython.py. You can then run it by opening LXTerminal and navigating to where the file is saved. Then you run python <filename>. You can use the cd command to move to different directories. For example, if you save the file in a folder called programming in your home directory, you could run it by typing the following into LXTerminal:
 
cd programming
python3 testpython.py

 
If everything has worked correctly, you should see the following line appear on the screen:
Hello World!

otherwise just open python shell IDLE 3 and command  print("Hello World!") press Enter you will see the output as 
 Hello World!  
 

Run Hello World Python on Raspberry pi/ Qemu

There are two different ways you can write programs for Python. You can create text files that contain the code, and then run these files with Python, or you can use an Integrated Development Environment (IDE) such as IDLE 3. Either way will result in the code being run in the same way and it's just a matter of personal preference.

Set Proxy to Raspberry Pi or Emulator Qemu

In this post I'm going to explain how to connect internet thorough proxy connection because most universities and colleges have the proxy internet connection so these are the steps we need to do to connect internet through Proxy





1. In Raspberry pi there is two Terminals one is user terminal and another one is root terminal in order make connection setting we need to open root terminal
Start Menu --> Accessories --> Root Terminal

2. in the Terminal navigate into the directory apt.conf.d thorough type the command cd /etc/apt/apt.conf.d


















3. Then create and open 10proxy file (actually this file is not exist so we have to create the file) through command nano 10proxy (this is the command for this creating and opening the 10proxy file in Terminal)





















4. Then add the Acquire::HTTP::Proxy "http://username:password@proxy_server_address:port"; line ( you have to add the sentence in bold) and Save it .
( Example :The format is Acquire::HTTP::Proxy "http://username:password@10.0.0.1:8080"; the format is according to you local proxy)

5. Then Close the Terminal . For checking Type sudo apt-get update in terminal . Then you get the internet access in raspberry to download the packages.

to check ip type command ifconfig on terminal

Set Proxy to Raspberry Pi or Emulator Qemu

In this post I'm going to explain how to connect internet thorough proxy connection because most universities and colleges have the proxy internet connection so these are the steps we need to do to connect internet through Proxy

Run Raspberry Pi using Qemu emulater on Windows

There are a few things that make the Raspberry Pi a great device on which to learn programming. Firstly it's cheap. At around a tenth of the price of a low-end PC, it's cheap enough to have in addition to your main computer.Here is the guide to emulate Raspberry pi using Qemu Emulator on our PC.





1. Download Suitable virsion of the the Qemu Emulator and Extract it into the folder
2. Download and place the Qemu kernel in the same directory.
3. Download the Image file for your Raspberry Pi Emulator and Extract it into the same Directory .

Now Your Folder Should be like this in the final view after all editing works
Now the time to start our Emulator so to make easy the work we need to create a .bat file to run Starting command.in your text editor create a new file and type the below command and save it as Raspberry.bat name is optional one and make sure your image file name.
qemu-system-armw.exe -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw init=/bin/bash" -hda wheezy_raspbian.img



then we need to make some modifications before we boot properly to make this change run the .Bat file as a administrator then only it will allow to modify the files

Type                nano /etc/ld.so.preload
Put a # in front of the first line so that it looks like this:
           #/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
Now Press ctrl-x then y then enter to save and exit.

Now is the time to run the Emulator to do then open your .bat file and delete the code init=/bin/bash
 its mean
qemu-system-armw.exe -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" -hda wheezy_raspbian.img

Above is the new code to run if you run this code




















when we run the command it will ask the username and password for the pi

Default Username=pi
Default Password=Raspberry

if we type correct username & Password above window will appear in that console type startx this is the command to start the Raspberry pi Emulator




















Yes! we Done our work now Qemu Emulator Running on Windows Machine

Run Raspberry Pi using Qemu emulater on Windows

There are a few things that make the Raspberry Pi a great device on which to learn programming. Firstly it's cheap. At around a tenth of the price of a low-end PC, it's cheap enough to have in addition to your main computer.Here is the guide to emulate Raspberry pi using Qemu Emulator on our PC.

Tamil Ulaham Android Application

it's a place to read updated news from various news sites without spend much time in searching news


Google Tamil News Collection
www.jaffnamuslim.com
http://www.madawalanews.com
http://www.Tamilmirror.com
http://www.meelparvai.net
http://tamil.oneindia.com
http://www.khaibarthalam.blogspot.com
http://viruvirupu.com
http://newsfirst.lk
http://www.dinamalar.com
http://tamil.thehindu.com
Vikatan_World_News


Tamil Ulaham Android Application

it's a place to read updated news from various news sites without spend much time in searching news

Student Competitions

In order to create interest among students in the fields of programming, technology, robotics etc various competitions are organsied. There is no participation fees so it does not cost you financially to take part. Following are among some of them.





Yarl Geek Challenge

Yarl Geek’s Challenge is an annual premier technology competition open to all youth.The intent of the competition is to nurture IT skills, innovation and creativity, fostering a spirit of entrepreneurship among the entrants. The best and the brightest young minds will be invited to join hands to utilize technology, taking on some of the world’s toughest problems. While competing with their peers, participants will have the opportunity to work alongside industrial practitioners, gain valuable industrial experience, make new friends, expose their abilities to the global IT industry and transform their ideas into reality.




NBQSA

NBQSANational Best Quality ICT Awards (NBQSA formerly National Best Quality Software Awards) organised by the BCS the Chartered Institute for IT - Sri Lanka section is held annually for Tertiarary Student Projects since 2003. This Award is presented to the most innovative ICT software and/or hardware project from students of Institutions of Higher Learning. Any ICT project that is conducted by a student or a group of students who are formally enrolled in an institution of higher-learning, such as college or university, excluding Master and Doctorate programs can take part at NBQSA. Evaluation is conducted in stages, where first round is usually held at the applicant's university and the final round held centrally, mostly at UCSC. Top three student projects are recognised as Gold, Silver and Bronze and are nominated and funded partially or fully to take part at APICTA (Asia Pacific ICT Awards). Most of the final round applicants receive awards (i.e. at least Merit Award).


APICTA

APICTAThe Asia Pacific ICT Awards (APICTA) provide networking and product benchmarking opportunities to ICT innovators and entrepreneurs in the region. The program is designed to stimulate ICT innovation and creativity, promote economic and trade relations, facilitate technology transfer, and offer business matching opportunities via exposure to venture capitalists and investors. APICTA is hosted by one of the member countries. APICTA recognise the Winner of each category. Merit awards are sometimes awarded. Sri Lanka has participated in APCITA since 2003. First APICTA was held in 2001. Winners of NBQSA are nominated to participate at APICTA.


Imagine Cup

Imagine CupImagine Cup is an annual competition sponsored and hosted by Microsoft Corp. which brings together young technologists worldwide to help resolve some of the world's toughest challenges. Imagine Cup has several categories, such as Software Design, Embedded Development, Web Development, Project Hoshimi, IT Challenge, Algorithm, Photography, Short Film, Interface Design.  Winner of the local country event participate at the international event. 2013 local event finals will be held at UCSC.


IEEEXtreme

IEEEXtremeIEEEXtreme is a global challenge in which teams of IEEE student members – supported by an IEEE Student Branch, advised and proctored by an IEEE member – compete in a 24-hour time span against each other to solve a set of programming problems.
UCSC students first took part at this competition in 2011 (IEEEXtreme 5.0). It was a learning process for them where the top team was placed 39th in the country, 77 in the R10 region and 216 world wide.


Google Summer Code

Google Summer CodeGoogle Summer of Code is a global program that offers post-secondary student developers ages 18 and older stipends to write code for various open source software projects. We have worked with open source, free software, and technology-related groups to identify and fund projects over a three month period. 2011 was the first instance of participation.


e-Swabhimani - National Best e-Content Award

e-SwabhimaniThe e-Swabhimani is an initiative of the Information Communication technology agency of Sri Lanka aimed at recognizing excellence in digital content creation. It is expected that this national award would stimulate a greater interest in the development of a wide range of content and services that would serve the needs of society. The e-Swabhimani was launched in 2009. The e-Swabhimani Award process is being conducted along the lines of the World Summit Award and has input from the Digital Empowerment Foundation if India as the Knowledge Partner to ensure that the jury process conforms to international standards. The award is a stepping stone to other regional and international awards with all short listed submissions being nominated to the Manthan Award South Asia.

Manthan Award

Manthan Summer Code
The Manthan Awards are granted for projects that aim at raising the standard of life of people,especially the rural masses by the use of Information and Communication Technology. The Award is an initiative of the Digital Empowerment Foundation with strategic support from the Department of Information Technology, Government of India and the World Summit Award Austria. With effect from 2008 the Manthan Award was extended to other countries in the region and is now the Manthan Award South Asia.
The Award recognizes the best e-Content for Development and this year applications were invited from e-Content innovators, practitioners and creators across South Asian Countries. Individual participants, organizations as well as individuals seconding nominations for grassroots practitioners from countries in the region were also invited to apply. The requirement was that they be engaged in pioneering work in developing, creating and disseminating digital content, be it online or offline, for grassroots empowerment and development in daily life.The theme of this year’s Manthan Awards was the use of electronic media content for Development in South East Asia. This year greater emphasis was laid on projects that apply information communication technology to raise the standard of life rural people. Sri Lanka participants are nominated by the ICT Agency of Sri Lanka (ICTA) from among the e-Swabhimani winners.

mBillionth Award

mBillionth Award
The mBillionth Award is a dedicated platform to explore the latent potential of mobile & telecom sector across 8 countries in South Asia.
 



World Summit Award mobile

WSA-MThe World Summit Award (WSA) is a global activity to select and promote the world's best e-Content and most innovative ICT applications. It offers a worldwide platform for all who value the creative use of ICTs and who are committed to making today’s information society more inclusive. The World Summit Award Mobile first took placed in 2010 to honour excellence in m-Content and innovative application creation. The Grand Jury selects 40 winners of the eight WSA-mobile categories. WSA was started as an initiative by the Republic of Austria as a contribution to the United Nations World Summit on Information Society (WSIS)  and is  organised by the International Center for New Media (ICNM) in Salzburg.


Inter University Innovations Championship

Inter University Innovations ChampionshipThis competition is held since in 2010 and is organized by SLASSCOM and Motorola Solutions. It involves training programmes conducted by the staff of the Motorola Solutions and runs over a period of 6-7 months. Competition focus on building human resource capacity in Mobile Technologies; develop entrepreneurial skills; and promote innovation among students by exposing their innovative and creative skills.

Student Competitions

In order to create interest among students in the fields of programming, technology, robotics etc various competitions are organsied. There is no participation fees so it does not cost you financially to take part. Following are among some of them.