Python basics
Below is a list of Python basic syntax. See also Python tutorial for PHP Developers. comments in Python starts with # print(‘Hello World’) print(“Hello World”) Python 3 has...
read moreResources for learning Python
There is a free Creative commons licensed book called Think Python by Green Tea Press. There is an interactive introduction to Pyton at CodeAcademy. And a free (at the time of this writing) Python...
read moreIntroduction to Python Strings
Python Strings In PHP, the \n gets interpolated when contained within double-quotes … print("Hello\nWorld"); and is taken literally when contained within single quotes...
read moreExamples of Python Classes
This tutorial is part of the Python tutorial for PHP developers. So some programming knowledge is assumed. We start with a Python class example based from A Byte of Python … class Person: ...
read morePython Tutorial for PHP Developers
This Python tutorial is ideally suited for those PHP developers who are transitioning to Python. If you are a PHP developer who wants to learn Python 3, here is a quick tutorial guide of Python...
read moreTutorial on Using Sqlite3 Database with Python
Python comes with SQLite3 database. It is self-contained and doesn’t require any additional installation. Here is an example tutorial of how to use it. import sqlite3 db =...
read moreAll contents are opinions and are copyrighted and may contain display ads and ad links for which site may receive revenues from.
See Terms of Use and Privacy Policy.