Skip to main content

Search

Items tagged with: python


 
For real this time, get your butt off Python 2: No updates, no nothing after 1 January 2020 • The Register

Python 2 will be EOL at January, 1st 2020

#programming #python

 
Python Flappy Bird AI Tutorial (with NEAT)

Tim von #TechWithTim hat sich viel vorgenommen: Er will eine Künstliche Intelligenz (#KI) erschaffen, die Flappy Bird besser spielen soll, als jeder menschliche Spieler. Sie soll dazu den Neuro Evolution of Augmenting Topologies Algorithmus (kurz #NEAT) nutzen und folgerichtig muß neben #Pygame auch das Modul NEAT-Python installiert werden (geht mit pip install neat-python). http://blog.schockwellenreiter.de/2019/08/2019081603.html #Python #GameDev #AI

 
Is there an easy GUI tool to look at multidimensional #numpy arrays (or CSV data)?

I'm doing data analysis with #python and its really hard to keep track if 'it worked' like it should. I'd love to just drop the numpy files into Excel for some quick plots.

 
Tutorial: Alien Invaders mit Pygame Zero

Vor etwa einem Monat hatte ich mit einem #Tutorial begonnen, das das Spiel »Alien Invaders« mit #Pygame programmieren wollte. In der Zwischenzeit bin ich jedoch mit Pygame Zero vertrauter geworden und hatte festgestellt, daß einem #PygameZero tatsächlich sehr viele Zeilen Quellcode erspart. Daher habe ich einen Cornerturn vollzogen und das Spiel in Pygame Zero neu programmiert. http://blog.schockwellenreiter.de/2019/08/2019080701.html #Python #GameDev
Bild/Foto

 
Ich suche ein #gui framework für eine eigene kleine Helfer-Anwendung. Das Programm wird nichts kritischen machen, aber ins Netz geben und Webseiten laden/scrapen.
Meine Wunsch-Anforderungen:
- cross-plattform
- Schnittstelle für #python

Was könnte ihr empfehlen?
#suche #tipps

 
game engine developper desktop (and why dark theme are so crucial for developpers)
#netbeans #cpp #godotengine #gamedev #blender #python #3d
Bild/Foto

 
Spiele programmieren mit Pygame Zero – die Basics (Teil 1)

Nachdem die Python Arcade Library leider doch nicht meinen Wünschen entsprach, habe ich beschlossen, mich wieder verstärkt auf Pygame Zero zu konzentrieren und anhand eines Tutorials die Grundlagen dieser Bibliothek zu erkunden und Euch nahezubringen. http://blog.schockwellenreiter.de/2019/07/2019072202.html #Python #PygameZero #GameDev
Bild/Foto

 
Friend's getting into #python as her first programming language. Any suggestions for a novice dev environment (windows, lightweight)?

I suggested VS Code, but I come from vim so open to ideas from the more informed.

 
gPodder.net is looking for a new maintainer!

If nobody comes forward by 2020, it'll be forced to shut down. Please boost to spread the word.

https://github.com/gpodder/mygpo/blob/master/maintainer-needed.md

Note that this is the podcast-sharing website: I'm not sure about the status of the app, but I think that's still doing fine.

#gPodder #podcasts #python #webdev #helpwanted

 
Technische Linkschleuder am Montag

Interessante Neuigkeiten zu Julia haben mich bewogen, meinen Feedreader mal wieder durchzuforsten und alle technischen Neuigkeiten der letzten Woche herauszuhauen. Neben Julias liegt der Schwerpunkt auf Python/Jupyter, aber auch einige andere Dinge kommen zu Wort: http://blog.schockwellenreiter.de/2019/07/2019070801.html #JuliaLang #Jupyter #Python #JavaScript
Bild/Foto

 
I've decided to package pod_feeder_v2 to make it easier to install and use. You can now run pip install pod-feeder-v2 instead of downloading the source from git, and it will be available as numbered releases from this point forward.

Importantly, the scripts in the root of the git repo are symlinked to maintain backward compatibility, but should be considered deprecated and will be removed in a future release. Please see the README for details on how to switch to using the new package.

#pod feeder #pod feeder v2 #diaspora #rss #python #pip #pypi

 
I've decided to package pod_feeder_v2 to make it easier to install and use. You can now run pip install pod-feeder-v2 instead of downloading the source from git, and it will be available as numbered releases from this point forward.

Importantly, the scripts in the root of the git repo are symlinked to maintain backward compatibility, but should be considered deprecated and will be removed in a future release. Please see the README for details on how to switch to using the new package.

#pod feeder #pod feeder v2 #diaspora #rss #python #pip #pypi

 
Pygame Zero objektorientiert

In meinen ersten Erkundungen zu Pygame Zero im März dieses Jahres hatte ich angemeckert, daß ich Variablen als global deklarieren mußte. Dies halte (nicht nur) ich für schlechten Programmierstil und hatte daher nach einer Lösung gesucht. http://blog.schockwellenreiter.de/2019/06/2019062701.html #pgz #PygameZero #Pygame #Python #GameDev #Tutorial
Bild/Foto

 
Freie #Software braucht eine gute #Dokumentation. In der #Python Welt ist #Sphinx Standard.

Die 2. Auflage meines Buches über Sphinx hat fast 50 Seiten mehr. Das Inhaltsverzeichnis ist umfangreicher geworden.

https://literatur.hasecke.com/post/software-dokumentation-mit-sphinx/

#floss #opensource

 
Hat oder kennt jemand Skripte, zur Aufbereitung von Web of Science (o.Ä) Exporten (Excel-Datei): Spalten umbenennen nach #DublinCore, Autorennamen normalisieren, etc.?

Ziel sind #DSpace-importierbare CSVs.

#Bash, #Python, #OpenRefine egal. Bitte boosten! Danke für Hinweise 🙂 #Code4Lib

 
This is really beautiful! ☄️
An Orbit Map of the Solar System by @eleanor_lutz tabletopwhale.com/2019/06/10/the…
#dataviz #python #space

 
Heute hab ich nach langer Zeit auch am #Libravatar Projekt mal wieder was gemacht.Eigentlich ist die Seite nicht besonders wartungsaufwendig und ich hab sowieso keine Ahnung von #Python,da kuemmern sich die anderen drum.Aber es steht schon wieder ein Designwechsel an.Das neue Design sieht viel besser aus und ist speziell fuer die Seite gemacht.Da hab ich noch ein paar Elemente die vergessen wurden verschoenert.Ausserdem gibts jetzt ne Datenschutzerklaerung,nachdem wir darauf hingewiesen wurden,dass so eine fehlt.Die Aenderungen sind aber noch nicht online.

 

Who put Python in the Windows 10 May 2019 Update? | Python


That's actually pretty useful

#python #Windows10
Who put Python in the Windows 10 May 2019 Update?

 

New blog with new design and ActivityPub support


It was absolutely time for bringing a new blog online.
The previous one was already quite outdated when we brought it online but we decided for it anyway because it was simple and free and we didn't have that big server capacities back then.
In the old situation it was a big advantage that it was centralized and hosted for free on MyBlogs servers so we had no trouble with it.
The downsides were the third party ads which ignore your privacy and couldn't be turned off - And for us that we had to rely on a third party we couldn't control.
We learned our lessons when there were some server outages but due to the software being proprietary,there wasn't a quick and easy solutions so we stayed there a little longer and longer and...
After our big success with the #Mastodon client #Halcyon and a growing number of users which could theoretically visit the blog,it was clear that something better would be needed sooner or later.
It's later now and the new and much better and more modern blog is finally online.
It was clear that the next blogging software must be open source and run on our own infrastructure which grow enough to handle all the traffic - At least we hope so,let's try if it's true.
Another of our requirements was the #ActivityPub support because we're doing much in the ActivityPub network so it wouldn't make sense not to have our blog there.
With this requirement the amount of available software wasn't that big anymore: Only Wordpress,Plume,WriteAs and Microblog.pub were left.
The biggest blogging software is #Wordpress but it's totally bloated and nearly every theme includes some third-party shit and ActivityPub support is only available using addons which are still in alpha stage so this one fell out of the decision quite early.
#WriteAs and #Plume are both very cool softwares which are built for ActivityPub Support from the very beginning and they are free of trackers and not that bloated so good choices but they're made for instances with more users what you can see in the way it's built and we think that's great for the big majority but not for our simple and small blog which should just contain some project updates.
Only #MicroblogPub is left at this point and that has been my personal favourite from the point when I first heard about it but when it also made the best points in the direct comparison,it was clear what software we have to use.
Microblog.pub is a single-user blogging software written in #Python which is open source and has only a few dependencies.
In it's original version you can see that it's meant for short posts even if it doesn't have a hardcoded character limit and should be used more in the way of a lightweight,single-user Mastodon instance.
To make it look more like a normal blog,we've rewritten most of the frontend source code using PureCSS which looks modern and isn't that bloated.
We made our modified source code available in the NikisoftBlog NotABug repository to make it easy for other people to run their own ActivityPub based blog.
We hope that you like what we did here and we're happy about comments,bug reports and feature requests in the comments (you can just reply to this post using a ActivityPub supporting software) or in our #NotABug issues.
But when requesting a feature,please keep in mind that this is a low priority project which we mainly do for our own use and as long as we don't attract hundreds of users,it may take some time until feature requests are implemented because we also have to work on our more popular projects.
Like this post?You can also follow this blog now using every ActivityPub compatible software.

 

 

[ANN]Arronax v0.7.0


I just released a new version of Arronax.

Arronax is a program that allows you to create and edit starters for programs and locations (\*.desktop files) under Linux. Besides a standalone program there are optional plugins for the file managers Caja, Nautilus and Nemo.

Arronax is written in Python and uses GTK for the graphical user interface.

Bild/Foto

#linux #opensource #foss #freesoftware #debian #ubuntu #python #mywork #gtk

 

[ANN]Arronax v0.7.0


I just released a new version of Arronax.

Arronax is a program that allows you to create and edit starters for programs and locations (\*.desktop files) under Linux. Besides a standalone program there are optional plugins for the file managers Caja, Nautilus and Nemo.

Arronax is written in Python and uses GTK for the graphical user interface.

Bild/Foto

#linux #opensource #foss #freesoftware #debian #ubuntu #python #mywork #gtk

 

[ANN]Arronax v0.7.0


I just released a new version of Arronax.

Arronax is a program that allows you to create and edit starters for programs and locations (\*.desktop files) under Linux. Besides a standalone program there are optional plugins for the file managers Caja, Nautilus and Nemo.

Arronax is written in Python and uses GTK for the graphical user interface.

Bild/Foto

#linux #opensource #foss #freesoftware #debian #ubuntu #python #mywork #gtk

 
Kollisionserkennung in Python (Pygame)

In diesem Tutorial hatte ich ja schon angedeutet, daß ich mich demnächst mit dem Thema #Kollisionserkennung auseinandersetzen möchte und hatte auch schon auf ein Video hingewiesen, das sich damit beschäftigt. Natürlich habe ich auch weiter zu diesem Thema geforscht gegoogelt und bin auf eine YouTube-Playlist mit dem Titel »Learn 2 Code: How to Make a Computer Game« gestoßen. http://blog.schockwellenreiter.de/2019/05/2019051801.html #Python #Pygame #GameDev

 
Just published a #Python implementation of @WAHa_06x36 s blurhash algorithm to PyPi so you, too, can create or decode the neat blurred preview images that are part of Mastodon 2.8.2:

https://github.com/halcy/blurhash-python

Tomorrow, Mastodon.py will get an update that'll include this plus some convenience stuff and bug fixes, too. 🐍
Bild/Foto
Bild/Foto

 
Spaß mit Processing.py und Pi

Gestern fiel mir der Beitrag »Visual Art with Pi using GGPlot2 and Circlize« von Chisato in die Hände. Sie visualisierte darin die Stellen der Kreiszahl #Pi auf verschiedene Arten, allen aber war gemein, daß sie für die Farben eine spezielle Palette, die Viridis Magma nutzte. Chisato programmierte in R, aber die Viridis-Paletten wurden ursrpünglich für Pythons Matplotlib entwickelt. http://blog.schockwellenreiter.de/2019/05/2019050204.html #ProcessingPy #Processing #Python #CreativeCoding
Bild/Foto

 
Would you like to experiment with language development? Is there something you need to parse, but you can't find a suitable tool? Perhaps Yakety can help.

Yakety itself is a Python library for generating recursive descent parsers from EBNF grammars. Included with it is a wrapper tool (ykt), which will use a grammar file to parse stdin, and then emit a representation of the parse tree (either structured text or JSON) to stdout, allowing you to build and test parsers with minimal friction. Also included is a tool for converting the JSON parse tree to a form suitable for Graphviz, letting you create visualizations of the parser's output.

The code is based on that presented in the article Recursive Descent: The Next Iteration.

Enjoy, and I hope you find it useful.

#programming #python #linux

 
Would you like to experiment with language development? Is there something you need to parse, but you can't find a suitable tool? Perhaps Yakety can help.

Yakety itself is a Python library for generating recursive descent parsers from EBNF grammars. Included with it is a wrapper tool (ykt), which will use a grammar file to parse stdin, and then emit a representation of the parse tree (either structured text or JSON) to stdout, allowing you to build and test parsers with minimal friction. Also included is a tool for converting the JSON parse tree to a form suitable for Graphviz, letting you create visualizations of the parser's output.

The code is based on that presented in the article Recursive Descent: The Next Iteration.

Enjoy, and I hope you find it useful.

#programming #python #linux

 
Would you like to experiment with language development? Is there something you need to parse, but you can't find a suitable tool? Perhaps Yakety can help.

Yakety itself is a Python library for generating recursive descent parsers from EBNF grammars. Included with it is a wrapper tool (ykt), which will use a grammar file to parse stdin, and then emit a representation of the parse tree (either structured text or JSON) to stdout, allowing you to build and test parsers with minimal friction. Also included is a tool for converting the JSON parse tree to a form suitable for Graphviz, letting you create visualizations of the parser's output.

The code is based on that presented in the article Recursive Descent: The Next Iteration.

Enjoy, and I hope you find it useful.

#programming #python #linux

 
Attention all #Python coders, humble has a new book bundle just for you (affiliate):

 
Attention all #Python coders, humble has a new book bundle just for you (affiliate):

 
Ich versuche derzeit #python zu lernen. Leider tu ich mir eher schwer damit und ich komme nur im Schneckentempo voran, aber ich will trotzdem am Ball bleiben.
Vielleicht (oder ganz sicher sogar) hat ja jemand hier einen #tipp für das ein oder andere #turorial, #buch, #pdf etc? Für absolute und tendenziell begriffsstutzige Neulinge? Merci!

 
Die zweite Auflage meine Buches über #Sphinx ist erschienen.

"Sphinx ist ein leistungsfähiges Werkzeug für die Dokumentation von Software. Ursprünglich geschrieben, um die Programmiersprache #Python zu dokumentieren, entwickelte sich Sphinx in der Python-Community schnell zum Standard. "

https://www.amazon.de/dp/1793008779
Bild/Foto

 
Kennt jemand eine #Javascript-Bibliothek mit der man Browserspiele so einfach programmieren kann wie mit Pygame Zero in #Python?

 
So, Black is pretty cool.

#python

 
So, Black is pretty cool.

#python

 
Ich versuche derzeit #python zu lernen. Leider tu ich mir eher schwer damit und ich komme nur im Schneckentempo voran, aber ich will trotzdem am Ball bleiben.
Vielleicht (oder ganz sicher sogar) hat ja jemand hier einen #tipp für das ein oder andere #turorial, #buch, #pdf etc? Für absolute und tendenziell begriffsstutzige Neulinge? Merci!

 
Ich versuche derzeit #python zu lernen. Leider tu ich mir eher schwer damit und ich komme nur im Schneckentempo voran, aber ich will trotzdem am Ball bleiben.
Vielleicht (oder ganz sicher sogar) hat ja jemand hier einen #tipp für das ein oder andere #turorial, #buch, #pdf etc? Für absolute und tendenziell begriffsstutzige Neulinge? Merci!

 

Développer son propre outil de travail ?


Avec un peu d'acharnement, j'ai réussi hier à tester #Ulysses, ce logiciel dédié à l' #écriture mais uniquement sur #MacOS (merci #VirtualBox) ; ça faisant deux ans que je voulais m'y frotter… eh bien je suis assez dégoûté, parce que c'est effectivement l' #outil qui correspond le mieux à mes besoins… Sauf qu'il est en prison, payant par abonnement uniquement, code fermé, sur système verrouillé d'identifiants et d'iCloud, sur machines #Apple odieusement chères ; #hackintosh alors ?
Cela étant, très bonne impression à l'usage de #MacOSX #Mojave
le thème sombre est propre, la rationalisation des onglets à travers les logiciels est bienvenue, l' #interface se fait très facilement disparaître, y compris la menubar en haut, l'ensemble apparaît cohérent…

Gros changement après mon utilisation d'il y a quinze ans maintenant sur processeur "G5" apathique… (heureusement, en même temps)

Et je me rends compte aussi de la distance qu'il y a entre cet #os et des #Solus #SolusOS #Slementary #SlementaryOS #Gnome et #Budgie pourtant vaillants (#Ubuntu, #Plasma #Cinnamon et compagnie sont à mes yeux assez catastrophiques en termes de #design #ux)
Reste plusieurs possibilités :pour ne citer que ceux-là…

#autonomisation vs #productivité ?
#développement " #empowerment " ou #folie ?
il y a plein de #moocs #python (j'en ai débuté un, et j'ai quelques notions de codage grâce à #Scratch et #php) qui me font penser que c'est peut-être un tout petit peu possible

il y a l'esprit #gnome et la démarche d' #elementary qui me parlent aussi, et qui m'orienteraient vers #vala :
- https://fr.wikipedia.org/wiki/Vala_(langage)
- https://developer.gnome.org/gnome-devel-demos/stable/beginner.vala.html.fr
- https://invidio.us/watch?v=RWcCsRoH_l4
- https://wiki.gnome.org/Projects/Vala

@elementary@mastodon.social
is learning code and developping a first app with vala a good idea ?
i need a libre clone of #Ulysses https://ulysses.app/
#bref, je ne sais pas faire un fil/thread sur ces réseaux de "microblogging"
morceaux originels chez #Mastodon :

https://imaginair.es/@terhemis/101980765827744047
https://imaginair.es/@terhemis/101980830576369299
https://imaginair.es/@terhemis/101980875866910816
https://imaginair.es/@terhemis/101980913243656610
https://imaginair.es/@terhemis/101980920471007029

 

Pyodide: Bringing the scientific Python stack to the browser - Mozilla Hacks - the Web developer blog


https://hacks.mozilla.org/2019/04/pyodide-bringing-the-scientific-python-stack-to-the-browser/

#python #chrome #firefox #science
Pyodide: Bringing the scientific Python stack to the browser

 

Pyodide: Bringing the scientific Python stack to the browser - Mozilla Hacks - the Web developer blog


https://hacks.mozilla.org/2019/04/pyodide-bringing-the-scientific-python-stack-to-the-browser/

#python #chrome #firefox #science
Pyodide: Bringing the scientific Python stack to the browser

 
Bild/Foto

How we made Monty Python’s Life of Brian

John Cleese had wanted to play Brian. Graham Chapman had been drinking quite a lot, and John thought we needed a safe pair of hands for the lead role. But Graham gave up drinking just before and was dry throughout. He had a kind of decency that anchored the whole film. He was also a qualified doctor, so he was very useful looking after cast and crew while we were shooting in Tunisia, with all the stomach upsets people had.
#Python #humour #Brian

 
Bild/Foto

How we made Monty Python’s Life of Brian

John Cleese had wanted to play Brian. Graham Chapman had been drinking quite a lot, and John thought we needed a safe pair of hands for the lead role. But Graham gave up drinking just before and was dry throughout. He had a kind of decency that anchored the whole film. He was also a qualified doctor, so he was very useful looking after cast and crew while we were shooting in Tunisia, with all the stomach upsets people had.
#Python #humour #Brian