On Apr 13, 6:30 pm, DSblizzard wrote:
> How to convert string with \n and \t symbols to natural string - with
> new lines and tabs?
'String with tab\\t and newline\\n'.decode('string-escape')
--
http://mail.python.org/mailman/listinfo/python-list
On 2009-04-13, Peter Otten <__pete...@web.de> wrote:
> But there's a cache. A change of file contents may go
> undetected as long as the file stats don't change:
Good point. You can fool it if you force the stats to their
old values after you modify a file and you don't clear the
cache.
--
Gra
isam uraiqat wrote:
I HATE VISTA!!
it just needed to be installed on the site packages library, because
it was installed by default on program files,
hope this might help another poor vista user
Hello.
Can you explain?
Does the installer default to the wrong directory (installer fault)?
Matthew Wilson wrote:
I want to have .foo directory that contains some python code. I can't
figure out how to import code from that .foo directory. Is this even
possible?
Did you try putting '.foo' on sys.path?
--
http://mail.python.org/mailman/listinfo/python-list
Hello everybody!
I'm working on my code repository (svn) auto-backup script which get hotcopy
of svn repository
directory to a directory named by date in same location where script file
is, it executed by a timer
program every 00:00 clock. Everything works fine when I'm testing by double
click it.
On Apr 13, 9:08 am, a...@pythoncraft.com (Aahz) wrote:
> In article ,
>
> Ross wrote:
>
> >I'm sorry...my example was probably a bad one. A better example of
> >output I would like would be something like [[1,2],[3,4],[5,6]] and
> >then for the leftovers list [7,8,9,10 etc]. What I'm trying to do
Yes. I used a file, thanks.
On Sat, Apr 11, 2009 at 09:30:40AM -0400, Dave Angel wrote:
>
>
> Daniel Dalton wrote:
>> Hi!
>>
>> I'm writing a program to provide me with battery warnings when my
>> battery hits certain levels. It just checks the current level and does
>> something. I plan to call
Hi,
I am trying to grab webpages from a site that requires user ID and
password, is there a way that I can pass my ID and password to the
server? Thanks.
Larry
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 13 Apr 2009 21:02:39 -0700, larryzhang wrote:
> Hi,
>
> I am trying to grab webpages from a site that requires user ID and
> password, is there a way that I can pass my ID and password to the
> server? Thanks.
It depends on what the server is expecting.
Some *really bad* systems encode
On Sun, 12 Apr 2009 06:53:24 -0500, Tim Chase wrote:
>>>From the docs:
>>
>> all(iterable)
>>
>> Return True if all elements of the iterable are true. Equivalent
>> to:
>>
>> def all(iterable):
>> for element in iterable:
>> if
On Apr 13, 10:04 am, Ross wrote:
> On Apr 11, 1:10 pm, a...@pythoncraft.com (Aahz) wrote:
>
>
>
> > In article
> > <4fd78ac3-ba83-456b-b768-3a0043548...@f19g2000vbf.googlegroups.com>,
>
> > Ross wrote:
>
> > >I'm trying to design an iterator that produces two lists. The first
> > >list will be
On Apr 13, 5:51 pm, Matthew Wilson wrote:
> I want to have .foo directory that contains some python code. I can't
> figure out how to import code from that .foo directory. Is this even
> possible?
>
> TIA
>
> Matt
Yes, but it's not a particularly recommended thing to do as it is
CRAZY. You can
Matthew Wilson wrote:
I want to have .foo directory that contains some python code. I can't
figure out how to import code from that .foo directory. Is this even
possible?
TIA
Matt
--
http://mail.python.org/mailman/listinfo/python-list
Python starts up with a list of directories to search w
En Mon, 13 Apr 2009 15:13:53 -0300, norseman
escribió:
Gabriel Genellina wrote:
Now, if ... summarizes your problem, I think you should use the
"place" geometry manager, not grid (nor pack).
The Tkinter documentation [1] is rather short but the Tcl docs [2] have
more info.
[1] http://e
On Tue, Apr 14, 2009 at 6:51 AM, ning luwen wrote:
> i already have tried.
>
> and try to use the module scipy.optimize.leastsq to fit, but neither
> get a good return or just break out like this.
>
> is there any other good way?or something wrong with my code?
>
I suggest you try the scipy lis
101 - 115 of 115 matches
Mail list logo