import

2007-07-05 Thread jolly
Hey guys, I'm rather new to python and i'm have trouble(as usual) I want to know if it is possible to change where 'import' looks this will save me clogging up my python directory Thanks -- http://mail.python.org/mailman/listinfo/python-list

NOOOOB

2007-05-22 Thread jolly
Hey guys, I want to begin python. Does anyone know where a good starting point is? Thanks, Jem -- http://mail.python.org/mailman/listinfo/python-list

NameError: name 'main' is not defined

2007-12-18 Thread jolly
hey guys, When i try to run my code I get an error. NameError name 'main is not defined' [code] if __name__ == "__main__": main() filename = "addbook.dat" def main(): theMenu = ''' 1) Add Entry 2) Remove Entry 3) Find Entry 4) Quit and Save ''' theBook = {} r

Re: NameError: name 'main' is not defined

2007-12-18 Thread jolly
thanks -- http://mail.python.org/mailman/listinfo/python-list

Help %A in time.strftime(%A)

2007-12-19 Thread jolly
Hey guys, I'm following a tutorial on Python and I came across this in one of the examples. (Toggle Plain Text) import time today = time.localtime(time.time()) theDate = time.strftime("%A %B %d", today) print today print theDate import time today = time.localtime(time.time()) theDate = time.st

Help %A in time.strftime(%A)

2007-12-19 Thread jolly
Hey guys, I'm following a tutorial on Python and I came across this in one of the examples. import time today = time.localtime(time.time()) theDate = time.strftime("%A %B %d", today) print today print theDate Result: (2007, 12, 20, 9, 48, 15, 3, 354, 1) Thursday December 20 can someone ex

Question on multiple Python users in one application

2016-10-06 Thread Jolly Good Spam
Hello. Please pardon a newbie question. I have a Windows multi-user program that can be used by an arbitrary number of users at once. They can work independently, or they can share data at the file or even variable level if they want. I want to give them the ability to write Python programs wi