>>> import imaplib
>>> imap = imaplib.IMAP4_SSL("my.server.address")
If I am connected to the VPN, then it works fine.
Do you know why it won't work with SSL and without the VPN? Am I
missing something?
Thanks a lot,
Julien
--
http://mail.python.org/mailman/listinfo/python-list
SSL. So
I'm really unsure why I can't achieve the same thing from my laptop
using imaplib.IMAP4_SSL() without the VPN turned on.
Thank you,
Julien
On Apr 2, 3:10 pm, Michael Hrivnak wrote:
> That method uses the default port 993. Can you connect to that port
> at all from you
>>> d = {
... 'a': 1,
... 'b': 2,
... 'a': 3
... }
Error: The key 'a' already exists.
Is that possible, and if so, how?
Many thanks!
Kind regards,
Julien
--
http://mail.python.org/mailman/listinfo/python-list
s "^[[B".
I've google it and it looks like it might be an issue with the
readline not being installed or configured properly. Is that correct?
If so, how can I fix this issue?
Many thanks.
Kind regards,
Julien
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 22, 5:37 pm, Benjamin Kaplan wrote:
> On Tue, Mar 22, 2011 at 2:27 AM, Julien wrote:
> > Hi,
>
> > I'm having problems when typing the up/down arrows in the Python 2.4
> > interpreter (exact version: Python 2.4.6 (#1, Mar 3 2011, 15:45:53)
> > [GC
ython 3.2, to build the Python
> readline module, you need to have installed a local version of the GNU
> readline library, a library which is not included in Mac OS X. Starting
> with Python 2.6 and with a deployment target of Mac OS X 10.5 or higher,
> the Python readline module will be
Here 'caller_frame' contains the frame of the caller function. Now,
how can I make that frame return a particular value?
By the way, I'm not really interested in 'called' throwing an
exception and 'caller' catching it. In fact, I want things to remain
completel
processing can be done by the function...
Any idea on how to do that, if that's even possible?
Thanks!
Julien
On Mar 25, 2:06 am, [EMAIL PROTECTED] wrote:
> On Mar 24, 9:48 am, Jason <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Mar 24, 5:21 am, Julien <[EMAIL PROTECTED]
ir\bla.txt'
I wonder if there's a standard function to do that...
Thanks a lot!
Julien
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I can't seem to find the right regular expression to achieve what I
want. I'd like to remove all characters from a string that are not
numbers, letters or underscores.
For example:
>>> magic_function('[EMAIL PROTECTED]')
str: 'si_98udasgf'
Would yo
#x27;
p = re.compile(magic_regular_expression) $ <--- the magic happens
m = p.match(query)
I'd like m.groups() to return:
('some words', 'with', 'and', 'without quotes')
Is that achievable with a single regular expression, and if so, what
would it
Hi,
I would like to pull out the waveform of an audio file and save it
into an image file, for example in GIF format. Is that achievable, and
if so, how?
I heard about the Snack module, but the project looks dead and un-
maintained.
Your advice would be greatly appreciated.
Thanks!
Julien
h that list of modules, import them and get
their exact locations by fetching their __file__ attribute values.
However, this feels very hackish and I don't think it's actually quite correct
either. I'm sure there must be a better way. If possible I'd also like to avoid
%s\\%s'%(ml.path,name)for ml,name,ispkg in
> pkgutil.iter_modules() if ispkg]
> print '\n'.join(toplevel_packages)
Thanks a lot Carlos, this gives me exactly what I needed!
Best wishes,
Julien
--
http://mail.python.org/mailman/listinfo/python-list
is could result in
loss of information (what if, for example, the original filename did contain
combining diacritics and we wanted to preserve them).
Ideally, it would be preferable to preserve the original encoding. Is that
possible or is that completely out of Python's control?
Thanks a lot,
at all and will hang forever if the VPN
is turned off.
I'm really at loss there :)
Julien
On Apr 2, 2012, at 6:57 PM, Michael Hrivnak wrote:
> Your phone may be using TLS on the normal IMAP port (143). Or, are
> you sure your phone is using IMAP and not active sync?
>
> Michae
ts in real time so it is
processed in real time.).
My question is : is their any library or API or anything that is able to do
that ?
Sincerly
Julien
PS: This is my first time posting on any mailing list, my explanation/syntax
could look a little bite, messy.
--
http://mail.python.org/mailman/
ython is flawed?
Julien
--
https://mail.python.org/mailman/listinfo/python-list
Le 06/01/2018 à 21:49, J.O. Aho a écrit :
Not just Linux, but all other OS:es, Microsoft and Apple been patching
in secret as they have a closed source approach, but ms-windows needs at
least one more patch before it can breath out, which will be released on
Tuesday.
As a matter of fact, Apple
solution but it doesn't work.
Thanks
import os
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
from matplotlib import colorbar, colors
import matplotlib.tri as tri
#os.chdir("C:/Users/Julien Hofmann/Desktop/Nano-indentation")
data = pd.read_csv("Cartog
Le lundi 5 avril 2021 à 21:50:49 UTC+2, David Lowry-Duda a écrit :
Thank you for your response!
I just tried it but it doesn't make what I want.
Bassically, I would like to not put any color for every values above 0.8 times
the maximum value (ie. 488).
Hence, the ''maximum'' color (ie. red) woul
Thank you for your response, and thank you for the different tips concerning
visualisation. I'll improve it.
I've tried to put vmin and vmax in contourf(). It works but the values above
80% of the maximum value still remain red which makes the cartography not
really clear.
I think I should i
or remark concerning my technique is also welcome.
Thanks,
Julien.
--
https://mail.python.org/mailman/listinfo/python-list
where concurrency is not needed)
i.e. what is the equivalent of the above snippet for generators ?
Thanks,
Julien
PS: I was surprised however that enumerate does not work when applied to
an asynchronous generator, i.e.:
async for ii, img in enumerate(async_gen()):
pass
raises Type
.
So, if I replace get_event_loop() with new_event_loop(), then it's fine ?
Well, it's not pretty, but this seems to work:
[...]
Thanks !
Julien
--
https://mail.python.org/mailman/listinfo/python-list
it takes for the WaitFrame C function to run... When the C function
ends, the asynchronous task resumes... There is no need to adjust some
timeout by hand.
Bests,
Julien
--
https://mail.python.org/mailman/listinfo/python-list
atively straightforward.
Again, my problem is that it leads to code duplication. But that
probably means that I should separate the logic into separate functions
more.
Bests,
Julien
--
https://mail.python.org/mailman/listinfo/python-list
= A;
B->x = 3;
B->y = 4;
which backs indeed the C pointer analogy...
--
Julien Salort
Entia non sunt multiplicanda praeter necessitatem
http://www.juliensalort.org
--
https://mail.python.org/mailman/listinfo/python-list
s
> Yes, returning the class namespace is a language gaurantee.
But that says:
"Note The contents of this dictionary should not be modified; changes
may not affect the values of local and free variables used by the
interpreter."
--
Julien Salort
Entia non sunt multiplicanda
ufficiently complex programs for it to become totally unreadable.
--
Julien Salort
Entia non sunt multiplicanda praeter necessitatem
http://www.juliensalort.org
--
https://mail.python.org/mailman/listinfo/python-list
specific
drive.
Any ideas/suggestions/flames?
Thanks,
Julien
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I'm using mod_python 3.1.3 with Apache 2.0.54 on a Debian box with the
publisher handler and the Clearsilver template engine, and from time to
time apache returns an 500 error code (Internal Server Error).
Apache errog.log file looks like :
[Tue Jun 28 14:42:12 2005] [error] [client 164.x
hat url came from, afaik the tracker is
https://bitbucket.org/logilab/pylint/issues
Cheers,
Julien
--
Julien Cristau
Logilab http://www.logilab.fr/
Informatique scientifique & gestion de connaissances
--
https://mail.python.org/mailman/listinfo/python-list
low.com/questions/28538973/pythonmagick-on-windows-dll-load-failed
--
Julien Levasseur
--
https://mail.python.org/mailman/listinfo/python-list
hi,is there any method to get only some elements of a list from a list of indices. Something like:indices=[0,3,6]new_list=list[indices]which would create a new list containing 0th, 3rd and 6th elements from the original list? I do this with a loop but I'd like to know if there is a simpler way.than
Does anyone know of a freely available script that can take a given URL
and follow every link within it?
Ideally, I would like to start with this to build a quick application
to grab all the content off a website to publish it to a CD.
Thanks,
jul
--
http://mail.python.org/mailman/listinfo/pyt
(or more) processes can open
the dbm file and write in the same time without
errors/corruptions/segfaults/... ?
Thanks,
Julien
--
http://mail.python.org/mailman/listinfo/python-list
Do you wand to install Pyrex on Windows ?
Here is a step-by-step guide explaining:
A) how to install Pyrex on Windows XP.
B) how to compile a Pyrex module.
Julien Fiore,
U. of Geneva
---
### A) Pyrex installation on Windows XP
.
Julien Fiore
>>> import scipy.weave
>>> scipy.weave.test()
Found 16 tests for scipy.weave.slice_handler
Found 0 tests for scipy.weave.c_spec
Found 2 tests for scipy.weave.blitz_tools
building extensions here:
c:\docume~1\julien~1\locals~1\temp\Julien\python24_compiled\m10
To install Pyton, I simply used the python Windows installer
(python-2.4.2.msi) available at python.org.
Julien
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I have a problem :), I just want to extract text from pdf file with
python. There is differents libraries for that but it doesn't work...
pyPdf and pdfTools, I don't know why but it doesn't works with some
pdf... For example space chars are delete in the text..
Pdf playground : I don't unders
Hi,
Thanks I use that and is all right :)
import commands
txt = commands.getoutput('ps2ascii tmp.pdf')
print txt
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for your remark, Sturlamolden.
Is there a free version of the "Visual C++ 2003" compiler available on
the web? I have found "Visual C++ 2005 Express edition"
(http://msdn.microsoft.com/vstudio/express/visualc/). According to
Micrsoft, it replaces VC++2003
(http://msdn.microsoft.com/visualc/
sturlamolden wrote:
> edit the text file "c:\mingw\lib\gcc\mingw32\3.2.4\specs"
> and change "-lmsvcrt" to "-lmsvcr71".
Thank you very much sturlamolden,
This procedure should be added to the "step-by-step" guide (see 1st
message of this thread) as "step A.5".
For ignorant people like me, CRT =
I added "step A.5" to the guide and published it on the Python wiki, so
that anyone can update it easily:
http://wiki.python.org/moin/PyrexOnWindows
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'd like to use regular expressions in sqlite query, I using apsw module
but it doesn't work...Can you help me ?
My script:
import apsw
import re
path = 'db/db.db3'
#regexp function (extract from python-list discusion)
def regexp(expr, item):
reg = re.compile(expr)
return reg.match(i
the output raster.
It runs very slowly and I suspect the raster access to be the main
bottleneck. Do you have any idea to speed-up the process ?
Thanks for any help.
Julien
Here is the code:
#
## openness.py
##
## Julien Fiore, UNIGE
##
## code i
Thanks for the psyco information, Serge.
> 2) Rewrite the code to be vectorized (don't use psyco) Right now your
> code *doesn't* get any speed benefit from numpy
I do not understand this point. How to rewrite the code ? Do you mean
in C ?
Julien
--
http://mail.python.org/
Thanks Caleb for the advice,
I profiled my code with the following lines:
import profile, pstats
profile.runctx('openness(infile,outfile,R)',globals(),locals(),'profile.log')
p = pstats.Stats('profile.log')
p.sort_stats('time')
p.print_stats(10)
The outputs tells me that the ope
ed to access the array values in
the openness function.
As regards array.array, it seems a bit complicated to reduce all my 2D
arrays to 1D arrays because I am working with the gdal library, which
works only with 'numeric' arrays.
Julien
--
http://mail.python.org/mailman/listinfo/python-list
llo.foobar") returns correctly that the module is
found, but import hello.foobar fails badly.
Is . notation supported in inittab? Am I doing something wrong?
--
Julien Danjou
// ᐰhttp://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
// Don't give up.
sign
y knows what is the good combination of installer / libraries to
install to run a ttk application on OSX 8.5 ? Ideally, I would like to
document the setup procedure for 8.5 users.
Cheers,
Julien
--
http://mail.python.org/mailman/listinfo/python-list
Hi everyone,
Today I came accross a behaviour I did not expect in python (I am using 2.7).
In my program, random.random() always seemed to return the same number; it
turned out to be related to the fact that I was using os.fork.
See below a small program that illustrates this. It is easily fixe
Thank you for the answers! It was much simpler than I thought.
On Wednesday, 6 February 2013 17:49:06 UTC+1, Alain Ketterlin wrote:
> Julien Le Goff writes:
>
>
>
> > Today I came accross a behaviour I did not expect in python (I am
>
> > using 2.7). In my prog
Whenever I try to open the python shell it says IDLE’s subprocess didn’t make a
connection. Everything worked fine yesterday and I haven’t done anything I
think would cause this problem. Any way to fix this? I’ve tried repairing and
redownloading
--
https://mail.python.org/mailman/listinfo/pyth
How do i open python 3.6 in a console and how do i see the binary its running
with
--
https://mail.python.org/mailman/listinfo/python-list
I had an problem when trying to start the python GUI. It said there was a
subprocess startup error. I was told to start IDLE in a console with idlelib
and see what python binary i was runnning IDLE with. Im using windows 10 and i
guess console refers to the terminal window and i have no idea wha
7, 2018 8:55:30 AM
Subject: Re: Console
On 07/03/18 14:41, Jeremy Jamar St. Julien wrote:
> I had an problem when trying to start the python GUI. It said there was a
> subprocess startup error. I was told to start IDLE in a console with idlelib
> and see what python binary i was run
58 matches
Mail list logo