Skip to main content

Suche

BeitrΓ€ge die mit Python getaggt sind


 
Excellent cours pour apprendre a programmer en language Python.

https://youtu.be/biUdJZsQ4JE

#python #francais #tuto

Partie n°1 cours initiation Python

Initiation au Python Retrouvez tous nos cours sur http://www.burontic.com N'hésitez pas à nos poser vos questions!

 
"Judge me by my size, do you? Hmm, hmm." - Yoda

 
"Judge me by my size, do you? Hmm, hmm."
- Yoda.

 
Sunday evening confession: f-strings are enough reason to move your project over to #Python 3.6 ❤

 
#Refactoring is a great time to add #Python type hints, now that #Socialhome is moving to 3.6+.

When seeing signatures like this:
def make_federable_content(content: Content) -> \ Optional[Union[base.Post, base.Comment, base.Share]]:
... it's clear that the design isn't the cleanest in some parts. Type hints kind of make that glare out.

 

federation v0.17.0 released

The #crypto library pycrypto used has a CVE and unfortunately it doesn't look like the package was being maintained any more. Switched to a more maintained fork (pycryptodome) which has this CVE fixed and provides many other improvements as well.

Please note that pycrypto will need to be uninstalled first, as pycryptodome is a drop-in replacement and they will conflict if the former isn't removed.

Also, code has been moved to a GitLab server. Will set up some mirroring to GitHub soon. Newest release is available on PyPi as before.

https://pypi.org/project/federation/

#federation #python

 
If you’d like to write a #Mastodon bot using #Python (the kind that occasionally posts something interesting), here’s the code for my own bot: https://communitywiki.org/cgit/text-mapper-mastodon-bot/tree/ @textmapper – feel free to ask questions if you are stuck with your bot. I’m happy to help.

 
Thanks... Rifkin Semmelweis I program mainly in #python but sometimes c/java/javascript/ I'm interested in learning #erlang among others at the moment... I'm also interested in algorithmic music/art, also very fond of synthesizers and drum machines 😀

 
Das IEEE Language Ranking gehört zu den renommierten Programmiersprachenindizes. Python ist das zweite Jahr in Folge in der Pole Position. #GoogleGo #IEEE #Programmiersprachen #Python #Scala

 
Nuitka is a Python compiler I never heard of. It just achieved 3.7 compatibility. Cool!

> Right now Nuitka is a good replacement for the Python interpreter and compiles every construct that all relevant CPython version, and even irrelevant ones, like 2.6 and 3.2 offer. It translates the Python into a C program that then is linked against libpython to execute in the same way as CPython does, in a very compatible way.

> It is somewhat faster than CPython already, but currently it doesn't make all the optimizations possible, but a 258% factor on pystone is a good start (number is from version 0.3.11).

#python #programming #compiler #softwareengineering

 
Nuitka is a Python compiler I never heard of. It just achieved 3.7 compatibility. Cool!

> Right now Nuitka is a good replacement for the Python interpreter and compiles every construct that all relevant CPython version, and even irrelevant ones, like 2.6 and 3.2 offer. It translates the Python into a C program that then is linked against libpython to execute in the same way as CPython does, in a very compatible way.

> It is somewhat faster than CPython already, but currently it doesn't make all the optimizations possible, but a 258% factor on pystone is a good start (number is from version 0.3.11).

#python #programming #compiler #softwareengineering

 

Python 3 is now available on App Engine standard environment

Python 3.7 is available today in beta on the App Engine standard environment.
Article word count: 611

HN Discussion: https://news.ycombinator.com/item?id=17717045
Posted by stewart27 (karma: 205)
Post stats: Points: 227 - Comments: 70 - 2018-08-08T16:04:51Z

\#HackerNews #app #available #engine #environment #... mehr anzeigen

 
If you are you looking for a way to move from programming in Scratch to learning Python, take a look at EduBlocks. It brings a familiar drag-and-drop graphical user interface (GUI) to Python 3 programming.

#Coding #Python #Education #OpenSource

 
"To help aspiring programmers start writing code, researchers from the Georgia Institute of Technology in the US have developed a free web-based platform called Code Shrew".

#Python #Coding #Education

 
Learn Python programming the easy way with EduBlocks - EduBlocks brings a Scratch-like GUI to writing Python 3 code #python

 

Learn Python programming the easy way with EduBlocks - EduBlocks brings a Scratch-like GUI to writing Python 3 code


If you are you looking for a way to move your students (or yourself) from programming in Scratch to learning Python, I recommend you look into EduBlocks. It brings a familiar drag-and-drop graphical user interface (GUI) to Python 3 programming.

One of the barriers when transitioning from Scratch to Python is the absence of the drag-and-drop GUI that has made Scratch the go-to application in K-12 schools. EduBlocks' drag-and-drop version of Python 3 changes that paradigm. It aims to "help teachers to introduce text-based programming languages, like Python, to children at an earlier age."

The hardware requirements for EduBlocks are quite modest—a Raspberry Pi and an internet connection—and should be available in many classrooms.

EduBlocks was developed by Joshua Lowe, a 14-year-old Python developer from the United Kingdom.

See https://opensource.com/article/18/8/edublocks

#python #programming

 

Getting started with Mu, a Python editor for beginners


Mu is a Python editor for beginning programmers, designed to make the learning experience more pleasant. It gives students the ability to experience success early on, which is important anytime you're learning something new.

If you have ever tried to teach young people how to program, you will immediately grasp the importance of Mu. Most programming tools are written by developers for developers and aren't well-suited for beginning programmers, regardless of their age. Mu, however, was written by a teacher for students.

Tutorials and other resources are available on the Mu users' website.

It will run on Linux, Windows, Mac OS or on a Raspberry Pi.

See https://opensource.com/article/18/8/getting-started-mu-python-editor-beginners

#python

 

Goodbye Python, Hello Go

HN Discussion: https://news.ycombinator.com/item?id=17677577
Posted by eadmund (karma: 1388)
Post stats: Points: 84 - Comments: 54 - 2018-08-03T06:02:40Z

\#HackerNews #goodbye #hello #python
HackerNewsBot debug: Calculated post rank: 74 - Loop: 194 - Rank min: 60 - Author rank: 42

 
♲ @nixCraft (nixcraft@twitter.com): What we should we do @jdorfman ? #python

Bild/Foto
Bild/Foto

 
Noch ein #python #editor der sich an Einsteiger richtet:

TigerJython

 
Interessierst du dich für Freiheit und ein wenig mehr Privatssphäre? Dann hör doch mal in diese #Podcast Staffel rein
Die neue #Podcast Folge über #Diaspora ist online.
https://horche.demkontinuum.de/display/2196d4ee115b5e245f5dc6b643225579
#Fediverse #Federation #socialnetworks #ruby #python #Go #decentralize #WeareFamily #FLOSS #OSS #besser

 
Wegen besser, toller und grandioser was aufs Ohr ;)
Die neue #Podcast Folge über #Diaspora ist online.
https://horche.demkontinuum.de/display/2196d4ee115b5e245f5dc6b643225579
#Fediverse #Federation #socialnetworks #ruby #python #Go #decentralize #WeareFamily #FLOSS #OSS #besser

 
Bild/Fotobesser wrote the following post Sun, 29 Jul 2018 22:32:31 +0200

Die neue #Podcast Folge über #Diaspora ist online. Mit dabei sind @ @lislis @hoergen
Diaspora #S01E04
Bild/Foto
\#Fediverse #Federation #social networks #ruby #python #Go #decentralize #WeareFamily #FLOSS #OSS

 
It seems, after some hours of working on #ActivityPub for my #federation library, I wont possibly be using the little-boxes AP library for providing functionality. I realized starting the process that since my library is not going to be a fully featured AP library, but a #Python API abstraction of only certain features of several protocols, I will be better off writing my code myself. little-boxes is a very generic AP library which makes a strong design decision on how to use it via custom backends. This is problematic for the way my library is structured.

But, since I already declared the next Python federation library release will not support anything under Python 3.6, this means #Socialhome will also not be supported under Python 3.6 for the next release.

Btw, f-strings are really cool and nice to work with ❤ Also finally, type annotations.

 
#Python library for abstracting social federation protocols - http://federation.readthedocs.io/

''goal of that library is to abstract several protocols under one API''

#ActivityPub is comming next!

''If after I implement AP in the library someone wants to contribute the Ostatus/DFRN/Zot or something else, I'd be happy to help pull it through.''
- Jason Robinson (#socialhome dev)

https://github.com/jaywink/federatio

 

Cool New Features in #Python 3.7 – Real Python

https://realpython.com/python37-new-features/

Python 3.7 is out! 🎉