8/17/18
8/8/18
From install to run for python3.7 and PyCharm on Mac
New Video for Python learners:
How to install the latest python on a mac including python, idle, and pip. How to then install free IDE called PyCharm. I will then step through creating a simple program and running it from PyCharm and the terminal.
7/27/18
7/25/18
6/15/18
Python: Picking random events for a game: developing the algrothm
This video walks though developing code to pick random events where the
events have different probabilities.
This could be used in games,
simulations, or picking random visual elements.
It will show two functional programming approaches and one Object
Oriented approach
6/11/18
Web Scrape YouTube channel for video info and a table of contents using Python 3.6 and Beautiful Soup (V1.1)
THIS TECHNIQUE NO LONGER WORKS!
I will post an update in the future with code that using the Goggle API.
YouTube always list the videos and playlists with a lot of graphics and thumbnail images which look nice, but it does not fit much on a page for reference.
I tried to use write a program using their API, but decided it was better to try 'screen scraping' or 'web scraping'. This is a technique that is used to get information out of web pages.
I ended up writing a python program. Since many sites do not like scrapping, I checked the User Terms Contract for YouTube, and it is OK as long as it is as slow as a human.
I walk through version 1.0 of the code at my YouTube video @ https://youtu.be/NvxAhUkVgHU
Also please subscribe to my YouTube channel
I decided to pull the following data for the CSV file:
- channel name
- section name
- playlist name
- video title
- video link
- video time length
- number of views
- publication date
- number of likes
- number of dislikes
- video description
I have embedded a gist here that you can see and get the code from:
You need python 3.6 or greater and just need to change the channel name near the top of the program.
Then run it to create the CSV and HTML file in the current run directory.
If you only need the HTML, json, or CSV file, see the if __name__ == '__main__' section and write an driver py program with imports like run_json.py example.
5/25/18
4/27/18
3/28/18
3/26/18
3/21/18
3/15/18
One Link to find FREE images though Google Search
HOW TO FIND FREE PICTURES AND IMAGES
Click on this image to search:
(you can bookmark it of course)Just use this image to link to google search that already has the advanced settings for finding free images.
Once there:
- type in a search phrase for image
- click on image that you what
- you can then select to download one you see
- or click on visit to go to the original page which may have other sizes
The images you see in searh are under the following copyright license or equivalent:
CC0 License
✓ Free for personal and commercial use
✓ No attribution required
So you are free to use it for anything including commercial use, without attribution to the original author, including modifying it.
3/13/18
Strava Global Heatmap lands Strava in Hot Water:
Strava Global Heatmap lands Strava in Hot Water:
Strava developed a online map of the world showing activity tracker of people's paths that wear the Strava devices.
It was released in November 2017.
(Strava Heatmap Site)
The map shows activity of billions of activities around the world. Unfortunately it also showed activity at sensitive locations like areas 51, the pentagon, and arms services bases overseas. This was pointed out by Nathan Ruser on Twitter (Twitter Reference)
File this one under 'Unintended Consequences of New Tech'
Strava developed a online map of the world showing activity tracker of people's paths that wear the Strava devices.
It was released in November 2017.
(Strava Heatmap Site)
The map shows activity of billions of activities around the world. Unfortunately it also showed activity at sensitive locations like areas 51, the pentagon, and arms services bases overseas. This was pointed out by Nathan Ruser on Twitter (Twitter Reference)
File this one under 'Unintended Consequences of New Tech'
Subscribe to:
Posts (Atom)

