Python
Python is a remarkably powerful dynamic programming language that is used in a wide variety of application domains. Python is often compared to TCL, Perl, PHP, Ruby, Scheme or Java.
Contents
Specifications
- Web Server Gateway Interface (WSGI) -- PEP 3333: https://wsgi.readthedocs.io/en/latest/ (describes how a web server communicates with web applications, and how web applications can be chained together to process one request)
Language
Some of Python's key distinguishing features include:
* very clear, readable syntax * strong introspection capabilities * intuitive object orientation * natural expression of procedural code * full modularity, supporting hierarchical packages * exception-based error handling * very high level dynamic data types * extensive standard libraries and third party modules for virtually every task * extensions and modules easily written in C, C++ (or Java for Jython, or .NET languages for IronPython) * embeddable within applications as a scripting interface
Python's core language syntax differs from a number of comparable programming languages in that it does not require line-ending indicators and instead relies on newline as a marker of logical terminations. In addition, where other curly braces "{ stuff }" or other indicators are used for code or logic blocks, indentation (i.e. tabs or spaces bringing one line of code below another) are used to indicate the logical flow of Python programs. For these reasons, the use of whitespace in Python is considered very important to learn and constantly keep in mind while programming, with an emphasis on conciseness and clarity.
Operators
Standard arithmetic operators are used in Python:
Operator | Description |
---|---|
** | Exponentiation (raise to the power) |
~ + - | Complement, unary plus and minus (method names for the last two are +@ and -@) |
* / % // | Multiply, divide, modulo and floor division |
+ - | Addition and subtraction |
The standard assignment operators you'd expect are there:
Operator | Description |
---|---|
= %= /= //= -= += *= **= | Assignment operators |
In addition to bitwise logic operators:
Operator | Description |
---|---|
>> << | Right and left bitwise shift |
& | Bitwise 'AND' |
^ | | Bitwise exclusive `OR' and regular `OR' |
<= < > >= | Comparison operators |
<> == != | Equality operators |
And also a few Python-specific operators/shorthands:
Operator | Description |
---|---|
is is not | Identity operators |
in not in | Membership operators |
Lastly, the standard logic operators you'd expect are also in Python and evaluate last:
Operator | Description |
---|---|
not or and | Logical operators |
The order in which the operators are listed here (from top to bottom, left to right) also indicates the operator precedence, so exponentiation "**" takes first precedence, down to the logic "not", "or" "and".
Reserved/native keywords
The following list shows the Python keywords. These are reserved words and you cannot use them as constant or variable or any other identifier names. All the Python keywords contain lowercase letters only.
and | exec | not |
assert | finally | or |
break | for | pass |
class | from | |
continue | global | raise |
def | if | return |
del | import | try |
elif | in | while |
else | is | with |
except | lambda | yield |
Variables
There is no typing requirement in Python (though it is possible with OOP frameworks), so you simply declare a variable and assign it a value:
message = 'Hello World'
Or for numerical calculations:
There is also no strict preference on the casing of variables. You could use camelCase, or [ underscore_casing] and others preferred naming conventions.
Variable declarations can be broken down to multiple lines if necessary:
total = item_one + \ item_two + \ item_three + \ item_four
Statements contained within the [], {}, or () brackets do not need to use Python's "line-continuation" character:
days = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday']
Text
Variables that would be considered Strings in other languages are just considered text characters or "blocks of text".
You can set a word variable as follows using opening and closing single-quotes ('):
word = 'word'
Alternatively, single-line longer text content can (but does not need to) use opening and closing double-quotes ("):
sentence = "This is a sentence."
Multi-line content should use the Python-unique opening and closing triple-quote syntax ("""):
paragraph = """This is a paragraph. It is made up of multiple lines and sentences."""
Suites
Code blocks of IF/ELSE statements that evaluate how a program executes based on particular condition(s) are called Suites.
if expression : suite elif expression : suite else : suite
User Input
You can prompt the user for input at the command-line/terminal using the following:
raw_input("\n\nPress the enter key.")
Where of course each "\n" indicates a newline, typically done to make the prompt instructions clear to the user (spacing out and bringing the keyboard cursor down two spaces from the command-line run line from which the Python program was called to begin with). [4]
Output
Messages or data can be output to the console window (or if using a CGI/Web library, to a browser) using:
print 'message or data to output goes here'
You can easily combine text and text (concatenate strings as it is referred to in other languages):
x = 'Hello' y = 'World' print('I just wanted to say: ' + x + y)
And just as easily combine text and numbers, but need to convert to String first using str native function or else will suffer a TypeError[5]:
x = 1 y = 2 print('Sum: ' + str(x + y))
NOTE that while Python 2.x and earlier supported use of print without opening and closing brackets (as a keyword not function) in Python 3.x you must put all printed values within opening and closing brackets, similar to a function/method call with one big "output" parameter representing the values being output to the screen.
Comments
Comments use either this format for multi-line, single-line, or end-of-line comments:
# small comments go here
Python 2.x supported the Java/C style syntax, but it has been phased out in Python 3.x:
/** * Multi-line comments */
Mixin
A mixin is a special kind of multiple inheritance. There are two main situations where mixins are used:
- You want to provide a lot of optional features for a class.
- You want to use one particular feature in a lot of different classes.
class Mixin1(object): def test(self): print("Mixin1") class Mixin2(object): def test(self): print("Mixin2") class MyClass(Mixin2, Mixin1): pass obj = MyClass() obj.test()
- Python - mixins: http://www.ianlewis.org/en/mixins-and-python
- Using Mix-ins with Python: http://www.linuxjournal.com/node/4540/print
- When would you use a Python mixin?: http://ahal.ca/blog/2014/when-would-you-use-python-mixin/ (criticism)
Libraries
Writing (rolling) your own library is one of the main barriers to productivity in Python. Once you've "crossed" this barrier, you will have a much better handle on the language. Libraries in Python are actually referred to as Modules.
A module is any file containing Python definitions and statements, where the filename becomes the module name with the suffix .py appended. To group many .py files together to provide a broader set of capabilities, put them in a folder. Any folder with an __init__.py is considered a module by python and you can call folders of modules a package.
A package is a way of structuring Python’s module namespace by using "dotted module names". For example, the module name A.B' designates a submodule named B in a package named A. Just like the use of modules saves the authors of different modules from having to worry about each other’s global variable names, the use of dotted module names saves the authors of "multi-module packages" like BeautifulSoup, NumPy or the Python Imaging Library from having to worry about each other's (and the rest of the world's) module names, avoiding variable collisions or naming conflicts.
- Python 2.x - Modules/Packages: https://docs.python.org/2/tutorial/modules.html#packages[7][8][9][10][11]
- Python 3.x - Modules/Packages: https://docs.python.org/3/tutorial/modules.html#packages[12]
Imports
Importing is key to extending the base capabilities of the language, and is done as follows:
from package import module
The "from package" section can be ommitted, for example:
import requests
Package names can be simple, as in this example to work with WSGI web framework "wekzeug":
from werkzeug import BaseRequest, AcceptMixin
Or dotted and more specific, as in this example to include Django's "Models" ORM lib for working with databases:
from django.db import models
This could go for several levels if needed to ensure specificity and no namespace collision, for example to include the external Cryptography hash classes, you could use:
from cryptography.hazmat.primitives import hashes
PIP
Recrusive acronym PIP Installs Packages (PIP) is the Python package manager for bringing in useful third party libraries and managing dependencies within your own Python code.
If you've written a library/module that you think would be useful to the broader community, you can submit it for consideration for inclusion on the Python package index. If it really is found to be useful by the broader community, then it may get featured on the Useful Modules section which would garner more significant attention and traffic.
- Python Packages index: http://pypi.python.org/pypi?%3Aaction=browse
- Python - Useful Modules: http://wiki.python.org/moin/UsefulModules
Auto-updating
- PyInstall: | PIP (pip install pyinstaller)
- PyUpdater: https://www.pyupdater.org/ | PIP (pip install pyupdate)
Obsfucation
- Oxyry Python Obfuscator - online tool: https://pyob.oxyry.com/
- How to effectively obfuscate your python code: https://www.codementor.io/@peequeelle/how-to-effectively-obfuscate-your-python-code-kdcoep1fs
Tools
- Python 3.x - online interpreter: http://www.tutorialspoint.com/execute_python3_online.php
- Python 2.x - online interpreter: http://www.tutorialspoint.com/execute_python_online.php
- PythonInTheBrowser (Silverlight-powered browser pass-thru command-line): http://www.trypython.org/
- pyscripter: http://code.google.com/p/pyscripter/ (Python IDE for Windows)
- Jython: http://www.jython.org/ | DOCS (Java-Python integration)[23][24]
- PiP - Python in PHP: http://www.csh.rit.edu/~jon/projects/pip/ (access Python libs in PHP and vice-versa)
- Jupyter Notebooks: https://jupyter.org/ (formerly known as the IPython Notebook)[25]
- Jupyter Notebooks: https://towardsdatascience.com/jupyter-is-the-new-excel-a7a22f2fc13a[26]
Resources
- Dive Into Python 3: http://www.diveintopython3.org/
- Hitchiker's Guide to Python: http://docs.python-guide.org/
- Google's Python Class: http://code.google.com/edu/languages/google-python-class/
- The Django Book: http://www.djangobook.com/en/2.0/
Libs
- PyUnit - unit testing: http://pyunit.sourceforge.net/ (the standard unit testing framework for Python, their version of jUnit)
- Python - native JSON lib: http://docs.python.org/library/json.html (JSON input/output)
- lxml: http://lxml.de/ | PIP (XML input/output)[27]
- requests: http://docs.python-requests.org | PIP (popular and highly-recommended alternative HTTP lib to the native urllib)
- Scrapy: http://scrapy.org/ | PIP (Web Scraper)
- BeautifulSoup: http://www.crummy.com/software/BeautifulSoup/ | PIP (HTML parser)
- NumPy: http://www.numpy.org/ | PIP (fundamental package for scientific computing & BigData)[28]
- SciPy: http://www.scipy.org/ | PIP (mathematics, science & engineering computations built atop NumPy)
- TensorFlow: http://www.tensorflow.org/ | PIP (Machine Learning)[29][30]
- HiPlot (Python-based data visualization framework): https://facebookresearch.github.io/hiplot/ | DOCS[31][32]
- Twisted: https://twistedmatrix.com/trac/ | PIP (event-driven networking engine)
- SoapPy: http://github.com/kiorky/SOAPpy | PIP (SOAP framework)
- eve: http://python-eve.org/index.html | PIP (REST framework)
- tablib: http://docs.python-tablib.org/en/latest/ | PIP (import/export/manipulate tabular data sets)
- records: http://github.com/kennethreitz/records | PIP (Python's missing SQL wrapper, aka. "python ODBC")[33][34]
- cryptography.io: https://cryptography.io/en/latest/ | PIP (cryptography libs[35])
- Django: http://www.djangoproject.com/ | PIP (web framework)[36]
- Flask: http://flask.pocoo.org/ | PIP (WSGI-based web framework with routing, often combined with Django and/or used to build APIs)[37]
- FastAPI: https://fastapi.tiangolo.com/ (an increasingly popular WebService/API framework)[38]
- Web.PY: http://webpy.org/ | PIP (web framework)
- web2py: http://web2py.com | PIP (web framework)
- CherryPy: http://cherrypy.org/ | PIP (web framework)
- pyglet: http://web.archive.org/web/20110407174753/http://pyglet.org/doc/programming_guide/ | PIP (once the leading gaming engine for Python, no longer actively maintained)[39]
- pymt -- pyglet UI: http://code.google.com/p/pymt/ (a multi-touch UI toolkit for pyglet)
- Python - GUI libs: http://docs.python-guide.org/en/latest/scenarios/gui/ (pyQT, wxPython, PyGTK, tkinter, etc)[40]
Tutorials
- The (official) Python 3 Tutorial: http://docs.python.org/py3k/tutorial/
- How to manage multiple Python versions and virtual environments: https://www.freecodecamp.org/news/manage-multiple-python-versions-and-virtual-environments-venv-pyenv-pyvenv-a29fb00c296f/
- Install Django for Python in JustHost shared hosting server: http://flailingmonkey.com/install-django-justhost
- A Beginner's Python Tutorial: http://www.sthurlow.com/python/
- The Hitchhiker’s Guide to Packaging Python (modules): http://guide.python-distribute.org/
- Learn Python Django in 4 Hours: https://dzone.com/articles/learn-python-django-in-4-hours
- Non-Programmer's Tutorial for Python 3: http://en.wikibooks.org/wiki/Non-Programmer's_Tutorial_for_Python_3
- Hands-On Python -- A Tutorial Introduction for Beginners (Python Version 3.1): http://anh.cs.luc.edu/python/hands-on/3.0/handsonHtml/handson.html
- Python Quick-start Guide: http://www.tutorialspoint.com/python/
- Learn Python in 10 minutes: http://www.korokithakis.net/tutorials/python
- Python 2.5 Tutorial: http://www.python.org/doc/2.5.2/tut/tut.html[41]
- Getting Started With Testing in Python: https://realpython.com/python-testing/
- How can I read inputs as integers?: https://stackoverflow.com/questions/20449427/how-can-i-read-inputs-as-integers
- Python Array Contains -How To Check If Item Exists In Array?: https://www.pakainfo.com/python-array-contains/
- Google Prediction API - Python sample (Blog spam moderation): http://code.google.com/p/google-prediction-api-samples/source/browse/#svn%2Ftrunk%2Fblog_moderation%2Fsrc%253Fstate%253Dclosed
- Efficient String Concatenation in Python: http://www.skymind.com/~ocrow/python_string/
- Code Mistakes -- Python's for Loop: https://dzone.com/articles/code-mistakes-pythons-for-loop
* Check if word is in a String: http://stackoverflow.com/questions/5319922/python-check-if-word-is-in-a-string
- Python String and Integer concatenation: http://stackoverflow.com/questions/2847386/python-string-and-integer-concatenation
- Replace all characters in a string with asterisks: https://stackoverflow.com/questions/33664190/replace-all-characters-in-a-string-with-asterisks
- Accept passwords securely (without outputting raw unmasked text value to console):
- Python getpass example where password is not echoed to the terminal: https://stackoverflow.com/questions/23160171/python-getpass-example-where-password-is-not-echoed-to-the-terminal
- Using getpass with argparse: https://stackoverflow.com/questions/27921629/python-using-getpass-with-argparse (look for specific command-line argument to decide whether to prompt user for password)
- How would I specify a new line in Python?: https://stackoverflow.com/questions/11497376/how-would-i-specify-a-new-line-in-python
- How do I create a multiline Python string with inline variables?: https://stackoverflow.com/questions/10112614/how-do-i-create-a-multiline-python-string-with-inline-variables[42]
- How do you append to a file?: https://stackoverflow.com/questions/4706499/how-do-you-append-to-a-file
- Replacing (specific) text in a file with Python: https://stackoverflow.com/questions/13089234/replacing-text-in-a-file-with-python
- Python List Functions - The Definitive Guide: https://dzone.com/articles/python-list-functions-easy-guide
- Python “tricks” I can not live without: https://levelup.gitconnected.com/python-tricks-i-can-not-live-without-87ae6aff3af8
- Setting a default variable value if param is not defined: http://stackoverflow.com/questions/9169014/setting-a-default-variable-value-if-param-is-not-defined
[43] [44] [45] [46] [47] [48] [49] [50]
- Configuring the Apache Web Server to Run Python on Windows: http://editrocket.com/articles/python_apache_windows.html
- Code a simple socket server in Python: http://www.binarytides.com/python-socket-server-code-example/
- Constantly looking for user input in Python: http://stackoverflow.com/questions/9105990/constantly-looking-for-user-input-in-python* Python - CGI Programming: https://www.tutorialspoint.com/python/python_cgi_programming.htm
- Python CGI - Hello world example: http://webpython.codepoint.net/cgi_hello_world
- A Simple Python CGI Server Tutorial - CGI Input/Output: http://pointlessprogramming.wordpress.com/2011/02/13/python-cgi-tutorial-1/ | Part II
- Parsing URL query parameters in Python: http://atomized.org/2008/06/parsing-url-query-parameters-in-python/
- Python Simple HTTP Server With CGI Scripts Enabled: http://dzone.com/articles/python-simple-http-server-with-cgi-scripts-enabled
- Building a Simple Web Server in Python: http://python.about.com/od/networkingwithpython/ss/PythonWebServer.htm
- Retrieving parameters from a URL: https://stackoverflow.com/questions/5074803/retrieving-parameters-from-a-url
- Get current URL in Python: https://stackoverflow.com/questions/2764586/get-current-url-in-python
- URL Decoding query strings or form parameters in Python: https://www.urldecoder.io/python/
- GET and POST requests using Python: https://www.geeksforgeeks.org/get-post-requests-using-python/
- Python - HTTP Requests: https://www.tutorialspoint.com/python_network_programming/python_http_requests.htm
- Basic File Upload: http://www.python.org/doc/essays/ppt/sd99east/sld058.htm
- CGI File Upload: http://webpython.codepoint.net/cgi_file_upload
- Big File Upload: http://webpython.codepoint.net/cgi_big_file_upload
- A Better File Upload Progress Bar using Python, Ajax Prototype, & JSON: http://development.mumboe.com/?p=11
- Open HTTPS URL Through an HTTP Proxy and Upload Multi Part MIME Data using Python: http://www.hackorama.com/python/upload.shtml
- How to download large file in python with requests.py, urllib/shutil, ftpPyClient, etc)?: https://stackoverflow.com/questions/16694907/how-to-download-large-file-in-python-with-requests-py
- Sending SOAP request using Python Requests: https://stackoverflow.com/questions/18175489/sending-soap-request-using-python-requests
- Make Yahoo! Web Service REST calls with Python: http://developer.yahoo.com/python/python-rest.html
- Learn REST in Python - simple GET/POST examples: https://web.archive.org/web/20160312080224/http://rest.elkstein.org/2008/02/using-rest-in-python.html
- API Integration in Python - Part 1: https://realpython.com/blog/python/api-integration-in-python/
- Mocking External APIs in Python: https://realpython.com/blog/python/testing-third-party-apis-with-mocks/
- Testing External APIs With Mock Servers: https://realpython.com/blog/python/testing-third-party-apis-with-mock-servers/
- Testing in Django (Part 1) - Best Practices and Examples : https://realpython.com/blog/python/testing-in-django-part-1-best-practices-and-examples/
- How to Call Python From Java: https://www.baeldung.com/java-working-with-python
- Simple API Key Generation in Python: http://jetfar.com/simple-api-key-generation-in-python/
- Python APIs - The best-kept secret of OpenStack: http://www.ibm.com/developerworks/cloud/library/cl-openstack-pythonapis/index.html?ca=drs-
- Parse XML using Python: http://developer.yahoo.com/python/python-xml.html
- Dive Into Python - Chapter 9. XML Processing : http://diveintopython.org/xml_processing/index.html#kgp.divein
- Parse JSON using Python: http://developer.yahoo.com/python/python-json.html[57]
- Serializing JSON (Python 3): http://diveintopython3.org/serializing.html
- Python 101 - Recursion: https://dzone.com/articles/python-101-rescursion
- How to write the Fibonacci Sequence in Python: https://stackoverflow.com/questions/494594/how-to-write-the-fibonacci-sequence-in-python
- Difference between append vs. extend list methods in Python: https://stackoverflow.com/questions/252703/difference-between-append-vs-extend-list-methods-in-python
- Bayesian Linear Regression in Python -- Using Machine Learning to Predict Student Grades Part 1: https://towardsdatascience.com/bayesian-linear-regression-in-python-using-machine-learning-to-predict-student-grades-part-1-7d0ad817fca5
- An Introductory Example of Bayesian Optimization in Python with Hyperopt: https://towardsdatascience.com/an-introductory-example-of-bayesian-optimization-in-python-with-hyperopt-aae40fff4ff0
- An A-Z of useful Python tricks: https://medium.freecodecamp.org/an-a-z-of-useful-python-tricks-b467524ee747
- DataCamp -- Python - Finance Tutorial For Beginners: https://github.com/datacamp/datacamp-community-tutorials/blob/master/Python%20Finance%20Tutorial%20For%20Beginners/Python%20For%20Finance%20Beginners%20Tutorial.ipynb[58][59][60]
- DataCamp -- Python - Machine Learning tutorial: https://www.datacamp.com/community/tutorials/machine-learning-python
- DataCamp -- Python - TensorFlow tutorial: https://www.datacamp.com/community/tutorials/tensorflow-tutorial
- Microsoft eLearning -- Use basketball stats to optimize game play with Visual Studio Code: https://docs.microsoft.com/en-us/learn/paths/optimize-basketball-games-with-machine-learning/ (inspired by SPACE JAM: A NEW LEGACY)
- How To Create A Fully Automated AI Based Trading System With Python: https://towardsdatascience.com/how-to-create-a-fully-automated-ai-based-trading-system-with-python-708503c1a907
- NumPy Illustrated - The Visual Guide to NumPy: https://medium.com/better-programming/numpy-illustrated-the-visual-guide-to-numpy-3b1d4976de1d
- Python-SocketIO native lib: https://pypi.org/project/python-socketio/ (pip install python-socketio)
External Links
- wikipedia: Python (programming language)
- wikipedia: Web Server Gateway Interface (WSGI)
- Python Programming Language -- Official Website: http://www.python.org/ | DOWNLOAD
- Python 3.x-ready modules: http://python3wos.appspot.com/ (sarcastically called the "Wall of Superpowers" as it was initially all red in 2008-12-03[66] upon launch of Python 3.x, but as of 2017-01-11 is finally almost all green)
- Integrating Django with a legacy database: http://docs.djangoproject.com/en/dev/howto/legacy-databases/
- Java is Dead! Long Live Python!: http://cafe.elharo.com/programming/java-is-dead-long-live-python/
- Python vs. Java - HTTP GET Request Complexity: http://coreygoldberg.blogspot.com/2008/09/python-vs-java-http-get-request.html
- Python basics for PHP developers: http://www.ibm.com/developerworks/opensource/library/os-php-pythonbasics/index.html?S_TACT=105AGX01&S_CMP=HP
- Will Wall Street require Python?: http://www.itworld.com/government/105031/will-wall-street-require-python
- The SEC and the Python: http://jrvarma.wordpress.com/2010/04/16/the-sec-and-the-python/
- Basic Hints for Windows Command Line Programming: http://www.voidspace.org.uk/python/articles/command_line.shtml
- Installing Python (mod_python) on XAMPP (on Windows): http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/
- mod_python - publisher directive: http://webpython.codepoint.net/mod_python_publisher_apache_configuration
- How to upload multiple files in django admin models: http://stackoverflow.com/questions/4343413/how-to-upload-multiple-file-in-django-admin-models
- What are some interesting things to do with Python?: http://www.quora.com/Python-programming-language-1/What-are-some-interesting-things-to-do-with-Python
- The tilde operator in Python: http://stackoverflow.com/questions/8305199/the-tilde-operator-in-python
- Bitwise Hacks in Python/C: http://graphics.stanford.edu/~seander/bithacks.html
- How to convert strings into integers in python?: http://stackoverflow.com/questions/642154/how-to-convert-strings-into-integers-in-python
- How do I access command line arguments in Python?: http://stackoverflow.com/questions/4033723/how-do-i-access-command-line-arguments-in-python
- Network programming with Python - TCP client/server: http://stackoverflow.com/questions/26142305/network-programming-with-python-tcp-client-server
- Python Sockets - Server only receives once?: http://stackoverflow.com/questions/13793215/python-sockets-server-only-receives-once
- Python sockets can't send multiple messages — data is referenced before assignment: http://stackoverflow.com/questions/23382337/python-sockets-cant-send-multiple-messages-data-is-referenced-before-assignm
- Python socket on Windows 7 is not accessible from another machine: http://stackoverflow.com/questions/18920327/python-socket-on-windows-7-is-not-accessible-from-another-machine
- Roll Your Own Open Source Virtual Assistant with Python: http://adtmag.com/articles/2017/01/18/python-ai.aspx
- (When and) Why Python is Slow -- Looking Under the Hood: https://jakevdp.github.io/blog/2014/05/09/why-python-is-slow/
- The best of Python - a collection of my favorite articles from 2017 and 2018 (so far): https://medium.freecodecamp.org/python-collection-of-my-favorite-articles-8469b8455939
- Learn Functional Python in 10 Minutes: https://hackernoon.com/learn-functional-python-in-10-minutes-to-2d1651dece6f
- Python Tutorial for Beginners -- Modules Related to DateTime: https://dzone.com/articles/python-modules-related-to-datetime
- How to write your favorite R functions — in Python?: https://towardsdatascience.com/how-to-write-your-favorite-r-functions-in-python-11e1e9c29089
References
- ↑ Python - Basic Operators: http://www.tutorialspoint.com/python/python_basic_operators.htm
- ↑ Python - Bitwise Operators: http://www.tutorialspoint.com/python/bitwise_operators_example.htm
- ↑ Python basic syntax: http://www.tutorialspoint.com/python/python_basic_syntax.htm
- ↑ Passing Command line arguments to Python: https://unix.stackexchange.com/questions/321107/passing-command-line-arguments-to-python#321109
- ↑ TypeError - Can't convert 'int' object to str implicitly: http://stackoverflow.com/questions/13654168/typeerror-cant-convert-int-object-to-str-implicitly#13654181
- ↑ What is a mixin, and why are they useful?: http://stackoverflow.com/questions/533631/what-is-a-mixin-and-why-are-they-useful#547714
- ↑ Reddit - What are the top 10 built-in Python modules that a new Python programmer needs to know in detail? (self.Python): http://www.reddit.com/r/Python/comments/28yo37/what_are_the_top_10_builtin_python_modules_that_a/
- ↑ Top 10 Python libraries of 2015: http://tryolabs.com/blog/2015/12/15/top-10-python-libraries-of-2015/
- ↑ Top 10 Python libraries of 2016: http://tryolabs.com/blog/2016/12/20/top-10-python-libraries-of-2016/
- ↑ What are the top 10 most useful and influential Python libraries and frameworks?: http://www.quora.com/What-are-the-top-10-most-useful-and-influential-Python-libraries-and-frameworks
- ↑ Python: 50 modules for all needs: http://www.catswhocode.com/blog/python-50-modules-for-all-needs
- ↑ How to write a Python module?: http://stackoverflow.com/questions/15746675/how-to-write-a-python-module
- ↑ Importing Modules Using from module import: http://www.diveintopython.net/object_oriented_framework/importing_modules.html
- ↑ Inno Setup: https://jrsoftware.org/isinfo.php (free installer for Windows programs)
- ↑ Esky: https://pypi.org/project/esky/ | DOCS | SRC (pip install esky)
- ↑ How to remotely update Python applications: https://stackoverflow.com/questions/6932389/how-to-remotely-update-python-applications
- ↑ Restarting a self-updating python script: https://stackoverflow.com/questions/1750757/restarting-a-self-updating-python-script
- ↑ Python code obfuscation: https://medium.com/analytics-vidhya/python-code-obfuscation-a2779af857bb
- ↑ Python Code Obfuscator" https://github.com/brandonasuncion/Python-Code-Obfuscator
- ↑ How to obfuscate Python source code: https://laptrinhx.com/how-to-obfuscate-python-source-code-950946278/
- ↑ How to Obfuscate Code in Python - A Thought Experiment: https://therenegadecoder.com/code/how-to-obfuscate-code-in-python/
- ↑ How to obfuscate Python code effectively?: https://stackoverflow.com/questions/3344115/how-to-obfuscate-python-code-effectively
- ↑ Introduction to Jython Application Development Using NetBeans IDE: http://netbeans.org/kb/docs/python/jython-quickstart.html
- ↑ Introduction to Python Application Development Using NetBeans IDE: http://netbeans.org/kb/docs/python/python-quickstart.html
- ↑ The IPython Notebook is now known as the Jupyter Notebook: http://ipython.org/notebook.html
- ↑ DataCamp - Jupyter Notebooks (Python for Data Science): https://www.datacamp.com/community/tutorials/tutorial-jupyter-notebook
- ↑ Parsing XML (or xHTML) in Python with lxml: http://lxml.de/parsing.html
- ↑ Numpy Guide for People In a Hurry: https://towardsdatascience.com/numpy-guide-for-people-in-a-hurry-22232699259f
- ↑ TensorFlow API Docs - All symbols: http://www.tensorflow.org/api_docs/python/
- ↑ Top 15 Python Libraries for Data Science in 2017: https://medium.com/activewizards-machine-learning-company/top-15-python-libraries-for-data-science-in-in-2017-ab61b4f9b4a7
- ↑ HiPlot -- High-dimensional interactive plots made easy: https://ai.facebook.com/blog/hiplot-high-dimensional-interactive-plots-made-easy/
- ↑ HiPlot -- Interactive Visualization Tool by Facebook: https://towardsdatascience.com/hiplot-interactive-visualization-tool-by-facebook-f83aea1b639a
- ↑ Using Relational Databases with Python: http://halfcooked.com/presentations/osdc2006/python_databases.html
- ↑ Managing Records in Python with "record" .vs. "namedtuple": http://www.artima.com/weblogs/viewpost.jsp?thread=236637
- ↑ Cryptography options in Python: http://docs.python-guide.org/en/latest/scenarios/crypto/
- ↑ Running App Engine Applications on Django: http://code.google.com/appengine/articles/pure_django.html
- ↑ Should I learn Flask or Django?: http://www.quora.com/Should-I-learn-Flask-or-Django
- ↑ Abandoning Flask for FastAPI: https://python.plainenglish.io/abandoning-flask-for-fastapi-20105948b062
- ↑ Pyglet Tutorial: http://steveasleep.com/pyglettutorial.html
- ↑ Python GUI Examples (Tkinter Tutorial): https://dzone.com/articles/python-gui-examples-tkinter-tutorial-like-geeks
- ↑ Python for Windows: http://www.imladris.com/Scripts/PythonForWindows.html
- ↑ How do I create a multiline Python string with inline variables?: https://exceptionshub.com/how-do-i-create-a-multiline-python-string-with-inline-variables.html
- ↑ Ternary Operators in Python: https://book.pythontips.com/en/latest/ternary_operators.html
- ↑ Ternary Operator in Python?: https://www.tutorialspoint.com/ternary-operator-in-python
- ↑ Ternary Operator in Python: https://www.geeksforgeeks.org/ternary-operator-in-python/
- ↑ What is the most Pythonic way to provide a fall-back value in an assignment?: https://stackoverflow.com/questions/768175/what-is-the-most-pythonic-way-to-provide-a-fall-back-value-in-an-assignment
- ↑ Test multiple conditions with a Python if statement -- and & or explained: https://kodify.net/python/if-else/if-conditions/
- ↑ Python - Check if a list is empty or not: https://thispointer.com/python-check-if-a-list-or-list-of-lists-is-empty-or-not/
- ↑ Python - Check if string is empty or blank or contain spaces only: https://thispointer.com/python-check-if-string-is-empty-or-blank-or-contain-spaces-only/
- ↑ What is Null (None) in Python https://www.pythonpool.com/python-null/
- ↑ Serving Files with Python's SimpleHTTPServer module: https://stackabuse.com/serving-files-with-pythons-simplehttpserver-module/
- ↑ Simple Python HTTP(S) Server — Example: https://blog.anvileight.com/posts/simple-python-http-server/
- ↑ Exploring HTTPS With Python: https://realpython.com/python-https/
- ↑ Python HTTP to HTTPS redirector: https://elifulkerson.com/projects/http-https-redirect.php
- ↑ Python | os.environ object: https://www.geeksforgeeks.org/python-os-environ-object/
- ↑ Python requests call with URL using parameters: https://stackoverflow.com/questions/38476648/python-requests-call-with-url-using-parameters
- ↑ python parsing file json: http://stackoverflow.com/questions/2835559/python-parsing-file-json
- ↑ Packt -- Python for Finance (BOOK): https://www.packtpub.com/big-data-and-business-intelligence/python-finance-second-edition | SRC
- ↑ Packt -- Hands-On Python for Finance (BOOK): https://www.packtpub.com/big-data-and-business-intelligence/hands-python-finance | SRC
- ↑ Packt -- Mastering Python for Finance (BOOK): https://www.packtpub.com/big-data-and-business-intelligence/mastering-python-finance | SRC
- ↑ Python - Socket.io: https://python-socketio.readthedocs.io/en/latest/
- ↑ Python - Socket.io lib: https://github.com/miguelgrinberg/python-socketio
- ↑ How to emit message from python server to javascript client in python-socketio?: https://stackoverflow.com/questions/52788198/how-to-emit-message-from-python-server-to-javascript-client-in-python-socketio
- ↑ Implementation of (HTML5) WebSocket spec using Socket-IO in Python: https://www.includehelp.com/python/implementation-of-websocket-using-socket-io-in-python.aspx
- ↑ Learn Socket.IO with Python and JavaScript in 90 Minutes!: https://blog.miguelgrinberg.com/post/learn-socket-io-with-python-and-javascript-in-90-minutes
- ↑ Python 3.0 Release: https://www.python.org/download/releases/3.0/
- ↑ Install Python and Django with XAMPP on Windows 7: http://www.leonardaustin.com/technical/install-python-and-django-with-xampp-on-windows-7
- ↑ Running Python scripts with XAMPP: https://stackoverflow.com/questions/42704846/running-python-scripts-with-xampp