Skip to content
djangoSpin
  • Home
  • About Us
    • Nalini & Lakshay
  • Python Center
    • Python 101
    • OO Python
    • Design Patterns
    • 50+ Standard Library Modules
    • 60+ Third-Party Modules
    • 50+ Tips & Tricks for Python Developers
    • 50+ Know-How(s) Every Pythonista Must Know
    • All Python Articles
    • Python Programs
  • Handy-How-To(s)
    • C#
    • English
    • Google Chrome
    • Microsoft Excel
    • Oracle
    • Python
    • SQL
    • WordPress
    • Unix

Python

Python @ DjangoSpin

Python: The logging Module

Reading Time: 2 minutesLogging in Python Logging in Python Table of Contents Introduction to logging module and severity levels Using integers to denote severity levels Logging to a file: filename & filemode Formatting […]

Posted on February 17, 2017November 13, 2019 by lakshayarora7 Continue reading
Python @ DjangoSpin

Python: The "_" identifier in Interactive Sessions

Reading Time: 1 minutes_ in Python _ in Python _ in Python: The _ identifier stores the most recently printed expression. This identifier can be used to quickly access the last computed result […]

Posted on February 4, 2017April 9, 2017 by lakshayarora7 Continue reading
Python @ DjangoSpin

Python: Variable Swapping

Reading Time: 1 minutesVariable Swapping in Python Variable Swapping in Python: Python makes it really easy to swap values of two or more variables. Example: The way this works is that the expression […]

Posted on February 2, 2017April 9, 2017 by lakshayarora7 Continue reading
Python @ DjangoSpin

Using the Standard Library Module ftplib

Reading Time: 1 minutesftplib in Python ftplib in Python ftplib in Python: Python's standard library module ftplib enables users to carry out operations on a remote system using File Transfer Protocol. You can […]

Posted on February 2, 2017November 13, 2019 by lakshayarora7 Continue reading
Python @ DjangoSpin

Python: Running Python Scripts

Reading Time: 2 minutesRunning Python Scripts Running Python Scripts: Once you have installed Python, you executed Python scripts (.py files) in the following way: For Windows, press Windows + R for the run […]

Posted on January 22, 2017April 9, 2017 by lakshayarora7 Continue reading
Python @ DjangoSpin

Python: Copying a file

Reading Time: 1 minutesCopying a file in Python: You can use either copy() function or copyfile() function of builtin module shutil to create a copy of a file. Copying a file in Python

Posted on January 21, 2017April 9, 2017 by lakshayarora7 Continue reading
Python @ DjangoSpin

Python: Getting size of a file on disk

Reading Time: 1 minutesGetting size of a file on disk in Python: Using the stat() function of builtin module os, you can retrieve information about a file on disk, including its size in […]

Posted on January 21, 2017November 13, 2019 by lakshayarora7 Continue reading
Python @ DjangoSpin

Why choose Python?

Reading Time: 6 minutesWhy choose Python? Why choose Python? If you are wondering why to learn Python, well, here's why: Easiest-to-learn & Most-enjoyable-to-use: Python is arguably the easiest-to-learn programming language, and the most […]

Posted on January 14, 2017March 29, 2017 by lakshayarora7 Continue reading
Python @ DjangoSpin

Python: Ternary Operator/Conditional Expression - x if condition else y

Reading Time: 1 minutesTernary Operator/Conditional Expression in Python Ternary Operator/Conditional Expression in Python A Ternary Operation involves 2 operators and 3 operands. Python offers a shorthand for if-then-else constructs using its ternary operator […]

Posted on January 14, 2017March 29, 2017 by lakshayarora7 Continue reading
Python @ DjangoSpin

Python: File Buffering

Reading Time: 3 minutesFile Buffering in Python File Buffering in Python: In the builtin open() function, there is an optional argument, called buffering. This argument is used to specify the file's desired buffer […]

Posted on January 11, 2017March 29, 2017 by lakshayarora7 Continue reading

Posts navigation

Older posts
Newer posts
♫  On a fishing boat of the New Jersey Shore... ♫
Passenger

Categories

  • English (1)
  • Google Chrome (2)
  • Mac (1)
  • Microsoft Excel (2)
  • Microsoft Outlook (2)
  • Oracle (6)
  • Project Euler Problems (1)
  • Python (112)
  • Python Programs (102)
  • SQL (3)
  • Uncategorized (2)
  • Unix (2)
  • Wordpress (1)

Recent Posts

  • Project Euler Problem #1: Multiples of 3 and 5 | Difficulty 5%
  • Python: Lexicon
  • Windows: Scheduling a task
  • PyPro #101 Chain of Responsibility Design Pattern
  • PyPro #100 Convert camelCase words to underscore_separated_lowercase words

Archives

  • April 2018
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • October 2016
  • September 2016
  • July 2016
  • May 2016
  • February 2016
  • January 2016
  • December 2015

Feeds

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Proudly powered by WordPress | Theme: West by aThemes.