Shaare your links...
3379 links
L!NKS Retour au blog Login RSS Feed ATOM Feed Tag cloud Picture wall Daily
Links per page: 20 50 100
◄Older
page 9 / 10
Newer►
194 results for tags python x
  • [Python] Classer un liste d'objets en fct d'un attribut
    Après avoir fait un "import operator", il suffit de faire:
       taListe.sort(key=operator.attrgetter('nom_de_ton_attribut'))

    "taListe" étant une simple liste d'objets de ta classe contenant les attributs "nom_de_ton_attribut".

    voir aussi :
        http://doughellmann.com/2008/04/pymotw-operator.html
    permalink -
    - http://www.tomsguide.fr/forum/id-554150/python-classer-liste-objets-fct-attribut.html
    python
  • How To Install Python, pip, and virtualenv on Windows with PowerShell : Tyler Butler
    permalink -
    - http://www.tylerbutler.com/2012/05/how-to-install-python-pip-and-virtualenv-on-windows-with-powershell/
    lib powershell python virtualenv windows
  • pyexiv2, a python binding to exiv2
    lib pour manipuler les données EXIF des appareils photos.
    cf. http://tilloy.net/dev/pyexiv2/tutorial.html

    import pyexiv2
    metadata = pyexiv2.ImageMetadata('test.jpg')
    metadata.read()

    metadata.exif_keys # liste de toutes les entrées EXIF
    tag = metadata['Exif.Image.DateTime']
    tag.raw_value
    #'2004-07-13T21:23:44Z'
    tag.value
    #datetime.datetime(2004, 7, 13, 21, 23, 44)
    tag.value.strftime('%A %d %B %Y, %H:%M:%S')
    #'Tuesday 13 July 2004, 21:23:44'

    Now let’s modify the value of the tag and write it back to the file:

    >>> import datetime
    >>> tag.value = datetime.datetime.today()

    >>> metadata.write()
    permalink -
    - http://tilloy.net/dev/pyexiv2/
    exif lib photo python
  • Script python Hubic (ZeroBin)
    Le script de Oros pour utiliser Hiubic en ligne de commande (adapté de Mitsu - bash : http://root.suumitsu.eu/wiki/doku.php?id=bash:hubic-upload) fonction aussi avec python 2.7 (testé)
    permalink -
    - https://www.ecirtam.net/zerobin/?0ee5f8980652f913#3cjMrAfikE2Yvim7qH+i4M3agI8GGpe8OSXw6X3mH5A=
    python
  • Index of Packages : Python Package Index
    pillow : librairie image
    permalink -
    - https://pypi.python.org/pypi/Pillow/
    lib python
  • Writing your first Django app, part 1 | Django documentation | Django
    permalink -
    - https://docs.djangoproject.com/en/1.5/intro/tutorial01/
    django python tuto web
  • Un serveur web intégré à OSX | Korben
    Lancer un serveur HTTP minimaliste en une ligne de python :
    python -m SimpleHTTPServer 8000
    permalink -
    - http://korben.info/un-serveur-web-integre-a-osx.html
    html python web
  • Python Regex Tool
    permalink -
    - http://www.pythonregex.com/
    online python regex
  • Simple Python Motion Jpeg (mjpeg server) from webcam. Using: OpenCV,BaseHTTPServer
    Un serveur mjpeg en quelques lignes de python avec BaseHTTPServer
    permalink -
    - https://gist.github.com/n3wtron/4624820
    image python raspberry video webcam
  • Python tutorial
    Tuto pour python. A noter la lecture agréable et un menu de navigation à gauche qui permet de trouver rapidement ce que l'on cherche.
    D'autres tutos sont disponibles :
    ASP.NET | jQuery | AJAX | ANT | JSP | Servlets | log4j | iBATIS | Hibernate | JDBC | Struts | HTML5 | SQL | MySQL | C++ | UNIX
    permalink -
    - http://www.tutorialspoint.com/python/
    python tuto
  • SimpleCV: SimpleCV Tutorial — Tutorial
    Binding pour opencv simple+++ !
    Nécessite Numpy, Scipy et PIL
    pour installer:
        sudo apt-get install python-scipy
        sudo pip install simplecv
    permalink -
    - http://tutorial.simplecv.org/en/latest/
    image python
  • Basic Image Processing - Physical Computing with Raspberry Pi
    imgproc
    permalink -
    - http://www.cl.cam.ac.uk/~db434/raspi/image_processing/
    image python
  • OS.Walk and Fnmatch in Python
    import fnmatch
    import os

    images = ['*.jpg', '*.jpeg', '*.png', '*.tif', '*.tiff']
    matches = []

    for root, dirnames, filenames in os.walk("C:\\"):
       for extensions in images:
           for filename in fnmatch.filter(filenames, extensions):
               matches.append(os.path.join(root, filename))
    permalink -
    - http://www.pythonforbeginners.com/systems-programming/os-walk-and-fnmatch-in-python/
    python
  • L’encoding en Python, une bonne fois pour toute | Sam & Max: Python, Django, Git et du cul
    permalink -
    - http://sametmax.com/lencoding-en-python-une-bonne-fois-pour-toute/
    python
  • hackingciphers.pdf
    permalink -
    - http://inventwithpython.com/hackingciphers.pdf
    book crypt python
  • Code Like a Pythonista: Idiomatic Python
    le ZEN python :

    Beautiful is better than ugly.
    Explicit is better than implicit.
    Simple is better than complex.
    Complex is better than complicated.
    Flat is better than nested.
    Sparse is better than dense.
    Readability counts.
    Special cases aren't special enough to break the rules.
    Although practicality beats purity.
    Errors should never pass silently.
    Unless explicitly silenced.
    permalink -
    - http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html
    python
  • Transforming code into Beautiful, Idiomatic Python by Raymond Hettinger // Speaker Deck
    permalink -
    - https://speakerdeck.com/pyconslides/transforming-code-into-beautiful-idiomatic-python-by-raymond-hettinger
    python
  • Écrire des logs en Python | Sam & Max: Python, Django, Git et du cul
    Sam et Max expliquent comment ne pas debugger avec des print crados et utiliser le module log... ça fait quand même plus sérieux ;-)
    permalink -
    - http://sametmax.com/ecrire-des-logs-en-python/
    python
  • Cours de Python
    Cours python pour débutants proposé aux étudiants de biologie de Master à Paris Diderot.
    A noter dans les "trucs et astuces" (chapt. XIX):
    J'ignorais que l'on pouvait sauvegarder l'historique des commandes !
    >>> import readline
    >>> readline.write_history_file()
    puis:
    >>> import readline
    >>> readline.read_history_file()
    permalink -
    - http://python.developpez.com/tutoriels/cours-python-inserm/#LXIX-D
    cours python
  • rst2pdf-0.93.tar.gz - rst2pdf - Many bugs fixed - Tool for transforming reStructuredText to PDF using ReportLab - Google Project Hosting
    permalink -
    - https://code.google.com/p/rst2pdf/downloads/detail?name=rst2pdf-0.93.tar.gz&can=2&q=
    python
Links per page: 20 50 100
◄Older
page 9 / 10
Newer►
Shaarli 0.0.41 beta - The personal, minimalist, super-fast, no-database delicious clone. By sebsauvage.net. Theme by idleman.fr.