macloo + python   161

Core Python Tutorials – Real Python
This page features all of our “pure Python” tutorials that focus on the core language features.
python  tutorials  basics 
5 weeks ago by macloo
To scrape or not to scrape: technical and ethical challenges of collecting data off the web - Storybench
Best Practices for Scraping: From Ethics to Techniques. " just because you can scrape it does that mean you should? As a data journalist, when is web scraping the right choice? And, more importantly, when is it right for you?" CONTAINS GRAPHC - flow chart showing when you should or should not scrape.
scraping  python  ethics  journalism 
6 weeks ago by macloo
Economics Nobel laureate Paul Romer is a Python programming convert — Quartz
"Romer believes that open-source notebooks are the way forward for sharing research. He believes they support integrity, while proprietary software encourage secrecy. “The more I learn about proprietary software, the more I worry that objective truth might perish from the earth,” he wrote."
python  programming  economics  data  coding  lovepython 
october 2018 by macloo
An introduction to the Flask Python web app framework |
First of four articles comparing different Python frameworks, building the same project in each one.
python  flask  project  tutorial 
may 2018 by macloo
Geocode as many addresses as you'd like with a powerful Python and Google Geocoding API combination
Python script for batch geocoding of addresses using the Google Geocoding API.
This script allows for massive lists of addresses to be geocoded for free by pausing when the geocoder hits the free rate limit set by Google (2500 per day). If you have an API key for paid geocoding from Google, set it in the API key section.
python  map  geocode  addresses 
april 2018 by macloo
Python Pickle Tutorial (article) - DataCamp
As a data scientist, you will use sets of data in the form of dictionaries, DataFrames, or any other data type. When working with those, you might want to save them to a file, so you can use them later on or send them to someone else. This is what Python's pickle module is for: it serializes objects so they can be saved to a file, and loaded in a program again later on.
python  files 
april 2018 by macloo
ryanmcgrath/twython: Actively maintained, pure Python wrapper for the Twitter API. Supports both normal and streaming Twitter APIs.
Twython is the premier Python library providing an easy (and up-to-date) way to access Twitter data. Actively maintained and featuring support for Python 2.6+ and Python 3. It's been battle tested by companies, educational institutions and individuals alike. Try it today!
twitter  python 
april 2018 by macloo
Twython — Twython 3.6.0 documentation
Actively maintained, pure Python wrapper for the Twitter API. Supports both normal and streaming Twitter APIs
twitter  python 
april 2018 by macloo
Natural Language Toolkit — NLTK 3.2.5 documentation
NLTK is a leading platform for building Python programs to work with human language data. It provides easy-to-use interfaces to over 50 corpora and lexical resources such as WordNet, along with a suite of text processing libraries for classification, tokenization, stemming, tagging, parsing, and semantic reasoning, wrappers for industrial-strength NLP libraries, and an active discussion forum.
python  text  language  NLP 
april 2018 by macloo
PyBites – How to Order Dict Output in Python
Sorting the Output in Numerical Order

Now for the flip side. What if I wanted to sort it in numerical order which would be by the value in this case?

Identical as the above sort with one tiny change:

>>> sorted(ages.items(), key=lambda x: x[1])
[('zack', 3), ('julian', 20), ('bob', 23), ('daniel', 41), ('anthony', 95)]

IN THIS SAME POST, he tells us how to sort by keys or by values - result is a list of tuples.
dictionary  python  sort  order 
march 2018 by macloo
How to resize images with Python |
Proportional resizing - works great! Using Pillow library (which I have, in automate env)
python  images  automate  code 
november 2017 by macloo
5. Data Structures — Python 3.6.1 documentation
Great, concise reference for lists, sets, tuples, dicts. Including how to loop over dicts.
python  lists  dictionaries  dicts  reference 
may 2017 by macloo
What are the 10 best features of Python? - Quora
I like how people have shown short examples of cool things you can do with very little code in Python.
python  tips  reference  resource 
may 2017 by macloo
Hands On Intro to Python for New Programmers PyCon 2017 - YouTube
3 hours (!) of slow-paced hands-on interactive instruction for absolute beginners
education  learning  python  training  video  PyCon2017  beginners 
may 2017 by macloo
Fantastic Data and Where To Find Them: An introduction to APIs, RSS, and Scraping - PyCon 2017 - YouTube
Fantastic Data and Where To Find Them: An introduction to APIs, RSS, and Scraping - PyCon 2017
python  data  scraping  howto  video  PyCon2017 
may 2017 by macloo
TextBlob: Simplified Text Processing — TextBlob 0.12.0 documentation
Features ---

Noun phrase extraction
Part-of-speech tagging
Sentiment analysis
Classification (Naive Bayes, Decision Tree)
Language translation and detection powered by Google Translate
Tokenization (splitting text into words and sentences)
Word and phrase frequencies
Word inflection (pluralization and singularization) and lemmatization
Spelling correction
Add new models or languages through extensions
WordNet integration
python  language  NLP  library 
may 2017 by macloo
pyparsing 1.5.7 : Python Package Index
Pyparsing ( is a Python module for creating text parsers. It was developed by Paul McGuire. Install with pip for most versions of Python. (Note: The Anaconda Python Bundle, highly recommended for serious Python developers, includes pyparsing.)

First, you create a grammar to specify what should be matched. Then, you call a parsing function from the grammar and it returns text tokens while automatically skipping over white space. Pyparsing provides many functions for specifying what should be matched, how items should repeat, and more.

python  library  parser 
may 2017 by macloo
mechanize 0.3.2 : Python Package Index
mechanize is a mature and widely-used tool for programmatic web-browsing with a lot of built-in features, like cookie handing, browser history, form submissions. The key thing to understand here is that mechanize.Browser is not a real browser, it cannot execute and understand javascript, it cannot send asynchronous requests often needed to form a web page.

Different skill set than Selenium.
python  scraping  browser  automation  forms 
may 2017 by macloo
Pillow 4.1.1 : Python Package Index
The Python Imaging Library adds image processing capabilities to your Python interpreter. This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities.
python  library  images  graphics  formats 
may 2017 by macloo
Intro to Flask-Admin - YouTube
Intro to Flask-Admin -- quick and easy way to create an Admin system with
flask  python  video 
april 2017 by macloo
Folium — Folium 0.2.0 documentation
Folium builds on the data wrangling strengths of the Python ecosystem and the mapping strengths of the Leaflet.js library. Manipulate your data in Python, then visualize it in on a Leaflet map via Folium.
leaflet  maps  python  library 
april 2017 by macloo
Python's SQLAlchemy vs Other ORMs | Python Central
Comparison of Python ORMs - SQLObject, Storm, Django's ORM, peewee, PonyORM, SQLAlchemy -- examples -- comparison list at bottom
python  sql  SQLAlchemy 
april 2017 by macloo
A step-by-step SQLAlchemy tutorial
This is a very clear tutorial, and suitable for beginners (who have prior database experience)
database  python  sql  tutorial  SQLAlchemy 
april 2017 by macloo
Profiling and optimizing your Python code - Toucan Toco
Find out what makes your code run slowly - e.g. a sorting problem - by running profiling
python  profiling  optimization 
april 2017 by macloo
copytext 0.1.8 (beta) — copytext 0.1.8 (beta) documentation
omg a Flask app that builds stories from an xlsx spreadsheet - from NPR
flask  python  journalism  npr  code 
march 2017 by macloo
An Introduction to Python’s Flask Framework
Start reading at "Setting up the Project Structure"
2013 -- but this is nice and clear
flask  python  tutorial 
march 2017 by macloo
Python Tutorial: Dictionaries
Nice how-to site for both Python 2 and 3.
python  tutorial  how-to  howto  learn 
february 2017 by macloo
Hack This: An Overdue Python Primer | Motherboard
"This post is then intended then as a sort of in-between edition of Hack This, covering a handful of Python features that are going to recur in pretty much every programming tutorial that we do under the Hack This name."
python  resource  reference  beginners 
october 2016 by macloo
12 versions of the same algorithm in JavaScript, Python, and Go – Medium
Comparing JavaScript and Python code in a very simple way. Multiple examples for each language.
python  javascript  reference 
september 2016 by macloo
Heroku Toolbelt
App for using Heroku - Heroku client - CLI tool for creating and managing Heroku apps
deployment  heroku  python 
april 2016 by macloo
Short Guide to Running Python Scripts with cPanel | cPanel Forums
Not how to deploy an app -- but you can get a Python script to run on your server.
python  cpanel  reclaim_hosting  howto  how-to 
april 2016 by macloo
Overview — Sphinx 1.3.7+ documentation
Writing documentation with nice structure and code samples
markdown  python  documents 
march 2016 by macloo
Create the Folder Structure - Compiling a Web Development Environment on Mac OS X
/usr/local on Mac OSX - instructions to set up these hidden folders with permissions
mac  osx  development  python  linux 
february 2016 by macloo
PythonLearn - Exploring Data
The goal of this site is to provide a set of materials in support of my Python for Informatics: Exploring Information book to allow you to learn Python on your own. This page serves as an outline of the materials to support the textbook. You can download the exercises, audio, and video lectures to your local computer so you can play them locally.
programming  python  reference  tutorial  book  learn  teach 
december 2015 by macloo
« earlier      
per page:    204080120160

related tags

about  addresses  algorithm  algorithms  Amazon  API  app  automate  automation  basics  beautifulsoup  beginner  beginners  blogging  boilerplate  book  books  browser  cgi  cloud  CMS  code  coding  containers  coursera  courses  cpanel  csv  data  database  datajournalism  dataviz  decorators  dependencies  deployment  development  dictionaries  dictionary  dicts  docker  documents  ebooks  economics  education  email  ethics  examples  exercises  files  flask  folium  formats  forms  framework  free  freeware  games  geocode  github  Gmail  google  graphics  heroku  how-to  howto  IDE  images  import  interactive  IRE  javascript  jiconf  journalism  jupyter  language  leaflet  learn  learning  library  linux  lists  listserv  lovepython  mac  map  maps  markdown  minecraft  mmc4341  mobile  news  NGINX  NICAR  NLP  node.js  npr  object-oriented  OOP  opensource  optimization  order  osx  parser  pip  practice  profiling  programming  project  PyCon2017  python  R-project  raspberrypi  reclaim_hosting  reference  regex  resource  resources  roadtrip  ruby  scraping  server  sms  smtp  socialmedia  sort  sql  SQLAlchemy  statistics  story_design  syllabus  tables  teach  teaching  templates  testing  text  tiles  tips  tools  training  translate  travel  tutorial  tutorials  twilio  twitter  ui  university  video  virtualenv  visualization  vitualenv  web  webdesign  webdev  windows  workshops  workspace  xampp 

Copy this bookmark: