Posts by Planet Python
Author: Planet Python
Let’s Build A Simple Interpreter. Part 11.

Feed: Planet Python. Author: . Date Tue, September 20, 2016 I was sitting in my room the other day and thinking about how much we had covered, and I thought I would recap what we’ve learned so far and what lies ahead of us. Up until now we’ve learned: How to break sentences into tokens. The process is called lexical analysis and the part of the interpreter that does it is called a lexical analyzer, lexer, scanner, or tokenizer. We’ve learned how to write our own lexer from the ground up without using regular expressions or any other tools like Lex. How ... Read More
Rambling Thoughts on PyCon UK 2016 « Moderate Realism

Feed: Planet Python. Author: . If you track back through my write-ups of my previous PyCon UK experiences, you’ll see a bit of a trend: every year I say something like “This year was different”. And so it was this year. But this year it was differently different: it was different for the whole of PyCon UK, not just for me. PyCon UK was famously the brainchild of John Pinner (RIP) and was organised and run by him and a team of Python enthusiasts from the West Midlands with help from elsewhere. But we had clearly outgrown our Coventry venue: ... Read More
What was I thinking?

Feed: Planet Python. Author: . Check out this idiocy: https://github.com/slott56/py-falseWhat is the point? Seriously. What. The. Actual. Heck?I think of it this way.Languages are a cool thing. Especially programming languages where there's an absolute test -- the Turing machine -- for completeness. The Forth-like stack language is a cool thing. I've always liked Forth because if it's elegant simplicity. The use of a first-class lambda construct to implement if and while is particularly elegant. Small languages are fun because they can be understood completely. There are no tricky edge cases in the semantics. I have ½ of a working GW-Basic implementation ... Read More
Planet Python

Feed: Planet Python. Author: . Last update: September 20, 2016 04:51 AM September 19, 2016 Curtis Miller An Introduction to Stock Market Data Analysis with Python (Part 1) This post is the first in a two-part series on stock data analysis using Python, based on a lecture I gave on the subject for MATH 3900 (Data Science) at the University of Utah. In these posts, I will discuss basics such as obtaining the data from Yahoo! Finance using pandas, visualizing stock data, moving…Read more An Introduction to Stock Market Data Analysis with Python (Part 1) September 19, 2016 03:00 PM Andre ... Read More
Backward incompatible change in handling permalinks with Reeborg coming soon

Feed: Planet Python. Author: . About two years ago, I implemented a permalink scheme which was intended to facilitate sharing various programming tasks in Reeborg's World. As I added new capabilities, the number of possible items to include grew tremendously. In fact, for rich enough worlds, the permalink can be too long for the browser to handle. To deal with such situations, I had to implement a clumsy way to import and interpret those permalinks after the page had been loaded. To give an idea of the potential complexity, here is a permalink (used by a teacher in Lithuania) that ... Read More
PYPTUG Monthly meeting September 27th 2016 (Just bring Glue)

Feed: Planet Python. Author: . Come join PYPTUG at out next monthly meeting (August 30th 2016) to learn more about the Python programming language, modules and tools. Python is the perfect language to learn if you've never programmed before, and at the other end, it is also the perfect tool that no expert would do without. Monthly meetings are in addition to our project nights. What Meeting will start at 6:00pm. We will open on an Intro to PYPTUG and on how to get started with Python, PYPTUG activities and members projects, in particular some updates on the Quadcopter project, then on to News from ... Read More
Choosing a CI service for your open-source project — Butlablog

Feed: Planet Python. Author: . I host my code on GitHub, as probably many or you do . The easiest way to have it automatically tested in a clean environment (what everyone should do) is, of course, to use one of the hosted CI services integrated with GitHub. One thing to note - some take the label of “continuous integration”, some “continuous delivery”, but their capabilities are similar. Nevertheless there quite a few of them to choose... Travis I don’t know if it actually is, but for me, it seems that Travis is the oldest, most well known and most ... Read More
Ansible Workshop – BangPypers September Meetup – BangPypers

Feed: Planet Python. Author: . September Bangpypers meetup happened at RedHat office in Bannerghata road. 31 people attended the event. In the previous meetup Abraham presented a talk on ansible. Many participants were interested in it and so we planned for workshop this time. Abraham started workshop with brief explanation of virtualbox, vagrant and ansible. He helped participants to setup them. After that he explained simple ansible modules like ping, shell e.t.c and how to run those on target machines. Later he explained about ansible playbook and how to can configure them. We had lunch break for about 30 minutes ... Read More
Python & WebDAV- part two

Feed: Planet Python. Author: . I was searching for good python library to work with WebDAV for a long time. I finally found it- easywebdav. It works nicely but the problem is that doesn't have support for python 3. Let's jump quickly to my simple project for cli tool- webdav editor. I decided to create cli tool to work with WebDAV server- webdav editor. Right now it supports only basic commands like login, listing the content of directories, uploading and downloading files. I started from creating file webdav_utility.py: from urlparse import urlparse import easywebdav class Client(object): def login(self, *args): argparse_namespace ... Read More
Deciphering Glyph :: Hitting The Wall

Feed: Planet Python. Author: . I’m an introvert. I say that with a full-on appreciation of just how awful thinkpieces on “introverts” are. However, I feel compelled to write about this today because of a certain type of social pressure that a certain type of introvert faces. Specifically, I am a high-energy introvert. Cementing this piece’s place in the hallowed halls of just awful thinkpieces, allow me to compare my mild cognitive fatigue with the plight of those suffering from chronic illness and disability. There’s a social phenomenon associated with many chronic illnesses, “but you don’t LOOK sick”, where well-meaning ... Read More
Recent Comments