Shaare your links...
3400 links
L!NKS Retour au blog Login RSS Feed ATOM Feed Tag cloud Picture wall Daily
Links per page: 20 50 100
◄Older
page 1 / 4
194 results for tags python x
  • NetworkX : Théorie des graphes, fonctions de base et utilisation
    permalink -
    - https://liora.io/networkx-tout-savoir
    graphes python
  • L!NKS
    permalink -
    - http://spynaej.eu/links/?#2-faFQ
    niceGUI python
  • Python NiceGUI : Créez facilement des interfaces Web puissantes | DataCamp
    permalink -
    - https://www.datacamp.com/fr/tutorial/nicegui
    niceGUI python
  • Les graphes en Python - ZoneNSI
    permalink -
    - https://www.zonensi.fr/NSI/Terminale/C09/graphe_python/
    graphes python
  • GitHub - astral-sh/uv: An extremely fast Python package and project manager, written in Rust.
    https://blog.stephane-robert.info/docs/developper/programmation/python/uv/

    https://medium.com/@datagumshoe/using-uv-and-conda-together-effectively-a-fast-flexible-workflow-d046aff622f0
    permalink -
    - https://github.com/astral-sh/uv
    python uv
  • PyPy
    implémentation de python plus rapide
    permalink -
    - https://pypy.org/
    python
  • GitHub - ihp-lab/LibreFace: [WACV 2024] LibreFace: An Open-Source Toolkit for Deep Facial Expression Analysis
    permalink -
    - https://github.com/ihp-lab/LibreFace
    Emotions python
  • Work with multiple python versions on Windows 10 | by Martin Fritz | Medium
    Path to executable
    python -c "import os, sys; print(os.path.dirname(sys.executable))"
    permalink -
    - https://martinfritz.medium.com/work-with-multiple-versions-of-python-on-windows-10-eed1e5f52f07
    python
  • chardet/docs/index.rst at main · chardet/chardet · GitHub
    detect encoding
    permalink -
    - https://github.com/chardet/chardet/blob/main/docs/index.rst
    python
  • What Are Python Wheels and Why Should You Care? – Real Python
    permalink -
    - https://realpython.com/python-wheels/
    python
  • Installation - guizero
    GUI
    permalink -
    - https://lawsie.github.io/guizero/
    python
  • ArjanCodes - YouTube
    permalink -
    - https://www.youtube.com/c/ArjanCodes/videos
    python
  • Microsoft PowerPoint - Python's Sinister Side.pptx - summit-archive-1542133788.pdf
    Intervention de Mark Baggett au colloque ISSA d'Augusta sur la sécurité python
    permalink -
    - https://www.sans.org/cyber-security-summit/archives/file/summit-archive-1542133788.pdf
    python sécurité
  • Expyriment
    permalink -
    - https://www.expyriment.org/
    psy python
  • pygame.draw — Pygame v1.9.5.dev0 documentation
    permalink -
    - https://www.pygame.org/docs/ref/draw.html#pygame.draw.circle
    pygame python
  • Making Games with Python & Pygame
    source code  et explications détaillées
    permalink -
    - https://inventwithpython.com/pygame/
    pygame python
  • Creating a 13 line backdoor worry free of A/V - TrustedSec - Information Security
    voir aussi :
    https://www.youtube.com/watch?v=p2u5iOKLrt8
    https://www.youtube.com/watch?v=tNvsBzNoiMU
    https://0x00sec.org/t/how-to-make-a-reverse-tcp-backdoor-in-python-part-1/1038
    https://www.trustedsec.com/june-2011/creating-a-13-line-backdoor-worry-free-of-av/
    permalink -
    - https://www.trustedsec.com/june-2011/creating-a-13-line-backdoor-worry-free-of-av/
    backdoor python
  • Welcome to PyInstaller official website — PyInstaller
    permalink -
    - http://www.pyinstaller.org/
    python
  • Bottle - Full Stack Python
    ressources pour python bottle
    permalink -
    - https://www.fullstackpython.com/bottle.html
    bottle python
  • ZeroBin
    seb a fait un petit script pour récupérer des citations sur un site. Il utilise UserDict pour stocker les pages visitées en faisant un wrapper pour sqlite... c'est cool !

    Après il prend lxml pour parser le html... parce qu'il aime bien xpath... moi pas trop
    Merci Seb pour le partage, j'ai encore appris un truc !
    permalink -
    - http://sebsauvage.net/paste/?12bf3badbd066925#24uaJVn4zDNKymWTEYzOIAdInksekhSyCJYvWqw7/Qw
    python
  • The 10 Most Common Mistakes That Python Programmers Make | Toptal
    Ben, j'en apprends des choses !! à garder sous le coude.
    permalink -
    - http://www.toptal.com/python/top-10-mistakes-that-python-programmers-make
    python
  • Nuitka Home | Nuitka Home
    via sametmax : http://sametmax.com/le-don-du-mois-nuitka/

    Compile un programme python pour le rendre executable stanalone...
    permalink -
    - http://nuitka.net/
    python
  • Scrapy | A Fast and Powerful Scraping and Web Crawling Framework
    via seb : http://sebsauvage.net/links/?e_XbJQ
    permalink -
    - http://scrapy.org/?utm_content=bufferbca32&utm_medium=social
    python scraper webscraping
  • itertools.product fait sauter des boucles imbriquées | Sam & Max
    permalink -
    - http://sametmax.com/itertools-product-fait-sauter-des-boucles-imbriquees/
    python
  • python - How to automatically start supervisord on Linux (Ubuntu) - Server Fault
    https://github.com/Supervisor/initscripts
    permalink -
    - https://serverfault.com/questions/96499/how-to-automatically-start-supervisord-on-linux-ubuntu
    python supervisor
  • Riverbank | Software | PyQt | What is PyQt?
    permalink -
    - https://riverbankcomputing.com/software/pyqt/intro
    pyqt python
  • Découverte de l'interpréteur interactif IPython
    permalink -
    - http://eric-pommereau.developpez.com/tutoriels/introduction-ipython/
    ipython python
  • PEP 0008 -- Style Guide for Python Code | Python.org
    permalink -
    - https://www.python.org/dev/peps/pep-0008/#blank-lines
    memo python
  • Aller plus loin avec les hash maps en Python | Sam & Max
    permalink -
    - http://sametmax.com/aller-plus-loin-avec-les-hash-maps-en-python/
    dict memo python
  • Réagir à un changement sur un fichier avec watchdog | Sam & Max
    A creuser...
    permalink -
    - http://sametmax.com/reagir-a-un-changement-sur-un-fichier-avec-watchdog/
    python ut
  • Beautiful Soup Documentation — Beautiful Soup 4.4.0 documentation
    encoding guessing !

    from bs4 import UnicodeDammit
    dammit = UnicodeDammit("Sacr\xc3\xa9 bleu!")
    print(dammit.unicode_markup)
    # Sacré bleu!
    dammit.original_encoding
    # 'utf-8'
    permalink -
    - https://beautiful-soup-4.readthedocs.org/en/latest/#unicode-dammit
    beautifulsoup encoding python
  • comment installer python sous linux debian ubuntu, formation DIF python à Grenoble Lyon
    permalink -
    - http://www.rasadacrea.com/fr/cours-informatiques/comment-installer-python
    python
  • Extensions Registry | Flask (A Python Microframework)
    flask extensions :
       flask-Login
       flask_seasurf (anti CSRF)
       flask-sijax (AJAX)
       flask-uploads
       flask-WTF (forms with anti CSRF)
    permalink -
    - http://flask.pocoo.org/extensions/
    flask python
  • [Python] Python ctypes BigEndianStructure - Pastebin.com
    en lien avec : http://sametmax.com/lire-un-format-binaire-en-python-avec-struct/

    decode header with ctypes :

    import ctypes

    class Header_Decoder(ctypes.BigEndianStructure): # {
       _pack_ = 1
       _fields_ = [
           ('protocol_id', ctypes.c_uint8, 8),      # 1 byte:  byte 1,      bits 00-07
           ('segmentation', ctypes.c_uint8, 3),     # 3 bits:  byte 2,      bits 08-10
           ('transaction_type', ctypes.c_uint8, 5), # 5 bits:  byte 2,      bits 11-15
           ('packet_length', ctypes.c_uint32),      # 4 bytes: bytes 3-6,   bits 16-47
           ('checksum', ctypes.c_uint16),           # 2 bytes: bytes 7-8,   bits 48-63
       ]
    # } Header_Decoder

    HEADER_LENGHT_BYTES = ctypes.sizeof(Header_Decoder)

    packet = b'\xFF\x10\x00\x00\x00\x0C\x00\xE3\x48\x65\x79\x21'

    header = Header_Decoder.from_buffer_copy(packet[0 : 0 + HEADER_LENGHT_BYTES])

    print("Protocol ID:", header.protocol_id)
    print("Segmentation:", header.segmentation)
    print("Transaction type:", header.transaction_type)
    print("Checksum:", header.checksum)
    print("Data:", packet[HEADER_LENGHT_BYTES : header.packet_length].decode('ascii'))
    permalink -
    - http://pastebin.com/G7FjUJLh
    python
  • Python Patterns - An Optimization Anecdote | Python.org
    Rule number one: only optimize when there is a proven speed bottleneck. Only optimize the innermost loop. (This rule is independent of Python, but it doesn't hurt repeating it, since it can save a lot of work. :-)
       Small is beautiful. Given Python's hefty charges for bytecode instructions and variable look-up, it rarely pays off to add extra tests to save a little bit of work.
       Use intrinsic operations. An implied loop in map() is faster than an explicit for loop; a while loop with an explicit loop counter is even slower.
       Avoid calling functions written in Python in your inner loop. This includes lambdas. In-lining the inner loop can save a lot of time.
       Local variables are faster than globals; if you use a global constant in a loop, copy it to a local variable before the loop. And in Python, function names (global or built-in) are also global constants!
       Try to use map(), filter() or reduce() to replace an explicit for loop, but only if you can use a built-in function: map with a built-in function beats for loop, but a for loop with in-line code beats map with a lambda function!
       Check your algorithms for quadratic behavior. But notice that a more complex algorithm only pays off for large N - for small N, the complexity doesn't pay off. In our case, 256 turned out to be small enough that the simpler version was still a tad faster. Your mileage may vary - this is worth investigating.
       And last but not least: collect data. Python's excellent profile module can quickly show the bottleneck in your code. if you're considering different versions of an algorithm, test it in a tight loop using the time.clock() function.
    permalink -
    - https://www.python.org/doc/essays/list2str/
    optimisation python
  • python bottle : checkboxes with the same name
    Comment récupérer la valeur de checkbox qui ont le même attribut "name" ?

    ex :
    <label><input type="checkbox" name="fruit' value="banane"/>banane</label>
    <label><input type="checkbox" name="fruit' value="pomme"/>pomme</label>
    <label><input type="checkbox" name="fruit' value="fraise"/>fraise</label>

    request.POST.getall('fruit')

    NB : pour le label qui entoure l'input, il permet de checker la checkbox en cliquant sur le label !
    (https://stackoverflow.com/questions/6293588/how-to-create-an-html-checkbox-with-a-clickable-label)
    permalink -
    - https://github.com/bottlepy/bottle/issues/43
    bottle python
  • How can I get a list of locally installed Python modules? - Stack Overflow
    import pip
    installed_packages = pip.get_installed_distributions()
    installed_packages_list = sorted(["%s==%s" % (i.key, i.version)
        for i in installed_packages])
    print(installed_packages_list)
    permalink -
    - https://stackoverflow.com/questions/739993/how-can-i-get-a-list-of-locally-installed-python-modules
    pip python
  • blueluna / transmissionrpc / wiki / Home — Bitbucket
    Un client python pour interroger et contrôler transmission.
    voir : https://pythonhosted.org/transmissionrpc/ (la doc)
    et https://trac.transmissionbt.com/wiki/EditConfigFiles pour la config de transmission.
    permalink -
    - https://bitbucket.org/blueluna/transmissionrpc/wiki/Home
    python torrent transmission
  • Philip Guo - CPython internals: A ten-hour codewalk through the Python interpreter source code
    permalink -
    - http://pgbovine.net/cpython-internals.htm
    python
  • 8.3. collections — High-performance container datatypes — Python 2.7.10 documentation
    via http://podcastinit.com/episode-8-mark-baggett-on-pythons-role-in-information-security.html
    permalink -
    - https://docs.python.org/2/library/collections.html#collections.Counter
    python
  • Introduction — Supervisor 3.1.3 documentation
    permalink -
    - http://supervisord.org/introduction.html
    daemon python services
  • Deployment — Bottle 0.13-dev documentation
    permalink -
    - http://bottlepy.org/docs/dev/deployment.html
    bottle python
  • python - bottle on cherrypy server + ssl - Stack Overflow
    voir ici : http://webpy.org/cookbook/ssl
    permalink -
    - https://stackoverflow.com/questions/10390927/bottle-on-cherrypy-server-ssl
    bottle python ssl
  • dgtool: SSL encryption in python bottle
    permalink -
    - http://dgtool.blogspot.fr/2011/12/ssl-encryption-in-python-bottle.html
    bottle python ssl
  • bash - Fast ping sweep in python - Stack Overflow
    voir aussi : https://stackoverflow.com/questions/12101239/multiple-ping-script-in-python
    et : http://www.wellho.net/resources/ex.php4?item=y302/fastandfull
    permalink -
    - https://stackoverflow.com/questions/21225464/fast-ping-sweep-in-python
    ping python
  • python - How can I quantify difference between two images? - Stack Overflow
    https://gist.github.com/astanin/626356
    permalink -
    - https://stackoverflow.com/questions/189943/how-can-i-quantify-difference-between-two-images
    image python
  • DIY Book Scanner • View topic - Spreads development environment
    Utiliser jpegtran (https://github.com/jbaiter/jpegtran-cffi)
    """jpegtran-cffi is a Python package for fast JPEG transformations. Compared to other, more general purpose image processing libraries like wand-py or PIL/Pillow, transformations are generally more than twice as fast (see Benchmarks). In addition, all operations except for scaling are lossless, since the image is not being re-compressed in the process. This is due to the fact that all transformation operations work directly with the JPEG data.

    This is achieved by using multiple C routines from the Enlightenment project's epeg library (for scaling) and jpegtran from the Independent JPEG Group's libjpeg library (for all other operations). These routines are called from Python through the CFFI module, i.e. no external processes are launched.

    The package also includes rudimentary support for getting and setting the EXIF orientation tag, automatically transforming the image according to it and obtaining the JFIF thumbnail image."""



    sudo apt-get python-dev
    sudo apt-get install libffi-dev
    sudo apt-get install libjpeg8-dev

    -> virtualenv
    pip install --user jpegtran-cffi
    permalink -
    - http://www.diybookscanner.org/forum/viewtopic.php?f=35&t=3078
    epeg image python
  • Calling a function of a module from a string with the function's name in Python - Stack Overflow
    import foo
    methodToCall = getattr(foo, 'bar')
    result = methodToCall()

    ou : result = getattr(foo, 'bar')()
    permalink -
    - https://stackoverflow.com/questions/3061/calling-a-function-of-a-module-from-a-string-with-the-functions-name-in-python
    python
  • https://inventwithpython.com/chapters/
    d'après les comments de http://sametmax.com/quels-exercices-pour-debutants-en-python/
    permalink -
    - https://inventwithpython.com/chapters/
    python tuto
  • Manipulating PDFs with Python - Tutorial - Binpress
    permalink -
    - https://www.binpress.com/tutorial/manipulating-pdfs-with-python/167
    pdf python
Links per page: 20 50 100
◄Older
page 1 / 4
Shaarli 0.0.41 beta - The personal, minimalist, super-fast, no-database delicious clone. By sebsauvage.net. Theme by idleman.fr.