What are strings?
Aug 1,97Strings in programming languages are used to store a contiguous set of characters. Strings are one of the most popular …
Read MoreDisplay module content
Jul 28,97The module content is usually displayed using the dir() function, which displays the attributes provided by the module. Here is …
Read MoreFind files on disk
Jul 26,97Python looks for files using path information from three sources: environment variables – environment variables (such as PYTHONPATH) that contain …
Read MoreImport modules
Jul 25,97The most common way to create a module is to define a file with the .py extension that will contain …
Read MoreWhat are modules?
Jul 24,97Modules in Python are separate code groupings which packages program code and data for reuse. Since modules are separate files, …
Read MoreNest exception handling statements
Jul 23,97Sometimes you need to place one exception-handling statement inside another. This process (called nesting) is often used in situations when …
Read More