On Sunday, May 7, 2017 at 1:03:57 AM UTC+5:30, Rahim Shamsy wrote:
> Hi,
>
> Hope you are well. I am currently in the process of learning the basics of
> programming in Python, and was just checking if I am in the right direction.
The tutorial https://docs.python.org/3/tutorial/ is short and g
On Mon, May 8, 2017 at 2:34 AM, Dennis Lee Bieber wrote:
> I can partly agree with one aspect... In comparison to my old life
> with
> versions of FORTRAN, wherein standards were roughly 10 years apart, each
> standard tended to accept all of a previous standard, while declaring
> things
On Sunday, May 7, 2017 at 8:21:01 AM UTC+1, Shivangi Motwani wrote:
> Hey!
>
> Learn Python The Hard Way is good
I cannot recommend LPTHW after the author had this
https://learnpythonthehardway.org/book/nopython3.html to say late last year.
The best of the rebuttals is here
https://eev.ee/blo
On Saturday, May 6, 2017 at 8:33:57 PM UTC+1, Rahim Shamsy wrote:
> Hi,
>
> Hope you are well. I am currently in the process of learning the basics of
> programming in Python, and was just checking if I am in the right direction.
> I have experience programming in C++ and Java, and want to lear
Hey!
Learn Python The Hard Way is good, apart from that you can take Udacitie's
Intro to Data Analysis:
https://in.udacity.com/course/intro-to-data-analysis--ud170/
This will help you learn numpy and pandas which will be very useful.
Hope that helps!
On Sun, May 7, 2017 at 1:03 AM, Rahim Shamsy
On 05/06/2017 01:33 PM, Rahim Shamsy wrote:
> Is there a better and faster way? I need more problem solving
> experience (keeping in mind Data Science) with python.
Probably. Depends on the person and how one learns.
The best way to learn python is to have a problem you wish to solve and
start co
Hi,
Hope you are well. I am currently in the process of learning the basics of
programming in Python, and was just checking if I am in the right direction. I
have experience programming in C++ and Java, and want to learn Python for
research work that I am doing. The research is regarding appli
In article ,
Terry Reedy wrote:
> On 9/12/2012 8:58 PM, Roy Smith wrote:
> > The atexit docs (http://docs.python.org/library/atexit.html) are very
> > confusing. In one place they say, "The order in which the functions are
> > called is not defined". In another place, "all functions registered
On 9/12/2012 8:58 PM, Roy Smith wrote:
The atexit docs (http://docs.python.org/library/atexit.html) are very
confusing. In one place they say, "The order in which the functions are
called is not defined". In another place, "all functions registered are
called in last in, first out order". Whic
The atexit docs (http://docs.python.org/library/atexit.html) are very
confusing. In one place they say, "The order in which the functions are
called is not defined". In another place, "all functions registered are
called in last in, first out order". Which is correct?
Also, it's not clear ho
On Mar 27, 8:52 pm, Mark Dickinson wrote:
> On Mar 27, 3:00 pm, joy99 wrote:
>
> > (i) Suppose we have 8 which is 2^3 i.e., 3 is the power of 2, which we
> > are writing in Python as,
> > variable1=2
> > variable2=3
> > result=pow(variable1,variable2)
>
> > In my first problem p(x) a list of floa
On Mar 27, 3:00 pm, joy99 wrote:
> (i) Suppose we have 8 which is 2^3 i.e., 3 is the power of 2, which we
> are writing in Python as,
> variable1=2
> variable2=3
> result=pow(variable1,variable2)
>
> In my first problem p(x) a list of float/decimals and f(x) is another
> such.
> Here,
> variable1=
On Mar 27, 4:36 pm, Mark Dickinson wrote:
> On Mar 27, 11:07 am, joy99 wrote:
>
> > (b) Suppose we have two distributions p(x1) and p(x2), of the Model M,
> > the E of EM algorithm, without going into much technical details is,
> > P0(x1,x2), P1(x1,x2)
>
> > Now I am taking random.random() t
On Mar 27, 11:07 am, joy99 wrote:
> (b) Suppose we have two distributions p(x1) and p(x2), of the Model M,
> the E of EM algorithm, without going into much technical details is,
> P0(x1,x2), P1(x1,x2)
>
> Now I am taking random.random() to generate both x1 and x2 and trying
> to multiply the
On Mar 27, 11:07 am, joy99 wrote:
> (i) By standard definition of Likelihood Estimation, we get if x EURO X,
> where X is a countable set of types, p is probability and f is
> frequency.
> L(f;p)=Ðp(x)f(x)
>
> My question is python provides two functions,
> (a) pow for power.
> (b) reduce(
2011/3/27 joy99
> Dear Group,
>
> I have two questions one related to pow() and other is related to
> random.
> My questions are as below:
>
> (i) By standard definition of Likelihood Estimation, we get if x EURO X,
> where X is a countable set of types, p is probability and f is
> frequency.
> L
http://pastie.org/763792/wrap
This in IMHO, a really useful piece of code, to wrap and run terminal
commands, on a gtk+vte python based gui.
I would to make some improvements, in order to wrap some terminal
applications.
How can SET_FOCUS (at start) to the first vte frame? (Avoiding to
click on
Clay Hobbs wrote:
I am making a program with wxPython that renders objects in 3D using
PyOpenGL, and I am having some problems. For one thing, I forgot how to
make a double-buffered hardware surface.
http://bazaar.launchpad.net/~mcfletch/openglcontext/trunk/annotate/1?file_id=wxcontext.py-20080
I am making a program with wxPython that renders objects in 3D using
PyOpenGL, and I am having some problems. For one thing, I forgot how to
make a double-buffered hardware surface. For another thing,
glColor(1.0, 0.0, 0.0) just before the rendering doesn't make the object
red. Please help, I'm
the url missed
http://allforces.com/2005/05/06/ichat-to-msn-through-jabber/
On 2月25日, 上午12时01分, Mr Shore <[EMAIL PROTECTED]> wrote:
> hi,every buddy
> I've now installed a jabber server,right it's ejabberd mentioned above
> and 2 jabber client,right again it's spark and psi
> and I can connect to j
hi,every buddy
I've now installed a jabber server,right it's ejabberd mentioned above
and 2 jabber client,right again it's spark and psi
and I can connect to jabber server by spark
but failed by psi,saying 'certificate failed the authenticity
test;Reason:certificate is self signed'
and i follow thi
On Jan 28, 2:31 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Jan 28, 2:53 pm, glacier <[EMAIL PROTECTED]> wrote:
>
>
>
> > Thanks,John.
> > It's no doubt that you proved SAX didn't support GBK encoding.
> > But can you give some suggestion on how to make SAX parse some GBK
> > string?
>
> Yes, t
On Jan 28, 2:53 pm, glacier <[EMAIL PROTECTED]> wrote:
>
> Thanks,John.
> It's no doubt that you proved SAX didn't support GBK encoding.
> But can you give some suggestion on how to make SAX parse some GBK
> string?
Yes, the same suggestion as was given to you by others very early in
this thread,
On 1月28日, 上午5时50分, John Machin <[EMAIL PROTECTED]> wrote:
> On Jan 28, 7:47 am, "Mark Tolonen" <[EMAIL PROTECTED]>
> wrote:
>
>
>
>
>
> > >"John Machin" <[EMAIL PROTECTED]> wrote in message
> > >news:[EMAIL PROTECTED]
> > >On Jan 27, 9:17 pm, glacier <[EMAIL PROTECTED]> wrote:
> > >> On 1月24日, 下午3时
On Jan 28, 7:47 am, "Mark Tolonen" <[EMAIL PROTECTED]>
wrote:
> >"John Machin" <[EMAIL PROTECTED]> wrote in message
> >news:[EMAIL PROTECTED]
> >On Jan 27, 9:17 pm, glacier <[EMAIL PROTECTED]> wrote:
> >> On 1月24日, 下午3时29分, "Gabriel Genellina" <[EMAIL PROTECTED]>
> >> wrote:
>
> >*IF* the file is w
>"John Machin" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]
>On Jan 27, 9:17 pm, glacier <[EMAIL PROTECTED]> wrote:
>> On 1月24日, 下午3时29分, "Gabriel Genellina" <[EMAIL PROTECTED]>
>> wrote:
>
>*IF* the file is well-formed GBK, then the codec will not mess up when
>decoding it to Un
>> Is there any way to solve this better?
>> I mean if I shouldn't convert the GBK string to unicode string, what
>> should I do to make SAX work?
>
> Decode it and then encode it to utf-8 before feeding it to the parser.
The tricky part is that you also need to change the encoding declaration
in
On 1月27日, 下午7时20分, John Machin <[EMAIL PROTECTED]> wrote:
> On Jan 27, 9:17 pm, glacier <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On 1月24日, 下午3时29分, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
>
> > > En Thu, 24 Jan 2008 04:52:22 -0200, glacier <[EMAIL PROTECTED]> escribió:
>
> > > > According to
On 1月27日, 下午7时04分, John Machin <[EMAIL PROTECTED]> wrote:
> On Jan 27, 9:18 pm, glacier <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On 1月24日, 下午4时44分, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>
> > > On Wed, 23 Jan 2008 19:49:01 -0800, glacier wrote:
> > > > My second question is: is there
On Jan 27, 9:17 pm, glacier <[EMAIL PROTECTED]> wrote:
> On 1月24日, 下午3时29分, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
>
>
>
> > En Thu, 24 Jan 2008 04:52:22 -0200, glacier <[EMAIL PROTECTED]> escribió:
>
> > > According to your reply, what will happen if I try to decode a long
> > > string sep
On Jan 27, 9:18 pm, glacier <[EMAIL PROTECTED]> wrote:
> On 1月24日, 下午4时44分, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>
> > On Wed, 23 Jan 2008 19:49:01 -0800, glacier wrote:
> > > My second question is: is there any one who has tested very long mbcs
> > > decode? I tried to decode a long
On Sun, 27 Jan 2008 02:18:48 -0800, glacier wrote:
> Yepp. I feed SAX with the unicode string since SAX didn't support my
> encoding system(GBK).
If the `decode()` method supports it, IMHO SAX should too.
> Is there any way to solve this better?
> I mean if I shouldn't convert the GBK string to
On 1月24日, 下午5时51分, John Machin <[EMAIL PROTECTED]> wrote:
> On Jan 24, 2:49 pm, glacier <[EMAIL PROTECTED]> wrote:
>
> > I use chinese charactors as an example here.
>
> > >>>s1='你好吗'
> > >>>repr(s1)
>
> > "'\\xc4\\xe3\\xba\\xc3\\xc2\\xf0'"
>
> > >>>b1=s1.decode('GBK')
>
> > My first question is :
On 1月24日, 下午4时44分, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Wed, 23 Jan 2008 19:49:01 -0800, glacier wrote:
> > My second question is: is there any one who has tested very long mbcs
> > decode? I tried to decode a long(20+MB) xml yesterday, which turns out
> > to be very strange and
On 1月24日, 下午3时29分, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Thu, 24 Jan 2008 04:52:22 -0200, glacier <[EMAIL PROTECTED]> escribió:
>
> > According to your reply, what will happen if I try to decode a long
> > string seperately.
> > I mean:
> > ##
> > a
On Jan 24, 1:44 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Wed, 23 Jan 2008 19:49:01 -0800, glacier wrote:
> > My second question is: is there any one who has tested very long mbcs
> > decode? I tried to decode a long(20+MB) xml yesterday, which turns out
> > to be very strange an
On Jan 24, 2:49 pm, glacier <[EMAIL PROTECTED]> wrote:
> I use chinese charactors as an example here.
>
> >>>s1='你好吗'
> >>>repr(s1)
>
> "'\\xc4\\xe3\\xba\\xc3\\xc2\\xf0'"
>
> >>>b1=s1.decode('GBK')
>
> My first question is : what strategy does 'decode' use to tell the way
> to seperate the words. I
On Wed, 23 Jan 2008 19:49:01 -0800, glacier wrote:
> My second question is: is there any one who has tested very long mbcs
> decode? I tried to decode a long(20+MB) xml yesterday, which turns out
> to be very strange and cause SAX fail to parse the decoded string.
That's because SAX wants bytes,
On 1月24日, 下午1时49分, [EMAIL PROTECTED] wrote:
> On Jan 23, 8:49 pm, glacier <[EMAIL PROTECTED]> wrote:
>
> > I use chinese charactors as an example here.
>
> > >>>s1='你好吗'
> > >>>repr(s1)
>
> > "'\\xc4\\xe3\\xba\\xc3\\xc2\\xf0'"
>
> > >>>b1=s1.decode('GBK')
>
> > My first question is : what strategy
En Thu, 24 Jan 2008 04:52:22 -0200, glacier <[EMAIL PROTECTED]> escribió:
> According to your reply, what will happen if I try to decode a long
> string seperately.
> I mean:
> ##
> a='你好吗'*10
> s1 = u''
> cur = 0
> while cur < len(a):
> d = min(len(a)-i
On 1月24日, 下午1时41分, Ben Finney <[EMAIL PROTECTED]>
wrote:
> Ben Finney <[EMAIL PROTECTED]> writes:
> > glacier <[EMAIL PROTECTED]> writes:
>
> > > I use chinese charactors as an example here.
>
> > > >>>s1='你好吗'
> > > >>>repr(s1)
> > > "'\\xc4\\xe3\\xba\\xc3\\xc2\\xf0'"
> > > >>>b1=s1.decode('GBK')
On Jan 23, 8:49 pm, glacier <[EMAIL PROTECTED]> wrote:
> I use chinese charactors as an example here.
>
> >>>s1='你好吗'
> >>>repr(s1)
>
> "'\\xc4\\xe3\\xba\\xc3\\xc2\\xf0'"
>
> >>>b1=s1.decode('GBK')
>
> My first question is : what strategy does 'decode' use to tell the way
> to seperate the words.
Ben Finney <[EMAIL PROTECTED]> writes:
> glacier <[EMAIL PROTECTED]> writes:
>
> > I use chinese charactors as an example here.
> >
> > >>>s1='你好吗'
> > >>>repr(s1)
> > "'\\xc4\\xe3\\xba\\xc3\\xc2\\xf0'"
> > >>>b1=s1.decode('GBK')
> >
> > My first question is : what strategy does 'decode' use to
glacier <[EMAIL PROTECTED]> writes:
> I use chinese charactors as an example here.
>
> >>>s1='你好吗'
> >>>repr(s1)
> "'\\xc4\\xe3\\xba\\xc3\\xc2\\xf0'"
> >>>b1=s1.decode('GBK')
>
> My first question is : what strategy does 'decode' use to tell the way
> to seperate the words. I mean since s1 is an
I use chinese charactors as an example here.
>>>s1='你好吗'
>>>repr(s1)
"'\\xc4\\xe3\\xba\\xc3\\xc2\\xf0'"
>>>b1=s1.decode('GBK')
My first question is : what strategy does 'decode' use to tell the way
to seperate the words. I mean since s1 is an multi-bytes-char string,
how did it determine to seper
On Oct 16, 9:17 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Tue, 16 Oct 2007 11:52:22 -0700, fabdeb wrote:
> > the first: what is the differences between a function and a classe?
>
> A class bundles data and functions into one object.
>
> > In which case i should use a function ?
>
On Tue, 16 Oct 2007 11:52:22 -0700, fabdeb wrote:
> the first: what is the differences between a function and a classe?
A class bundles data and functions into one object.
> In which case i should use a function ?
> In which case i should use a class ?
If you have several functions that operate
On Oct 16, 1:52 pm, fabdeb <[EMAIL PROTECTED]> wrote:
> Hi every one,
> I m a sysadmin who want to know how to use python.
> I dont know anything about oriented object programation, i only know
> bash and a little perl.
> I have some simple questions about python.
>
> the first: what is the differe
fabdeb a écrit :
> Hi every one,
> I m a sysadmin who want to know how to use python.
> I dont know anything about oriented object programation, i only know
> bash and a little perl.
> I have some simple questions about python.
>
> the first: what is the differences between a function and a classe
Hi every one,
I m a sysadmin who want to know how to use python.
I dont know anything about oriented object programation, i only know
bash and a little perl.
I have some simple questions about python.
the first: what is the differences between a function and a classe?
In which case i should use a
Hi Dave,
I have some questions about the ipath error messages that we print out.
I am currently testing the error injection part of the matrix and I
starting with "incorrect checksum" and "incorrect HW version". I have
set the debug level on both machines to 0x83 and I am m
All,
thank you for your responses. I learned much and made some modifications in my
small program. Currently I am attempting to put together a packet that contains
a Python message (created using struct.pack) and a Scapy message (Ether()).
Having a packet with combined payload from Python and S
Steven D'Aprano a écrit :
> On Mon, 12 Mar 2007 21:39:11 -0700, jezonthenet wrote:
>
>> I started using Python a couple of days ago - here are a few
>> questions:
>>
>> * Doesn't the __main__() method automatically execute when I run my
>> python program?
>
>
> No.
>
>
>> * Only when I do an
[EMAIL PROTECTED] a écrit :
> I started using Python a couple of days ago - here are a few
> questions:
>
> * Doesn't the __main__() method automatically execute when I run my
> python program?
Which "__main__" method ???
Anyway, the answer is no. Every code at the top-level (which includes
imp
En Tue, 13 Mar 2007 03:13:37 -0300, je . <[EMAIL PROTECTED]>
escribió:
> I added the self parameter to the the chassis_id function, however I now
> have a problem and question regarding encoding MAC addresses for a
> struct. What string format am I supposed to use?
py> data = [int(x,16)
You only need three things here:
[EMAIL PROTECTED] wrote:
>
>#!/usr/bin/python
>import scapy
>import struct
>
>class lldp_class:
> def __init__(self):
> self.chassis_id_tlv = None
>
> def chassis_id(subtype, chassis_info):
Make that
def chassis_id(self, subtype,
Jordan, Thinker, Steven,
Thanks for your responses. Makes more sense now! I can run my program from the
console.
I added the self parameter to the the chassis_id function, however I now have a
problem and question regarding encoding MAC addresses for a struct. What string
format am I sup
[EMAIL PROTECTED], "Greenberg <"@bag.python.org,
"greenbergj\""@NOSPAM.xs4all.nl, [EMAIL PROTECTED], ">"@bag.python.org writes:
> [EMAIL PROTECTED] wrote:
> > * Doesn't the __main__() method automatically execute when I run
> > my python program?
>
> No, there is no special __main__ function, to
On Mon, 12 Mar 2007 21:39:11 -0700, jezonthenet wrote:
> I started using Python a couple of days ago - here are a few
> questions:
>
> * Doesn't the __main__() method automatically execute when I run my
> python program?
No.
> * Only when I do an import of my test.py file within python and t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
> I started using Python a couple of days ago - here are a few
> questions:
>
> * Doesn't the __main__() method automatically execute when I run my
> python program?
> * Only when I do an import of my test.py file within python
[EMAIL PROTECTED] wrote:
> I started using Python a couple of days ago - here are a few
> questions:
>
> * Doesn't the __main__() method automatically execute when I run my
> python program?
> * Only when I do an import of my test.py file within python and then
> run test.__main__() I can see wher
I started using Python a couple of days ago - here are a few
questions:
* Doesn't the __main__() method automatically execute when I run my
python program?
* Only when I do an import of my test.py file within python and then
run test.__main__() I can see where my bugs are. Is this correct?
(right
I'm not familiar with PyMedia, but this blog entry should be of
interest:
[Video Blogging using Django and Flash(tm) Video (FLV)]
http://blog.go4teams.com/?p=56
It describes a toolchain for publishing AVI files as FLV on the web.
ffmpeg is used together with a few other tools, but Python is us
Hi,
Can anyone answer the following questions?
Question 1.
Can pyMedia create/convert FLV format? I explain in details.
As I would like
to publish videos for viewing in a browser , I need a good video
format.
I learned that FLV (Flash(tm) Video) format could be a good choice.
Or does anybody sugg
In <[EMAIL PROTECTED]>, Moore Liu
wrote:
> Hi all,
>
> I am very interesting in the detailed implement of bittorrent and have
> read some p2p protocol document, but I want to know more of the
> technique implementation. It's time-consuming to reverse-engineering
> the code to understand the desig
Hi all,
I am very interesting in the detailed implement of bittorrent and have
read some p2p protocol document, but I want to know more of the
technique implementation. It's time-consuming to reverse-engineering
the code to understand the design intention of it. So my question is:
Is there any we
On 12/8/05, shawn a <[EMAIL PROTECTED]> wrote:
> Hello. Im brand new to this list and to python. Ive recently started
> reading about it
> and am now in the tinkering stage.
Welcome to Python!
> I have a script im working on that i
> need some
> asistance debugging. Its super small and shoul
Hello. Im brand new to this list and to python. Ive recently started reading about it
and am now in the tinkering stage. I have a script im working on that i need some
asistance debugging. Its super small and should be a snap for you gurus =)
I have 2 files in a dir off my home dir:
mkoneurl.py
On Thu, 18 Aug 2005 08:53:56 GMT, Alessandro Bottoni <[EMAIL PROTECTED]> wrote:
> Titi Anggono wrote:
...
>> 2. I use gnuplot.py module for interfacing with
>> gnuplot in linux. Can we make the plot result shown in
>> web ? I tried using cgi, and it didn't work.
>
> The ability to display a image (
Thomas Ganss wrote:
> My blind guess would have been that Tkinter was *not* the GUI of choice
> for *J*ython.
With Jython you'd probably use Swing or SWT. It's certainly less
coding to get something working in Jython/Swing than with Java/Swing,
but I suspect that there is a cost in runtime perfor
Cameron Laird schrieb:
> In article <[EMAIL PROTECTED]>,
> Alessandro Bottoni <[EMAIL PROTECTED]> wrote:
>
>>Titi Anggono wrote:
>>>1. Can we use Tkinter for web application such as Java?
...
> ... or, if you mean, "is Python an apt language for client-side
> Web development in the way Java is, w
In article <[EMAIL PROTECTED]>,
Alessandro Bottoni <[EMAIL PROTECTED]> wrote:
>Titi Anggono wrote:
>> 1. Can we use Tkinter for web application such as Java?
>
>What do you mean? If you want to build up a GUI (something like a HTML page)
>for a web-based application, you can do it with TKinter. Yo
Titi Anggono wrote:
> 1. Can we use Tkinter for web application such as Java?
What do you mean? If you want to build up a GUI (something like a HTML page)
for a web-based application, you can do it with TKinter. Your TKinter app
can connect to a web server (or any other kind of server) using the
s
Hi all,
I have some questions:
1. Can we use Tkinter for web application such as Java
?
2. I use gnuplot.py module for interfacing with
gnuplot in linux. Can we make the plot result shown in
web ? I tried using cgi, and it didn't work.
T
Dark Cowherd wrote:
> Stupid of me.
>
> I want some feedback on folllwing:
> anybody who has experience in writing SOAP servers in Python and data
> entry heavy web applications.
> Any suggestions?
> darkcowherd
Check ZSI, or SOAPPY, both on Python Web Services
http://pywebsvcs.sourceforge.net/
I
Dark Cowherd wrote:
> I want some feedback on folllwing:
> anybody who has experience in writing [...] data
> entry heavy web applications.
> Any suggestions?
You might be interested in Zope 3's ability to generate data entry/edit
forms via schemas.
--
Benji York
--
http://mail.python.org/mailma
> I want some feedback on folllwing:
> anybody who has experience in writing SOAP servers in Python and data
> entry heavy web applications.
> Any suggestions?
> darkcowherd
>
I have never written SOAP Servers. But I have very very good experience
in creating entry heavy web application using Pytho
Stupid of me.
I want some feedback on folllwing:
anybody who has experience in writing SOAP servers in Python and data
entry heavy web applications.
Any suggestions?
darkcowherd
On 7/4/05, Dark Cowherd <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We program in Delphi in our shop and are generally very
"Dark Cowherd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> We program in Delphi in our shop and are generally very happy with it.
> We are now looking at cross-platform options especially for middle
> tier and web server.
>
> I have been doing a lot of reading and testing of Pyt
The curve may take a while, but I'd definately recommend it.
While you're at it, why not switch th front end to python too?
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
We program in Delphi in our shop and are generally very happy with it.
We are now looking at cross-platform options especially for middle
tier and web server.
I have been doing a lot of reading and testing of Python, I am falling
in love with the language :-)
But seems to be be very difficul
On 2005-06-25, Jp Calderone <[EMAIL PROTECTED]> wrote:
>>[I've never figured out why one would do a shutdown RDWR rather
>>than close the connection, but I haven't put a lot of thought
>>into it.]
>
> shutdown actually tears down the TCP connection; close
> releases the file descriptor.
>
> If the
On Fri, 24 Jun 2005 21:42:48 -0400, Jp Calderone wrote:
> shutdown actually tears down the TCP connection; close releases the file
> descriptor.
>
> If there is only one file descriptor referring to the TCP connection,
> these are more or less the same. If there is more than one file
> descript
On Sat, 25 Jun 2005 01:36:56 -, Grant Edwards <[EMAIL PROTECTED]> wrote:
>On 2005-06-25, Giovanni Tumiati <[EMAIL PROTECTED]> wrote:
>
>> (2)Does one have to do a socket.shutdown() before one does a
>> socket.close??
>
>No.
>
>[I've never figured out why one would do a shutdown RDWR
>rather tha
On 2005-06-25, Giovanni Tumiati <[EMAIL PROTECTED]> wrote:
> However some of my questions still remain from earlier post:
> (1) What is the difference between
> - setdefaulttimeout(timeout)
That sets the timeout for any sockets created in the future.
> - settimeout(value)
That sets the timeo
Giovanni Tumiati wrote:
> However some of my questions still remain from earlier post:
> (1) What is the difference between / how should they be used?
> - setdefaulttimeout(timeout)
> - settimeout(value)
I think it's basically as you surmised. Calling
socket.setdefaulttimeout() (where "socket"
To all those that replied - thank you.
I solved the problem I posted earlier.
I'm embarrassed to admit that it was caused by the following:
...
while 1: ## wait for a connection
try:
#...waiting for connection
(client, address)=sa.accept()
except sa.timeout: <--there is no such e
Mario Lacunza wrote:
Hello,
Im new in Python, please I need some information:
- Somebody know if: is possible use Python within Net Framework in
windows environment??
http://www.ironpython.com/
http://www.zope.org/Members/Brian/PythonNet/
- Where found info about reports in Python? exist some prog
Hello,
Im new in Python, please I need some information:
- Somebody know if: is possible use Python within Net Framework in
windows environment??
- Where found info about reports in Python? exist some program like
Crystal Reports??
- Database access: Firebird , I dont found correct information
89 matches
Mail list logo