>
> Use:
> dt =3D datetime(*t)
>
Thanks for the quick reply.
I can't find any doc about '*' used in this context. Have you some url
or suggestion for which terms search in Google?
--
http://mail.python.org/mailman/listinfo/python-list
Hi, all.
I would like to know if it is possible to create a datetime instance
using a tuple instead of single values.
I mean:
>>> from datetime import datetime
>>> t = (1, 2, 3)
>>> dt = datetime(t)
Traceback (most recent call last):
File "", line 1, in ?
TypeError: function takes at least 3 arg
Hi all.
I'm writing a simple Python module containing functions to process
strings in various ways. Actually it works importing the module that
contains the function I'm interested in, and calling
my_module.my_function('mystring').
I was just asking if it is possible to "extend" string objects'
be
Hi all.
I need to provide to my users a graphical interface to be used from
os' command line.
Initially I thought something equivalent to Unix dialog, and googling
around I have found Python Dialog
(http://pythondialog.sourceforge.net/). This would be the perfect
solution for me if it could be cro
main.py", while I get an error
trying to run "python importers/importer1.py":
Traceback (most recent call last):
File "importers/importer1.py", line 1, in ?
from config import parameters
ImportError: No module named config
Can you explain why does that happen? It prevent