Hi
I would like to learn how to code System Programming for windows via python(Python System Programming)
Any tip or suggestion?where can I begin!
Any recommend books,links and video tutorial?

I appreciate your help

Dani AI

Generated

Clarify the goal first — “system programming” covers two different things. If the aim is kernel‑level work (drivers, kernel modules) you will need Microsoft’s Windows Driver Kit and native C/C++ toolchains; Python is not the right tool for that class of development. If the aim is automating Windows, building services, querying event logs, manipulating the registry or integrating with COM, that is user‑mode work and Python is an excellent choice (as pointed out). See Microsoft’s guidance for driver development and the WDK for kernel work. (learn.microsoft.com)

A practical learning path: get comfortable with Python’s standard library for OS work (os, subprocess, shutil, socket, threading/multiprocessing, winreg) and then learn ctypes so you can call native DLLs / Win32 APIs when there’s no higher‑level wrapper. Start with small automation tasks (spawn processes, manage files, read env vars), then add FFI calls only when needed. The ctypes docs explain calling conventions and safety concerns. (docs.python.org)

Windows‑specific toolset: use the pywin32 extensions for COM, services, event logs and many Win32 integrations; use psutil to inspect processes, services and system metrics; consider the WMI Python wrapper when you need WMI queries. Install via pip inside a virtual environment and test in a VM or isolated machine. Good starter projects: list/monitor processes, query and restart services, read event logs, write a simple Windows service, and read/write registry keys. (github.com)

For a book, Mark Hammond and Andy Robinson’s "Python Programming on Win32" is a classic practical guide for Windows‑focused Python work; combine it with the official docs and small hands‑on projects (avoid running code as admin unless required). ’s videos are a fine supplement — follow them with official docs and the libraries above for depth and safety. (oreilly.com)

Recommended Answers

All 3 Replies

Can you tell us what exactly do you want to accomplish?

Are you sure, do you really want system programming?.

Thanks slate,I thoght my question was clear.
For example this guy he is explain vey well about python system programming in youtube but it is a several video.
http://www.youtube.com/watch?v=IAQCRkGrsCY

I will thank him from here for those wonderful videos.

It well be also good if we know about some books and links..

I would call this system administration with python and would search for those terms.

In my not informed opinion, the shells are more suitable for that job. The problem arrives with them, when you have to write real programs in them.
I think, if you have a python program with a small part doing sysadmin stuff, use python's sysadmin modules.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.