sharing everything

Posts in category Python

Python Run External Program

When create a program with Python, we can use a script Python Run External Program. We can use this script in command line or in program. Before we can use a command to Python run external program, we must import class in python which handle this command. We can use import os class in our […]

Python Write Binary File

Continue with my last posting about python read binary file, Now I want to create a posting about how python write binary file. Write binary file in python is like reading file. But, we must modifed about ‘r’ parameter with ‘w’ parameter. This is a sample code how python write binary file code :

[…]

Python Read Binary File

This day I have a problem to create Python read binary file. I have a binary file and want to create ptyhon to read binary file. Reading binary file with python is very simple. We can use ‘open’ function and adding parameter ‘b’ if we wanto to python read binary file. This is a simple […]

Python Concatenating Strings and Numb...

I am a new Python programmer. I have a simple problem when try to concatenating strings and numbers in Python. For example, I create this this script :

When I try to running this script, I have this errorĀ  message :

This error show because we want to concatenating strings and numbers in […]

Categories

Bloggers - Meet Millions of Bloggers