background preloader

Python

Facebook Twitter

Comparing Python and PowerShell DBA Scripting. I became interested in scripting about a year or two ago when I landed a DBA job in a larger shop that was primarily focused on production support and Database Change Management.

Comparing Python and PowerShell DBA Scripting

I was assigned several projects, each of which had at least three servers, Dev, QA, and Prod. It quickly became apparent to me that keeping up with all the typical daily DBA tasks would require some automation. I had compiled an extensive set of SQL scripts to help with my daily tasks and I had dabbled with VBScript but it didn’t quite get my juices flowing.

So, I continued searching, trying Perl and then Python, which I had tinkered with at home on a Linux box. I ended up deciding on Python, mostly because of its clean syntax which makes it really easy to read. So, I’ve gotten to the point where I’ve automated several mundane DBA tasks and was pretty happy with my progress, when along comes PowerShell from Microsoft. My thoughts could be summarised as follows Why scripting? Why Python? Easy to read. Online Python Tutor - Learn programming by visualizing code execution. Python Exercices. Entraînez-vous sur le langage Python ! Salut!

Entraînez-vous sur le langage Python !

Depuis la création de ce nouveau forum, on remarque que quelques exercices portant sur le langage Python fleurissent déjà. Seulement ces exercices risquent de se faire oublier au fin fond de tous les nouveaux sujets qui vont apparaître, et comme vous vous en doutiez, on ne peut pas tous les épingler(mettre en post-it). J'ai donc eu l'idée de regrouper les liens vers ces exercies dans un seul topic, que j'essayerai de mettre à jour au fur et à mesur. J'ai décidé de classer les exercices en trois catégories: Novice, Intermédiaire et Avancé. __EDIT (Fort en pommes): Une nouvelle organisation pour le topic des exercices du forum!

Un grand merci à psimod pour avoir ouvert et gérer ce topic jusquà maintenant! Si vous êtes vous même créateur d'un exercice, merci de le proposer sous cette forme: (Et n'oubliez pas de mettre [Exercice] dans le titre de votre post!) NB: N'oubliez pas d'inclure les notions à connaître pour aborder l'exercice. Geek to Live: How to assign a domain name to your home web server.

WebFrameworks. A Web framework is a collection of packages or modules which allow developers to write Web applications (see WebApplications) or services without having to handle such low-level details as protocols, sockets or process/thread management.

WebFrameworks

The majority of Web frameworks are exclusively server-side technology, although, with the increased prevalence of AJAX, some Web frameworks are beginning to include AJAX code that helps developers with the particularly tricky task of programming (client-side) the user's browser. At the extreme end of the client-side Web Frameworks is technology that can use the web browser as a full-blown application execution environment (a la gmail for example): see Web Browser Programming for details. Generally, frameworks provide support for a number of activities such as interpreting requests (getting form parameters, handling cookies and sessions), producing responses (presenting data as HTML or in other formats), storing data persistently, and so on.

Real Python for Web Development, featuring web2py by Michael Herman. Remember Real Python?

Real Python for Web Development, featuring web2py by Michael Herman

Well, this project, Real Python for Web Development, is the next step. With the support of Fletcher Heisler (the creator of the original Real Python course), I am developing a course that will be perfect for those who are ready to take Python to the next level in learning Web Development in a practical, hands-on manner. Well, thanks to you, we hit our initial funding goal (within the first 24 hours!!) - but we're not finished yet! We still want to go for some stretch goals. First Stretch Goal ($10,000): Flask.