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
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
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
thanks
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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