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

Month: January 2017

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

PyPro #36 Removing end-of-line characters from a file

Reading Time: 1 minutesRemoving end-of-line characters from a file in Python Removing end-of-line characters from a file in Python Removing end-of-line characters from a file: Write a Python program to create minified versions […]

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

PyPro #35 Picking a random line from a file

Reading Time: 1 minutesPicking a random line from a file in Python Picking a random line from a file in Python Picking a random line from a file: Write Python code to pick […]

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

PyPro # 34 Printing corresponding lines of two files together

Reading Time: 1 minutesPrinting corresponding lines of two files together in Python Printing corresponding lines of two files together in Python Printing corresponding lines of two files together: Write a Python script which […]

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

PyPro #33 Longest word(s) in a file

Reading Time: 1 minutesLongest word(s) in a file in Python Longest word(s) in a file in Python Longest word(s) in a file: Write a Python program to extract the longest word(s) out of […]

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

PyPro #32 Emulating the 'head' command of Unix

Reading Time: 1 minutesEmulating the 'head' command of Unix in Python Emulating the 'head' command of Unix in Python Emulating the 'head' command of Unix in Python: In Unix, the head -n fileName […]

Posted on January 21, 2017November 13, 2019 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

PyPro #31 nth Term of Fibonacci Series

Reading Time: 1 minutesnth Term of Fibonacci Series in Python: Write a Python function which gives nth term of Fibonacci series. Fibonacci series is a sequence of numbers in which each number is […]

Posted on January 19, 2017March 27, 2017 by lakshayarora7 Continue reading
Python @ DjangoSpin

PyPro #30 Computing Factorial of a Number

Reading Time: 1 minutesComputing Factorial of a Number in Python: Compose a factorial() function which accepts an integer and returns its factorial. Factorial (denoted by an exclamation mark !) of a number x […]

Posted on January 19, 2017December 20, 2017 by Nalini Aggarwal Continue reading

Posts navigation

Older 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.