Posts by: askyb

on in python tutorial

Previous | Next A variable is basically a name that represents or refers to some value. Assigning a variable in Python is simple. For example, you might want the name w to represent 8. To make it so, simply execute the following: >>> w = 8 To make x to represent a float: >>> x......

[ Click to Continue ]
on in python tutorial

Previous | Next You are going to write your first Python program now. Let’s try this by writing a simple “hello” Python script, save it and execute it. Saving .py file Type the following using an editor. Save the file as hello.py. Please note that all python script file will use .py as its file......

[ Click to Continue ]
on in python tutorial

Previous | Next Let’s add the Python directory into the PATH environment variable so that the operating system will search through when programs attempt to execute a command Adding directory to Windows PATH environment variable Run the Windows command prompt and type the following: C:\>PATH %path%;C:\python This will add C:\python into windows PATH environment variable.......

[ Click to Continue ]
on in python tutorial

Next Python was created in the early 1990s by Guido van Rossum. It’s a general-purpose programming which designed to provide better code readability. It runs on Windows, Linux/Unix, Mac OS X, etc. Like most of the general-purpose programming, python programming come with statements, operators, functions, expressions, modules, methods, and classes. It include a series of......

[ Click to Continue ]
on in python tutorial

Previous | Next Python on Windows To install Python on a Windows machine, follow these steps: Go to http://www.python.org/download/ Download Python 2.7.x or 3.2.x Windows Installer from the list. Python 2.7.x and 3.2.x are the version of python available for download at this moment. Run the downloaded file. This brings up the Python installation wizard.......

[ Click to Continue ]
on in SQLite

1. Introduction SQLite is an open source, embedded relational database which implements a self-contained, serverless, zero-configuration,transactional SQL database engine. SQLite has a well-deserved reputation for being highly portable, easy to use, compact, efficient, and reliable. Unlike client–server database management systems, installing and running of SQLite database is pretty straightforward in most cases — just make......

[ Click to Continue ]
on in C++ SQLite

You might know the benefits of using parameterized query (e.g boost query performance in term of speed, avoid SQL injection attack, etc) but how it can be done in programming way might sound like a different story to you. 🙂 In this tutorial, I’m going to show you how we can achieve that in using......

[ Click to Continue ]