Category Archives: Python

Python: JSON Encoder and Decoder

[Fuente :] New in version 2.6. JSON (JavaScript Object Notation), specified by RFC 4627, is a lightweight data interchange format based on a subset of JavaScript syntax (ECMA-262 3rd edition). json exposes an API familiar to users of the standard library marshal and pickle modules. Encoding basic Python object hierarchies: >>> >>> import json >>> json.dumps([‘foo’, {‘bar’: (‘baz’, None, 1.0, 2)}]) ‘[“foo”, […]

Python: Tutorial for beginners

[Fuente:] Python Variables The Python Variables tutorial explains several types of variables in Python and how to use them. In the heart of every good programming language, including Python, are the variables. Variables are an awesome asset to the dynamic world of the web. Variables alone are dynamic by nature. However, Python is pretty smart […]

Python: Moving to Python from other languages

[Fuente:] Si eres un programador, Python puede ser el lenguaje más fácil de aprender de todos los lenguajes que te has encontrado. It is pretty typical to learn the Python language while you are writing your first non-trivial Python program, so feel free to skip “Hello World” and move right to file administration, GUI programming, […]

GAE: Python: Scheduled Tasks With Cron

[Fuente.] The App Engine Cron Service allows you to configure regularly scheduled tasks that operate at defined times or regular intervals. These tasks are commonly known as cron jobs. These cron jobs are automatically triggered by the App Engine Cron Service. For instance, you might use this to send out a report email on a […]

GAE: Python: Helloworld

[Fuente:] Introduction Welcome to Google App Engine! Creating an App Engine application is easy, and only takes a few minutes. And it’s free to start: upload your app and share it with users right away, at no charge and with no commitment required. Google App Engine applications can be written in the Python 2.7, […]

GAE: Python: Task Queue configuration

[Fuente:] Applications define task queues in a configuration file called queue.yaml. You can use queue.yaml to configure both push queues and pull queues. This configuration file is optional for push queues, which have a default queue. Pull queues must be specifically configured in queue.yaml. About queues Setting the storage limit for all queues Defining push queues and processing rates Defining pull queues […]

GAE: Google APIs Client Library for Python

[Fuente:] Easily access Google APIs from Python The Google APIs Client Library for Python provides access to many Google APIs. It is designed for Python client-application developers and offers a way to access APIs that is simple, flexible, and powerful. See the navigation sidebar for a list of guides, references, and other information. Making it simple to […]

Python: Introducción

Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java. Some of Python’s notable features: Uses an elegant syntax, making the programs you write easier to read. Is an easy-to-use language that makes it simple to get your program working. This makes Python ideal for prototype development and other […]