with linux socket
api but i do not expect any serious problems once i've finished reviewing a few
things in schevo... :o)
Regards,
soppy bear
On Sat, 13 Apr 2019 09:38:03 -0400
Soppy bear wrote:
> Good morning Python world,
>
> Our high performance asyncio based xdserver (Durus 4.1 sock
Good morning Python world,
Our high performance asyncio based xdserver (Durus 4.1 socket server on top of
schevo 4.1 api) is now fully working with Python 3.7 on linux debian :)
cheers!!
soppy bear
download:
https://pypi.org/project/libdurus/
https://pypi.org/project/libschevo/
demo:
https
Good morning,
We are pleased to announce the following 6 new releases of django-hotsauce and
related libraries:
- libschevo 4.1
- libdurus 4.1
- libauthkit 0.5.2
- blogengine2 0.9.8
- django-hotsauce 0.9.8
- django-hotsauce-oauthclient 0.3
Download(s):
>How do i install Python in a specific folder with the custom option and be
able to use IDLE?
After you choose customize install, pick the ”Install for all users” option
then you can change the install location.
寄件者: Yusuf Mohammad
傳送時間: 2017年8月31日 下午 04:52
收件者: python-list@python.org
主旨:
that.
Thanks for your advise.
寄件者: MRAB
傳送時間: 2017年8月30日 下午 10:02
收件者: python-list@python.org
主旨: Re: pip which should be installed with Python3.62 doesn't workinwindows
On 2017-08-30 14:34, MRAB wrote:
> On 2017-08-30 04:47, Bear Light wrote:
>> Thanks for help but it doesn’t work.
&g
but at least the problem killing me lots of time was
solved, thx to everyone who saw this mail.
寄件者: Bear Light
傳送時間: 2017年8月30日 上午 11:47
收件者: python-list@python.org
主旨: RE: pip which should be installed with Python3.62 doesn't workinwindows
Thanks for help but it doesn’t work.
(cmd)
C:\Users\user>py -
月30日 上午 05:07
收件者: python-list@python.org
主旨: Re: pip which should be installed with Python3.62 doesn't work inwindows
On 2017-08-29 20:10, Bear Light wrote:
> I found many rookies like me asking similar question: why "pip" is not
> recognized by cmd?
> I install Python 3.62
I found many rookies like me asking similar question: why "pip" is not
recognized by cmd?
I install Python 3.62 64bit in Win10 and I'm sure I add PATH, the Python
tutorial doesn't even mention about PATH.
You can see the following picture showing the tutorial doesn't work.
Please give a hand to
Hi I'm looking to do something like this
f = f.openfileobj(remotefileloc, localfilelikeobj)
my remote files are on a solaris box that i can access using ssh (could
prehap request othe protocols if necessary)
anyone got any ideas?
many thanks
Charlie
(ps. tried this on the python-forum but
table, or should what sql type should I save the pickle as?
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
I would like to write some code that would randomly select a function from a
list of functions and call it. I was looking in the globals names space and
randomly selecting items that were of type function.. but I didn't see a
way of actually running the function.
Any pointers?
--
David Bear
to remove all
data older than 30 days. My ideal solution would be something that
runs in the background but only wakes up to run every few days to
check for old data.
Thanks,
Dan McLeran
And you can use cron to launch your python program?
--
David Bear
-- let me buy your intellectual
I was justing wondering how safe python string templates are to use with
unicode. I was just scanning pep 292 and it seems to say that they are --
or can by with inheritance... but I don't quite understand.
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts
Diez B. Roggisch wrote:
David Bear schrieb:
I'm looking to see if there are any examples or prewritting fifo queue
classes. I know this is a broad topic. I'm looking to implement a simple
application where a web server enqueue and pickle using a local socket on
to a 'queue server
Is it possible to use python to make calls agains microsoft active
directory? I suppose this should be qualified by what is needed to do it
from windows (I assume the win32all package) and from linux (if possible).
Any code samples would be great.
--
David Bear
-- let me buy your intellectual
jay graves wrote:
On Mar 6, 1:34 pm, David Bear [EMAIL PROTECTED] wrote:
Is it possible to use python to make calls agains microsoft active
directory? I suppose this should be qualified by what is needed to do it
from windows (I assume the win32all package) and from linux (if
possible). Any
the
pickles again using a local socket.
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
and Pascal, these are constructions that never entered
into youthfull learning;-)
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
Since redhat packages python2.3 with their distro (RHEL 4..) I was looking
for a module reference for that version. Looking at python.org I only see
current documentation.
any pointers to a 2.3 module ref?
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts
on this module
at python.org seems to assume a great deal about what the reader would
already know about which methods they should subclass.
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
{
$key = sha1($key); #if longer, pre-hash key
}
Finally it concatenates and xors these strings together like this:
return sha1($key^$opad . sha1($key^$ipad . $data));
I when python XOR's strings, is it the same as when perl xor's them?
--
David Bear
-- let me buy your
Fredrik Lundh wrote:
David Bear wrote:
I am trying to translate some perl code to python and I need some
advice on making fixed sized strings.
looks like you're reimplementing HMAC; there's no need to do that in
Python, really, since it's part of the standard library:
http
.
Is there a better way to take a dotted quad and convert it to a string
representation of an long int?
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch wrote:
David Bear schrieb:
I found this simple recipe for converting a dotted quad ip address to a
string of a long int.
struct.unpack('L',socket.inet_aton(ip))[0]
trouble is when I use this, I get
struct.error: unpack str size does not match format
I thought ip
David Bear wrote:
Diez B. Roggisch wrote:
David Bear schrieb:
I found this simple recipe for converting a dotted quad ip address to a
string of a long int.
struct.unpack('L',socket.inet_aton(ip))[0]
trouble is when I use this, I get
struct.error: unpack str size does not match
Is there an easy way to get the current level of recursion? I don't mean
sys.getrecursionlimit. I want to know during a live run of a script how
many times the functions has recursed -- curses, I don't know how to say it
better.
--
David Bear
-- let me buy your intellectual property, I want
= 'a local var'
module B
from A import *
_myvar -- is not available.
Is this in a pep somewhere ?
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
To add a missing option, make sure you have the required
library, and set the corresponding ROOT variable in the
setup.py script.
I don't know what ROOT variable the message is referring too. Any advice
would be appreciated.
--
David Bear
-- let me buy your intellectual property, I want
:
locate readline
...
/lib/libreadline.so.5
/lib/libreadline.so.5.0
/lib64/libreadline.so.5
/lib64/libreadline.so.5.0
...
I googled about for this and there were numerous hits on this problem from
others, but I never found a 'solution'.
--
David Bear
-- let me buy your intellectual property, I want
Robert Kern wrote:
David Bear wrote:
I built python 2.4.2 for suse linux 9.3. I configured it to be a separate
instance of python from the version packaged with suse.
Now when I start it I get an error:
python
Python 2.4.2 (#4, Jul 27 2006, 14:34:30)
[GCC 3.3.5 20050117 (prerelease
problem with the syslog server.
I am using python 2.4 -- on a 2.6.11.4-xx kernel. (suse 9.3)
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
in perl. When I
run the perl code directly, I get the output I want. When I run it through
the os.popen2 module, I get an additional 1 appended. (It's all string
output)
Is this normal behavior for this module? What am I missing?
--
David Bear
-- let me buy your intellectual property, I want to own
program. I found the following:
http://www.annocpan.org/~GAAS/pyperl-1.0/perlmodule.pod
and wondered if anyone had any comments. This thing implements a perl
interpreter inside python. That seems like overkill to me.
I wonder what wisdom this group can offer.
--
David Bear
-- let me buy your
exception...
item,value=(None,None)
return(item,value)
However, the except block does not seem to catch the exception and an
unboundlocalerror is thrown anyway. What am I missing?
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http
, I was hoping to use the perl mods and the perl
objects returned by these mods in python -- since I can't stand reading
perl.
The question then becomes, are there any python modules that encapsulate and
map perl objects into python object?
--
David Bear
-- let me buy your intellectual property, I
denied stuff.
Btw I'm using SuSE 10, Apache/2.0.54, and python 2.4
Sighhh, there's a lot of weird thing with my apache and I can't
understand why :'(
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
', '__builtins__', '__doc__', '__file__', '__name__']
print stat.__doc__
Constants/functions for interpreting results of os.stat() and os.lstat().
Suggested usage: from stat import *
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org
Claudio Grondi wrote:
David Bear wrote:
I'm trying to use os.chmod and am refered to the stat module.
Is there are explanation of:
* S_ISUID
* S_ISGID
* S_ENFMT
* S_ISVTX
* S_IREAD
* S_IWRITE
* S_IEXEC
* S_IRWXU
* S_IRUSR
* S_IWUSR
If I have a unix user name, is there a way to verify that the user really
exists and query default group memberships?
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
...
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
David Bear wrote:
Being new to pgdb, I'm finding there are lot of things I don't understand
when I read the PEP and the sparse documentation on pgdb.
I was hoping there would be a module that would properly escape longer
text strings to prevent sql injection
?
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
object ends up being a properly type for postgresql. I've
bought 3 books on postgresql and none of th code samples demonstrate this.
web searchs for 'python sql escape string' yeild way too many results.
Any pointers would be greatly appreciated.
--
David Bear
-- let me buy your intellectual
) for the
parameters following the function call. BIG DIFFERENCE.
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
, but then ... there must be an easier way.
Any advise?
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
)
^
SyntaxError: invalid syntax
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
David Bear wrote
Fredrik Lundh wrote:
cursor.execute(
INSERT INTO table (%s) VALUES (%%s); % (,.join(fields)),
*values
)
Thanks for the hint. However, I don't understand the syntax.
I will be inserting in to postgresql 8.x. I assumed the entire
Fredrik Lundh wrote:
David Bear wrote
Fredrik Lundh wrote:
cursor.execute(
INSERT INTO table (%s) VALUES (%%s); % (,.join(fields)),
*values
)
Thanks for the hint. However, I don't understand the syntax.
I will be inserting in to postgresql 8.x. I assumed the entire
the documentation on python.org.
Any idea what I am missing?
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
Robert Kern wrote:
David Bear wrote:
I'm confused about how to use the email module in python 2.4.x
I'm using python packaged with suse 9.3.
From the module documetation at http://docs.python.org/lib/node597.html I
found the following example (items cut):
import email
...
msg
I was wondering if anyone has implemented the rsync protocol in python.
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
of the keys set to
null?
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
, reading character by char until I have the list and then parse it all
myself.
I was hoping there was a pythonic way of doing this..
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
like a terrific environment.
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
I have been trying to do something like this:
f = open('someDocs.str', 'r')
try:
while True:
ln = f.readline()
except EOFError:
print 'reached eof'
f.close()
sys.exit(1)
However, EOFError is never raised. What am I missing?
--
:
do something
I've looked at the hex function but it doesn't sound like what I want.
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
I was hoping to write some network utils and found an ipv4 class written
by Keith Dart circa 1999. It doesn't work any longer under python 2.3. I
think I found it on starship python and links to his web site point to a
non-functional server.
anyone know of a simple ipv4 class I might steal...
at experimenting without destroying things.
--
David Bear
phone: 480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
Beware the IP portfolio, everyone will be suspect of trespassing
--
http://mail.python.org/mailman/listinfo/python-list
I've googled for the above and get way too many hits..
I'm looking for an 'easy' way to have the last item in a list returned.
I've thought about
list[len(list)-1]
but thought there would be a more gracefull way.
--
http://mail.python.org/mailman/listinfo/python-list
How does one query the python environment, ie pythonhome, pythonpath,
etc.
also, are there any HOWTO's on keeping multiple versions of python
happy?
--
http://mail.python.org/mailman/listinfo/python-list
60 matches
Mail list logo