Most of the mobile applications are not alone. They frequently communicate with web services or web applications to accomplish their tasks. Lets see how to make GET and POST requests to a server.
We can use HttpConnection class to make requests.
Lets see what are the basic steps.
Showing posts with label POST. Show all posts
Showing posts with label POST. Show all posts
Monday, January 23, 2012
Saturday, January 21, 2012
Python Note 8 (Python Utilities)
Summary
filenames = os.listdir(dir) -- list of filenames in that directory path (not including . and ..). The filenames are just the names in the directory, not their absolute paths.
addins
AppCompat
AppPatch
assembly
avastSS.scr
bfsvc.exe
filenames = os.listdir(dir) -- list of filenames in that directory path (not including . and ..). The filenames are just the names in the directory, not their absolute paths.
import os dir="c:/" files=os.listdir(dir) for path in files: print(path)Output :
addins
AppCompat
AppPatch
assembly
avastSS.scr
bfsvc.exe
Subscribe to:
Posts (Atom)