Video Tutorials

Drop in for a chat and a cup of tea

77 posts   Page 3 of 4   1, 2, 3, 4
by turbocrow » Wed Jan 25, 2012 9:37 pm
Thanks so much I am 17 and want to learn to program your videos are amazing thanks :)
Posts: 10
Joined: Wed Jan 25, 2012 9:20 pm
by liamfraser280 » Wed Jan 25, 2012 10:22 pm
@turbocrow cheers mate :) Good luck with the learning!

@John I will be finishing the programming tutorials for a while once this snake game is over, to go over stuff like you mention. I need a Pi to do that though so untill then I'll keep it to programming. I'll be doing a whole series set up tutorials including SD card preperation and so on.

With regards to XBMC, I'm not sure wether the plans are to provide an application that you run or a dedecated XBMC distro. Possibly both depending on the use case. If you go for the application version then there is no reason why you couldn't use a browser. Also the Pi will be able to connect to windows networks, as both a client and a server using something called Samba as Jaseman has mentioned above.

Cheers,

Liam :)
Posts: 354
Joined: Tue Oct 04, 2011 6:53 pm
by turbocrow » Wed Jan 25, 2012 10:30 pm
where do you recommend I start with Python though ? any good books or places anyone can recommend ? thank you all.
Posts: 10
Joined: Wed Jan 25, 2012 9:20 pm
by liamfraser280 » Wed Jan 25, 2012 10:49 pm
I'd just say use google. Can't reccomend a book really as I haven't used one!

My first couple of python tutorials are pretty straightforward though so I'd reccomend you check them out :)
Posts: 354
Joined: Tue Oct 04, 2011 6:53 pm
by Jaseman » Fri Jan 27, 2012 8:49 pm
Posts: 302
Joined: Tue Jan 10, 2012 12:59 pm
by stevescat » Sat Jan 28, 2012 5:08 pm
A big thank you to Liam for your video tutorials. Clear, concise instructions which enabled me to get an LXDE virtual machine installed on my Mac - it was a breeze!!!

Thanks again,

Steve
Posts: 15
Joined: Wed Jan 04, 2012 3:07 pm
by liamfraser280 » Sat Jan 28, 2012 5:09 pm
Glad you said Mac because I'm also working on a tool to help prepare peoples SD cards for them and I've included Mac as one of the supported operating systems!

Cheers steve :)

Liam.
Posts: 354
Joined: Tue Oct 04, 2011 6:53 pm
by stevescat » Sat Jan 28, 2012 5:46 pm
Very good news indeed, Liam. Anything that helps readying those SD cards is very welcome. :)

Steve
Posts: 15
Joined: Wed Jan 04, 2012 3:07 pm
by andyl » Sat Jan 28, 2012 5:52 pm
Nodge said:

I'm an absolute beginner with Linux and thanks to your first tutorial I now have Debian running in Virtual Box. In the course of the installation I did experience one glitch that might be worth noting. At some point I was asked for my full name and password (for the root user?). I entered my name as John Jopp. It then asked for a user name and password and I'm pretty sure that "John" was pre-entered which I accepted. Then later after a reboot, I was asked to login again at which I entered "John" and my password. "Incorrect Password"! I'd written it down so I knew it was correct and no amount of swearing persuaded it otherwise. I was totally stumped for a bit and on the point of giving up when I tried entering my name as "john" with a lowercase "j" and got in. If it is the case that usernames can only be in lowercase then it might be worth annotating the video to that effect.

Usernames can have uppercase letters in them, but I'm pretty sure that the install process would have lowercased your name to john when it set up the user.  Linux is case sensitive.  You can have a file called Readme and one called readme and one called README all in the same directory and they would all be different.  It is similar for users.  You can have a user called john and one called John (although some user management programs will prevent it).  However by convention usernames are all lowercase on Unix systems.

Nodge said:

Part of the beauty of xbmc is that you can mess with it and download skins and addons Am I right in thinking the Pi won't be up to running both a browser and xbmc?

I don't think there should be a problem running a browser and xbmc.  I don't think you will be able to play a video or anything or do anything fancy in xbmc.  Anyway I think xbmc deals with downloading addons from repositories itself.  You don't have to go to a browser.

Can I share the Pi on my windows network to do this?

If you connect the Pi up to a network cable (or a wifi dongle) then you can either access your shared Windows drive from the Pi, or share directories from the Pi which your windows box will see.
Posts: 265
Joined: Tue Jan 10, 2012 11:05 am
by andyl » Sat Jan 28, 2012 5:56 pm
turbocrow said:


where do you recommend I start with Python though ? any good books or places anyone can recommend ? thank you all.


http://learnpythonthehardway.org/ (don't worry about the name - the website will tell you the hard way is really the easy way).   It is available as a real book, or PDF, (both of which cost money) or for free as HTML.
Posts: 265
Joined: Tue Jan 10, 2012 11:05 am
by Jaseman » Sat Jan 28, 2012 10:36 pm
Right chaps,

I thought I would have a crack and doing a few python lessons myself (In my own unique style).  Rather than YouTube videos I'm just going to use PNG files that you can download and go through at your own pace.  I'm also going to include a copy of the code.

You can download the first part here:

https://skydrive.live.com/redir.aspx?cid=f41ca64cc38a2ec5&resid=F41CA64CC38A2EC5!183&parid=F41CA64CC38A2EC5!182

Please let me know if you find them helpful - this will motive me to do more!
Posts: 302
Joined: Tue Jan 10, 2012 12:59 pm
by gimliflea » Sun Jan 29, 2012 12:28 am
I found this easy to follow, and look forward to further lessons.

Thanks.
Posts: 76
Joined: Fri Nov 18, 2011 4:14 pm
by gimliflea » Sun Jan 29, 2012 12:28 am
I found this easy to follow, and look forward to further lessons.

Thanks.

Edit: sorry for double post.
Posts: 76
Joined: Fri Nov 18, 2011 4:14 pm
by liamfraser280 » Sun Jan 29, 2012 9:36 am
They look good Jaseman. Would be good for anyone with an older pc who can't watch YouTube and could be translated much easier than my videos.
Posts: 354
Joined: Tue Oct 04, 2011 6:53 pm
by Jaseman » Sun Jan 29, 2012 3:57 pm
Posts: 302
Joined: Tue Jan 10, 2012 12:59 pm
by liamfraser280 » Sun Jan 29, 2012 4:00 pm
Looks good again Jaseman :)

Would you mind starting a new thread for your tutorials though? They are pictures rather than video :P

Cheers,

Liam.
Posts: 354
Joined: Tue Oct 04, 2011 6:53 pm
by Jaseman » Sun Jan 29, 2012 5:05 pm
Sure thing - will do.

I put them here because I've assumed that the people following them have already followed your instructions on setting up a VirtualBox with Debian / Python / Geany / Pygame
Posts: 302
Joined: Tue Jan 10, 2012 12:59 pm
by liamfraser280 » Sun Jan 29, 2012 5:07 pm
No worries :) You can put a link to your thread in here if you like mate!
Posts: 354
Joined: Tue Oct 04, 2011 6:53 pm
by Jaseman » Mon Jan 30, 2012 3:20 pm
Posts: 302
Joined: Tue Jan 10, 2012 12:59 pm
by meltwater » Thu Feb 02, 2012 2:05 pm
Hi Liam (and Jaseman),

I see your tutorials are rolling out nicely!  I've only had chance to follow the first few.

One thing which I don't think has been mentioned on the forums is the ability to learn and run python scripts on an Android device [using SL4A and Python for Android (Python 2.6.2)].

I had a go with it last night (following some of your initial tutorials to get me started).

Unfortunately it doesn't support PyGame - as far as I can tell (which I found out after trying Jaseman's tutorial), but I think it has some android specific tie ins.  Anyway, might be another way for people to have a go with Python without a pc etc and something they could do on the bus or where-ever.

I've not looked for any specific tutorials for it yet, but it also supports HTML, Javascript, Lua, Perl and also Beanshell & Rhino (not heard of them), so plenty of options to play with.

Out of interest, which of your later tutorials (if any) don't use PyGame so might be usable on SL4A, as I would like to follow what ones I can.

I don't really know one version of Python from another, but it seems like a reasonable language to get to grips with.
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam
User avatar
Posts: 981
Joined: Tue Oct 18, 2011 11:38 am
by Jaseman » Thu Feb 02, 2012 7:27 pm
meltwater said:


Hi Liam (and Jaseman),

I see your tutorials are rolling out nicely!  I've only had chance to follow the first few.

One thing which I don't think has been mentioned on the forums is the ability to learn and run python scripts on an Android device [using SL4A and Python for Android (Python 2.6.2)].

I had a go with it last night (following some of your initial tutorials to get me started).

Unfortunately it doesn't support PyGame - as far as I can tell (which I found out after trying Jaseman's tutorial), but I think it has some android specific tie ins.  Anyway, might be another way for people to have a go with Python without a pc etc and something they could do on the bus or where-ever.

I've not looked for any specific tutorials for it yet, but it also supports HTML, Javascript, Lua, Perl and also Beanshell & Rhino (not heard of them), so plenty of options to play with.

Out of interest, which of your later tutorials (if any) don't use PyGame so might be usable on SL4A, as I would like to follow what ones I can.

I don't really know one version of Python from another, but it seems like a reasonable language to get to grips with.



I'm fairly certain that they ALL require pygame.  Certainly mine do.  I don't think I will be supporting your Android device.  I hope the Rasberry will support pygame.
Posts: 302
Joined: Tue Jan 10, 2012 12:59 pm
by liamfraser280 » Thu Feb 02, 2012 7:46 pm
Android limits the tutorials because not everyone has one. Plus most android stuff is done in Java so Android developent would be best done using that.

PyGame will run on the device Jaseman. It's in the debian arm repositories and I've seen people run SDL on the device which is what pygame is a wrapper of. Should be fine :)
Posts: 354
Joined: Tue Oct 04, 2011 6:53 pm
by meltwater » Thu Feb 02, 2012 8:24 pm
Jaseman said:


I'm fairly certain that they ALL require pygame.  Certainly mine do.  I don't think I will be supporting your Android device.  I hope the Rasberry will support pygame.


Liam Fraser said:


Android limits the tutorials because not everyone has one. Plus most android stuff is done in Java so Android developent would be best done using that.

PyGame will run on the device Jaseman. It's in the debian arm repositories and I've seen people run SDL on the device which is what pygame is a wrapper of. Should be fine :)


No problem, from what I've seen PyGame is great for the stuff you guys are doing so no worries.  I was more asking so I could follow the tut's while messing with it on my phone, will probably do a bit of both.

I'm doing Android development too, but there are some handy python scripts around worth making use of, also for little things a little script is a lot less hassle than creating a app.

Keep up the good work!
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam
User avatar
Posts: 981
Joined: Tue Oct 18, 2011 11:38 am
by meltwater » Mon Feb 06, 2012 9:28 am
I've since found pygame subset for android, so I'll have a try with that.

Cheers!
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam
User avatar
Posts: 981
Joined: Tue Oct 18, 2011 11:38 am
by lifesaver » Sat Nov 03, 2012 5:02 pm
Great tutorials so far. I've only watched the first few. When you show virtual box you install debian. Can I install other versions with VB at the same time? Ubuntu? Raspbian? Xbian? And load which ever one I want to mess around with?

Also programming? Need help with that. Linux is brand new to me.



Andy
Posts: 5
Joined: Thu Nov 01, 2012 1:18 am