SIGforum.com    Main Page  Hop To Forum Categories  The Lounge    Anyone here learn Python or Raspberry Pi on their own? How did you do it?
Go
New
Find
Notify
Tools
Reply
  
Anyone here learn Python or Raspberry Pi on their own? How did you do it? Login/Join 
Member
Picture of vthoky
posted
One of our design guys uses Python and Pi pretty regularly, and I'm finding several projects where it would be really nice if I knew how to collaborate or build from his work. But I know jack about Python and Pi.

If I'm going to learn it, I'm going to have to do it on my own. Anyone here done it, and got recommendations on how to do so?

Thanks, all.




God bless America.
 
Posts: 14187 | Location: Frog Level Yacht Club | Registered: July 15, 2007Reply With QuoteReport This Post
Member
posted Hide Post
Take this for what it's worth because I am not aprofessional programmer but I do know the basics about programming.

When I wanted to get familiar with Python syntax and basic structuring, I loaded the Android app sololearn on my tablet and worked my way through the lessons. I then downloaded Winpython since it is a completely free Python environment/tools/libraries. It uses the Spyder IDE. It is geared more towards engineering and science so it doesn't have much in the way of GUI development tools. If you want a decent drag-n-drop GUI development environment, the best free one is probably Qtcreator, but it has it's own learning curve.

Can't help much with the Rasberry PI, but if it is similar to the arduino stuff, then it probably uses a lightweight OS and you just have to learn to upload onto it once you get all the IO and bus addressing figured out for what you have connected. (I've only played around with an ESP8366 breadboard kit).

Ken
 
Posts: 1052 | Location: Oklahoma | Registered: December 28, 2010Reply With QuoteReport This Post
Member
Picture of maladat
posted Hide Post
quote:
Originally posted by KenS:
Can't help much with the Rasberry PI, but if it is similar to the arduino stuff, then it probably uses a lightweight OS and you just have to learn to upload onto it once you get all the IO and bus addressing figured out for what you have connected.


Arduinos are generally microcontrollers - meaning they are very simple computing devices that don't really have an operating system per se, the only thing they run is the program you load on it.

The current standard Arduino has a 16 MHz 8-bit processor, 32 KB of flash memory, and 2 KB of RAM.

The Raspberry Pi, on the other hand, is a full-fledged, if extremely inexpensive and relatively low-performance, computer.

The current standard RPi has a 1.4 GHz 64-bit quad-core processor, 1 GB of RAM, and a MicroSD card slot you can put a tens or hundreds of gigabyte MicroSD card in. It has Ethernet, WiFi, Bluetooth, USB ports for connecting peripherals, a graphics chip and HDMI port for connecting a monitor, etc. They typically run Linux variants.

You can hook up a keyboard and mouse and monitor and run programs on it like you would any other computer, or you can access it over the network using SSH and load and run stuff that way.

Interacting with the RPi hardware like input/output pins is just done using a Python library (or library for whatever other language you are using).
 
Posts: 6320 | Location: CA | Registered: January 24, 2011Reply With QuoteReport This Post
Member
Picture of lkdr1989
posted Hide Post
I recommend starting with the Python tutorial at w3schools.com:

https://www.w3schools.com/python/default.asp




...let him who has no sword sell his robe and buy one. Luke 22:35-36 NAV

"Behold, I send you out as sheep in the midst of wolves; so be shrewd as serpents and innocent as doves." Matthew 10:16 NASV
 
Posts: 4408 | Location: Valley, Oregon | Registered: June 03, 2010Reply With QuoteReport This Post
Member
Picture of vthoky
posted Hide Post
Is Python "the" language for Pi, or does Pi speak other things too?




God bless America.
 
Posts: 14187 | Location: Frog Level Yacht Club | Registered: July 15, 2007Reply With QuoteReport This Post
The success of a solution usually depends upon your point of view
posted Hide Post
Lynda.com if you don't mind paying.



“We truly live in a wondrous age of stupid.” - 83v45magna

"I think it's important that people understand free speech doesn't mean free from consequences societally or politically or culturally."
-Pranjit Kalita, founder and CIO of Birkoa Capital Management

 
Posts: 3953 | Location: Jacksonville, FL | Registered: September 10, 2010Reply With QuoteReport This Post
Why don’t you fix your little
problem and light this candle
Picture of redstone
posted Hide Post
I have been using udemy.com to purchase whole courses for $8 to $12.99. It has been amazing.

Raspberry Pi is just a hardware micro pc. It can run windows, linux, etc. Arduino is microelectronics and microprocessing.

Python is a programming language. so my 'guess' (emphasis on guessing) your friend is running microelectronics with linux and programming apps and function programs with Python that run on the linux devices.



This business will get out of control. It will get out of control and we'll be lucky to live through it. -Rear Admiral (Lower Half) Joshua Painter Played by Senator Fred Thompson
 
Posts: 3694 | Location: Central Virginia | Registered: November 06, 2006Reply With QuoteReport This Post
אַרְיֵה
Picture of V-Tail
posted Hide Post
quote:
Originally posted by vthoky:
Is Python "the" language for Pi, or does Pi speak other things too?
There are a number of Linux configurations that Raspberry Pi can use for an OS, and any programming language that is supported by the OS can by used.

The C Programming Language will work just fine (and would be my choice if I were to do something with this platform), but it is not the only language that can be used.



הרחפת שלי מלאה בצלופחים
 
Posts: 31712 | Location: Central Florida, Orlando area | Registered: January 03, 2010Reply With QuoteReport This Post
Member
posted Hide Post
Online Python Programming Courses

Like Redstone, I've used these guys for React web programming. Money well spent ($10.99).
 
Posts: 7783 | Registered: October 31, 2008Reply With QuoteReport This Post
Shit don't
mean shit
posted Hide Post
I took a course at a local community college to start learning python. No help on Raspberry Pi. Python will be way easier to learn than C. We use Python for scripting. Server admin type stuff.
 
Posts: 5835 | Location: 7400 feet in Conifer CO | Registered: November 14, 2006Reply With QuoteReport This Post
Aller Anfang ist schwer
Picture of Tavman
posted Hide Post
I utilize python at work for automation and data science.

www.codeacademy.com is a very good interactive resource for learning if you're willing to spend some on it.
 
Posts: 1700 | Location: Fayetteville, AR | Registered: May 23, 2005Reply With QuoteReport This Post
Member
Picture of P250UA5
posted Hide Post
quote:
Originally posted by lkdr1989:
I recommend starting with the Python tutorial at w3schools.com:

https://www.w3schools.com/python/default.asp


I haven't used it for Python or Pi, but have W3 bookmarked for SQL when I come up blank on syntax or function.




The Enemy's gate is down.
 
Posts: 16289 | Location: Spring, TX | Registered: July 11, 2011Reply With QuoteReport This Post
Member
Picture of ShouldBFishin
posted Hide Post
quote:
Originally posted by vthoky:
Is Python "the" language for Pi, or does Pi speak other things too?


It's not limited to Python.


I've been running node.js and even building .NET core apps and web services using C# on them.


Node.js was pretty cool and super easy to get up and running on it (you can also get that running on a Windows machine too). Node.js is JavaScript runtime.


There's an older book Building the Web of Things: With examples in Node.js and Raspberry Pi that was a pretty easy read and quite informative.
 
Posts: 1829 | Location: MN | Registered: March 29, 2009Reply With QuoteReport This Post
Member
Picture of vthoky
posted Hide Post
quote:
Originally posted by 1967Goat:
Python will be way easier to learn than C.


Hallelujah! I absolutely hated trying to learn C.

At eleven bucks, Udemy looks like a great thing. Thank you guys!




God bless America.
 
Posts: 14187 | Location: Frog Level Yacht Club | Registered: July 15, 2007Reply With QuoteReport This Post
Member
Picture of ShouldBFishin
posted Hide Post
quote:
Originally posted by vthoky:
quote:
Originally posted by 1967Goat:
Python will be way easier to learn than C.


Hallelujah! I absolutely hated trying to learn C.

At eleven bucks, Udemy looks like a great thing. Thank you guys!


Another great learning resource is Lynda.com - I get free access to this with my local library (many other library memberships include this as well).
 
Posts: 1829 | Location: MN | Registered: March 29, 2009Reply With QuoteReport This Post
Member
Picture of vthoky
posted Hide Post
^^^^^

Thank you! I'll check out Lynda as well.

Wait... that didn't sound right. Razz
I meant, I'll check out Lynda.com in a little while.

Hopefully that's better.




God bless America.
 
Posts: 14187 | Location: Frog Level Yacht Club | Registered: July 15, 2007Reply With QuoteReport This Post
Nature does not hurry, yet everything is accomplished
posted Hide Post
I don't have a Pi but to learn Python install it and start writing code. It really doesn't matter whether you install it on a windows machine, a Linux machine or a Pi. I started by writing small programs that did almost nothing and really learned it by 'automating' things I was doing at work. I'm not really familiar with the object oriented aspects of Python but you can write plan 'procedural' code just fine. There's no substitute for writing code. Start and keep doing it no matter how small the programs are.
 
Posts: 4090 | Location: NC | Registered: December 20, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

SIGforum.com    Main Page  Hop To Forum Categories  The Lounge    Anyone here learn Python or Raspberry Pi on their own? How did you do it?

© SIGforum 2024