Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: simulate static local varibles with getattr
Post: simulate static local varibles with getattr

Just post YouTube video with how to use getattr builtin method to create function state that presist between calls. This is done more to teach newer python users and is not necessarily how you would s...
gjenkinslb Tutorials 3 5,574 Feb-17-2018, 11:32 PM
    Thread: differences between py2 and py3
Post: RE: differences between py2 and py3

import __future__ import division, print_function in python 2 without the future import, / does integer divide so 3/2 is 1 with the future import / does a float divide so 3/2 is 1.5 you need to use t...
gjenkinslb News and Discussions 4 4,409 Feb-06-2018, 07:43 AM
    Thread: dictionary
Post: RE: dictionary

Here is a variation that is a little better (see my comments): d = {} for _ in range(10): # loop ten times name = input('Enter your Name :') # store str input if name == 'stop': break # nice ...
gjenkinslb General Coding Help 3 33,821 Feb-06-2018, 07:19 AM
    Thread: Video Course for Python Alogorithms Course and eBook
Post: Video Course for Python Alogorithms Course and eBo...

I have created a list of video tutorials that cover and correspond to the book 'Problem Solving with Algorithms and Data Structures' by Miller/Ranum, This eBook and videos cover a introduction to pyth...
gjenkinslb Tutorial Requests and Submissions 1 2,542 Feb-04-2018, 07:28 AM
    Thread: A List of Free Python Resources
Post: RE: A List of Free Python Resources

The link to 'Problem Solving with Algorithms and Data Structures' has moved to a https server at: https://runestone.academy/runestone/stat...index.html
gjenkinslb Tutorials 12 44,964 Feb-04-2018, 07:19 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020