Disclaimer: Its a collection from lots of other site(s) and few of my notes. I would also like to declare that I am not owning lots of its content. Please feel free to contact me directly if you want me to remove any of your content, that you don't want to share to other through this blog.
Tuesday, 1 April 2014
getting help using ipython for python modules
import subprocess or from subprocess import os
subprocess.<TAB>
subprocess.CalledProcessError subprocess.call subprocess.gc subprocess.select
subprocess.MAXFD subprocess.check_call subprocess.list2cmdline subprocess.signal
subprocess.PIPE subprocess.check_output subprocess.mswindows subprocess.sys
subprocess.Popen subprocess.errno subprocess.os subprocess.traceback
subprocess.STDOUT subprocess.fcntl subprocess.pickle subprocess.types
subprocess.os.<TAB>
Display all 218 possibilities? (y or n)
subprocess.os.EX_CANTCREAT subprocess.os.TMP_MAX subprocess.os.ftruncate subprocess.os.renames
subprocess.os.EX_CONFIG subprocess.os.UserDict subprocess.os.getcwd subprocess.os.rmdir
subprocess.os.EX_DATAERR subprocess.os.WCONTINUED subprocess.os.getcwdu subprocess.os.sep
subprocess.os.EX_IOERR subprocess.os.WCOREDUMP subprocess.os.getegid subprocess.os.setegid
subprocess.os.EX_NOHOST subprocess.os.WEXITSTATUS subprocess.os.getenv subprocess.os.seteuid
subprocess.os.EX_NOINPUT subprocess.os.WIFCONTINUED subprocess.os.geteuid subprocess.os.setgid
subprocess.os.EX_NOPERM subprocess.os.WIFEXITED subprocess.os.getgid subprocess.os.setgroups
subprocess.os.EX_NOUSER subprocess.os.WIFSIGNALED subprocess.os.getgroups subprocess.os.setpgid
subprocess.os.EX_OK subprocess.os.WIFSTOPPED subprocess.os.getloadavg subprocess.os.setpgrp
subprocess.os.EX_OSERR subprocess.os.WNOHANG subprocess.os.getlogin subprocess.os.setregid
subprocess.os.EX_OSFILE subprocess.os.WSTOPSIG subprocess.os.getpgid subprocess.os.setresgid
subprocess.os.EX_PROTOCOL subprocess.os.WTERMSIG subprocess.os.getpgrp subprocess.os.setresuid
subprocess.os.EX_SOFTWARE subprocess.os.WUNTRACED subprocess.os.getpid subprocess.os.setreuid
subprocess.os.EX_TEMPFAIL subprocess.os.W_OK subprocess.os.getppid subprocess.os.setsid
subprocess.os.EX_UNAVAILABLE subprocess.os.X_OK subprocess.os.getresgid subprocess.os.setuid
subprocess.os.EX_USAGE subprocess.os.abort subprocess.os.getresuid subprocess.os.spawnl
subprocess.os.F_OK subprocess.os.access subprocess.os.getsid subprocess.os.spawnle
subprocess.os.NGROUPS_MAX subprocess.os.altsep subprocess.os.getuid subprocess.os.spawnlp
subprocess.os.O_APPEND subprocess.os.chdir subprocess.os.initgroups subprocess.os.spawnlpe
subprocess.os.O_ASYNC subprocess.os.chmod subprocess.os.isatty subprocess.os.spawnv
subprocess.os.O_CREAT subprocess.os.chown subprocess.os.kill subprocess.os.spawnve
subprocess.os.O_DIRECT subprocess.os.chroot subprocess.os.killpg subprocess.os.spawnvp
subprocess.os.O_DIRECTORY subprocess.os.close subprocess.os.lchown subprocess.os.spawnvpe
subprocess.os.O_DSYNC subprocess.os.closerange subprocess.os.linesep subprocess.os.stat
subprocess.os.O_EXCL subprocess.os.confstr subprocess.os.link subprocess.os.stat_float_times
subprocess.os.O_LARGEFILE subprocess.os.confstr_names subprocess.os.listdir subprocess.os.stat_result
subprocess.os.O_NDELAY subprocess.os.ctermid subprocess.os.lseek subprocess.os.statvfs
subprocess.os.O_NOATIME subprocess.os.curdir subprocess.os.lstat subprocess.os.statvfs_result
subprocess.os.O_NOCTTY subprocess.os.defpath subprocess.os.major subprocess.os.strerror
subprocess.os.O_NOFOLLOW subprocess.os.devnull subprocess.os.makedev subprocess.os.symlink
subprocess.os.O_NONBLOCK subprocess.os.dup subprocess.os.makedirs subprocess.os.sys
subprocess.os.O_RDONLY subprocess.os.dup2 subprocess.os.minor subprocess.os.sysconf
subprocess.os.O_RDWR subprocess.os.environ subprocess.os.mkdir subprocess.os.sysconf_names
subprocess.os.O_RSYNC subprocess.os.errno subprocess.os.mkfifo subprocess.os.system
subprocess.os.O_SYNC subprocess.os.error subprocess.os.mknod subprocess.os.tcgetpgrp
subprocess.os.O_TRUNC subprocess.os.execl subprocess.os.name subprocess.os.tcsetpgrp
subprocess.os.O_WRONLY subprocess.os.execle subprocess.os.nice subprocess.os.tempnam
subprocess.os.P_NOWAIT subprocess.os.execlp subprocess.os.open subprocess.os.times
subprocess.os.P_NOWAITO subprocess.os.execlpe subprocess.os.openpty subprocess.os.tmpfile
subprocess.os.P_WAIT subprocess.os.execv subprocess.os.pardir subprocess.os.tmpnam
subprocess.os.R_OK subprocess.os.execve subprocess.os.path subprocess.os.ttyname
subprocess.os.SEEK_CUR subprocess.os.execvp subprocess.os.pathconf subprocess.os.umask
subprocess.os.SEEK_END subprocess.os.execvpe subprocess.os.pathconf_names subprocess.os.uname
subprocess.os.SEEK_SET subprocess.os.extsep subprocess.os.pathsep subprocess.os.unlink
subprocess.os.ST_APPEND subprocess.os.fchdir subprocess.os.pipe subprocess.os.unsetenv
subprocess.os.ST_MANDLOCK subprocess.os.fchmod subprocess.os.popen subprocess.os.urandom
subprocess.os.ST_NOATIME subprocess.os.fchown subprocess.os.popen2 subprocess.os.utime
subprocess.os.ST_NODEV subprocess.os.fdatasync subprocess.os.popen3 subprocess.os.wait
subprocess.os.ST_NODIRATIME subprocess.os.fdopen subprocess.os.popen4 subprocess.os.wait3
subprocess.os.ST_NOEXEC subprocess.os.fork subprocess.os.putenv subprocess.os.wait4
subprocess.os.ST_NOSUID subprocess.os.forkpty subprocess.os.read subprocess.os.waitpid
subprocess.os.ST_RDONLY subprocess.os.fpathconf subprocess.os.readlink subprocess.os.walk
subprocess.os.ST_RELATIME subprocess.os.fstat subprocess.os.remove subprocess.os.write
subprocess.os.ST_SYNCHRONOUS subprocess.os.fstatvfs subprocess.os.removedirs
subprocess.os.ST_WRITE subprocess.os.fsync subprocess.os.rename
subprocess.sys.<TAB>
subprocess.sys.api_version subprocess.sys.exitfunc subprocess.sys.last_value subprocess.sys.pydebug
subprocess.sys.argv subprocess.sys.flags subprocess.sys.long_info subprocess.sys.setcheckinterval
subprocess.sys.builtin_module_names subprocess.sys.float_info subprocess.sys.maxint subprocess.sys.setdlopenflags
subprocess.sys.byteorder subprocess.sys.float_repr_style subprocess.sys.maxsize subprocess.sys.setprofile
subprocess.sys.call_tracing subprocess.sys.getcheckinterval subprocess.sys.maxunicode subprocess.sys.setrecursionlimit
subprocess.sys.callstats subprocess.sys.getdefaultencoding subprocess.sys.meta_path subprocess.sys.settrace
subprocess.sys.copyright subprocess.sys.getdlopenflags subprocess.sys.modules subprocess.sys.stderr
subprocess.sys.displayhook subprocess.sys.getfilesystemencoding subprocess.sys.path subprocess.sys.stdin
subprocess.sys.dont_write_bytecode subprocess.sys.getprofile subprocess.sys.path_hooks subprocess.sys.stdout
subprocess.sys.exc_clear subprocess.sys.getrecursionlimit subprocess.sys.path_importer_cache subprocess.sys.subversion
subprocess.sys.exc_info subprocess.sys.getrefcount subprocess.sys.platform subprocess.sys.version
subprocess.sys.exc_type subprocess.sys.getsizeof subprocess.sys.prefix subprocess.sys.version_info
subprocess.sys.excepthook subprocess.sys.gettrace subprocess.sys.ps1 subprocess.sys.warnoptions
subprocess.sys.exec_prefix subprocess.sys.hexversion subprocess.sys.ps2
subprocess.sys.executable subprocess.sys.last_traceback subprocess.sys.ps3
subprocess.sys.exit subprocess.sys.last_type subprocess.sys.py3kwarning
### Help ##
subprocess.sys.maxsize?
Type: int
String Form:9223372036854775807
Docstring:
int(x=0) -> int or long
int(x, base=10) -> int or long
Convert a number or string to an integer, or return 0 if no arguments
are given. If x is floating point, the conversion truncates towards zero.
If x is outside the integer range, the function returns a long instead.
If x is not a number or if base is given, then x must be a string or
Unicode object representing an integer literal in the given base. The
literal can be preceded by '+' or '-' and be surrounded by whitespace.
The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to
interpret the base from the string as an integer literal.
>>> int('0b100', base=0)
4
subprocess.os.stat?
Type: builtin_function_or_method
String Form:<built-in function stat>
Docstring:
stat(path) -> stat result
Perform a stat system call on the given path.
subprocess.os.uname?
Type: builtin_function_or_method
String Form:<built-in function uname>
Docstring:
uname() -> (sysname, nodename, release, version, machine)
Return a tuple identifying the current operating system.
Labels:
How To,
Informations,
python
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment