Skip to main content

Home/ Python Programming/ Group items tagged a

Rss Feed Group items tagged

1More

unit step (heaviside) function in sympy? - sympy | Google Groups - 0 views

  • On Mon, May 5, 2008 at 8:22 PM, Reckoner <recko...@gmail.com> wrote: > is there a unit step (heaviside) function in sympy? > I need to work a conditional into a symbolic expression. We have sign which is basically the same thing:
1More

SVGMath - MathML to SVG Converter in Python - 0 views

  • SVGMath is written in pure Python, with neither extension modules nor external dependencies. It runs on any platform where a modern Python environment (version 2.4 or higher) is available. It can be used either as a command-line script for batch-mode file conversion, or as a component to process MathML data in other Python applications.
1More

blog.bjrn.se: TrueCrypt explained - 0 views

  • he most popular cryptographic software for Windows is probably TrueCrypt. In this article I will explain how TrueCrypt works and as a by-product a working Python implementation will be provided. This article is written from a programmer perspective and the math will be kept to the minimum. The emphasis is on how TrueCrypt uses cryptographic primitives such as AES and SHA-1, not how the primitives themselves work.
1More

Cross platform way of finding number of processors on a machine? - comp.lang.python | G... - 0 views

  • > Is there a way to find the number of processors on a machine (on linux/ > windows/macos/cygwin) using python code (using the same code/cross > platform code)? From processing <http://cheeseshop.python.org/pypi/processing/0.34> : def cpuCount():     '''     Returns the number of CPUs in the system     '''     if sys.platform == 'win32':         try:             num = int(os.environ['NUMBER_OF_PROCESSORS'])         except (ValueError, KeyError):             pass     elif sys.platform == 'darwin':         try:             num = int(os.popen('sysctl -n hw.ncpu').read())         except ValueError:             pass     else:         try:             num = os.sysconf('SC_NPROCESSORS_ONLN')         except (ValueError, OSError, AttributeError):             pass     if num >= 1:         return num     else:         raise NotImplementedError --
2More

Rutherfurd.net: SendKeys - 0 views

  • SendKeys SendKeys(keys, pause = 0.05, with_spaces = False, with_tabs = False, with_newlines = False, turn_off_numlock = True) Parameters keys : str A string of keys. pause : float The number of seconds to wait between sending each key or key combination. with_spaces : bool Whether to treat spaces as {SPACE}. If False, spaces are ignored. with_tabs : bool Whether to treat tabs as {TAB}. If False, tabs are ignored. with_newlines : bool Whether to treat newlines as {ENTER}. If False, newlines are ignored. turn_off_numlock : bool Whether to turn off NUMLOCK before sending keys.
  • Key Code BACKSPACE {BACKSPACE}, {BS}, or {BKSP} BREAK {BREAK} CAPS LOCK {CAPSLOCK} or {CAP} DEL or DELETE {DELETE} or {DEL} DOWN ARROW {DOWN} END {END} ENTER {ENTER} or ~ ESC {ESC} HELP {HELP} HOME {HOME} INS or INSERT {INSERT} or {INS} LEFT ARROW {LEFT} NUM LOCK {NUMLOCK} PAGE DOWN {PGDN} PAGE UP {PGUP} PRINT SCREEN {PRTSC} RIGHT ARROW {RIGHT} SCROLL LOCK {SCROLLLOCK} SPACE BAR {PACE} TAB {TAB} UP ARROW {UP} F1 {F1} F2 {F2} F3 {F3} F4 {F4} F5 {F5} F6 {F6} F7 {F7} F8 {F8} F9 {F9} F10 {F10} F11 {F11} F12 {F12} F13 {F13} F14 {F14} F15 {F15} F16 {F16} F17 {F17} F18 {F18} F19 {F19} F20 {F20} F21 {F21} F22 {F22} F23 {F23} F24 {F24} Keypad add {ADD} Keypad subtract {SUBTRACT} Keypad multiply {MULTIPLY} Keypad divide {DIVIDE} Left Windows(R) {LWIN} Right Windows(R) {RWIN}
1More

ONLamp.com -- Introduction to Stackless Python - 0 views

  • What's the relation between these benefits and Stackless's implementation details? Here's a quick sketch: Continuations are the general-purpose concurrency construct. A continuation represents all the future computations of a particular program. Capturing all this control flow in a single conceptual object makes it programmable: It becomes possible to calculate or reason over the control flow. In particular, there's great scope for optimizing assignment of different calculations to different processes or threads or even hosts.
2More

PyCHM -- wrapper for CHM files - 0 views

  • PyCHM - Python bindings for CHMLIB PyCHM is a package that provides bindings for Jed Wing's CHMLIB library. The chm package contains four modules, namely chm.chm, chm.chmlib, chm.extra and chm._chmlib. chm.chmlib is a low level wrapper module around the API provided by the C library chmlib. Quoted from Jed's README: chmlib is a small library designed for accessing MS ITSS files. The ITSS file format is used for Microsoft Html Help files (.chm), which have been the predominant medium for software documentation from Microsoft during the past several years, having superceded the previously used .hlp file format. chm.chm provides some high level functionality over chm.chmlib, such as access to the .chm file contents tree. chm.extra contains extra functionality to allow detection encodings in the CHM archives and to support full-text search.
  •  
    CHM files
1More

PyChecker: a python source code checking tool - 0 views

  • PyChecker is a tool for finding bugs in python source code. It finds problems that are typically caught by a compiler for less dynamic languages, like C and C++. It is similar to lint. Because of the dynamic nature of python, some warnings may be incorrect; however, spurious warnings should be fairly infrequent.
1More

Python threads - a first example - 0 views

  • Python threads - a first example If you have a process that you want to do several things at the same time, threads may be the answer for you. They let you set up a series of processes (or sub-processes) each of which can be run independently, but which can be brought back together later and/or co-ordinated as they run

Good SEO Staff and Services - 2 views

started by Jay Dee on 25 Jan 11 no follow-up yet

Online Computer Repair Tech - 1 views

started by jameswaltz on 14 Sep 11 no follow-up yet

Getting the Best from SEO Perth - 1 views

started by Ace Dee on 15 Apr 11 no follow-up yet

They Are the Best Computer Tech Specialists - 1 views

started by shai edrote on 13 Jul 11 no follow-up yet

Remote Computer Assistance - 1 views

started by seth kutcher on 13 Oct 11 no follow-up yet

Fast and Reliable Computer Repair Services - 1 views

started by seth kutcher on 02 Nov 11 no follow-up yet

Choosing the Right Software Support Provider is Everything - 1 views

started by cecilia marie on 04 Nov 11 no follow-up yet
2More

Using pngcanvas, a pure Python PNG library « Python recipes « ActiveState Code - 1 views

  • Using pngcanvas, a pure Python PNG library
  • This recipe shows a simple example of how to use pngcanvas, a pure Python library for PNG image creation.

Amazing Customer Service - 1 views

started by Felipp Crawly on 31 Oct 12 no follow-up yet

Don't Just Get A Website… Get Discovered! - 2 views

started by clariene Austria on 23 May 12 no follow-up yet

Don't Just Get A Website… Get Discovered! - 2 views

started by clariene Austria on 30 May 12 no follow-up yet
« First ‹ Previous 61 - 80 of 233 Next › Last »
Showing 20 items per page