On Aug 10, 3:57 am, Steve Holden <[EMAIL PROTECTED]> wrote:
> Justin T. wrote:
> > Hello,
>
> > While I don't pretend to be an authority on the subject, a few days of
> > research has lead me to believe that a discussion needs to be started
> > (or conti
On Aug 10, 3:52 am, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> On Fri, 10 Aug 2007 10:01:51 -, "Justin T." <[EMAIL PROTECTED]> wrote:
> >Hello,
>
> >While I don't pretend to be an authority on the subject, a few days of
> >research h
ng
has been fully realized as THE next big problem for computer science,
the time is ripe for discussing how we will approach multi-threading
in the future.
Justin
[1] I haven't actually looked at the GIL code. It's possible that it
creates a bunch of wait queues for each nice level tha
On Aug 10, 2:02 pm, [EMAIL PROTECTED] (Luc Heinrich) wrote:
> Justin T. <[EMAIL PROTECTED]> wrote:
> > What these seemingly unrelated thoughts come down to is a perfect
> > opportunity to become THE next generation language.
>
> Too late: <http://www.erlang.org/>
t work is certainly one way to come up with such evidence. :)
::Sigh:: I honestly don't see myself having time to really do anything
more than experiment with this. Perhaps I will try to do that though.
Sometimes I do grow bored of my other projects. :)
Justin
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 7, 10:39 pm, mcl <[EMAIL PROTECTED]> wrote:
> On 7 Sep, 14:11, Carsten Haese <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Fri, 2007-09-07 at 05:52 -0700, mcl wrote:
> > > > ValueError: invalid literal for int(): 0-
> > > > args = ('invalid literal for int(): 0-',)
>
> > > >
> If you are both waiting for input, you have a Mexican standoff...
That is not the problem. The problem is, that the buffers are not
flushed correctly. It's a dialogue, so nothing complicated. But python
does not get what the subprocess sends onto the subprocess' standard
out - not every time, an
On Mar 16, 2:27 pm, Astan Chee <[EMAIL PROTECTED]> wrote:
> Hi,
> I have a python script and I want to check what operating system it is
> on and what the current local machine name is.
> How do I do it with python?
> Thanks!
> Astan
import platform
platform.uname()
--
http://mail.python.org/mai
On Mar 27, 11:10 am, David Nicolson <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I wasn't exactly sure where to send this, I don't know if it is a bug
> in Python or not. This is rare, but it has occurred a few times and
> seems to be reproducible for those who experience it.
>
> Examine this code:
> >>>
On Mar 28, 2:56 pm, "Eric von Horst" <[EMAIL PROTECTED]> wrote:
> I am looking for wx widget that has the ability to show text, edit the
> text (like a TextCtrl) but also does syntax highlighting (if the text
> is e.g. XML or HTML).
> I have been looking in the latest wxPython version but I could
On Mar 29, 4:08 pm, Duncan Booth <[EMAIL PROTECTED]> wrote:
> John Nagle <[EMAIL PROTECTED]> wrote:
> > title="
On Mar 29, 6:11 pm, "Justin Ezequiel" <[EMAIL PROTECTED]>
wrote:
>
> FWIW, seehttp://tinyurl.com/yjtzjz
>
hmm. not quite right.
http://tinyurl.com/ynv4ct
or
http://www.crummy.com/software/BeautifulSoup/documentation.html#Customizing%20the%20Parser
--
http://mail.py
Found a couple of papers that mention Python wrappers for UDT have
been written but Google fails me.
Do any of you know of such wrappers?
Have downloaded UDT SDK but source is in C++.
http://udt.sourceforge.net/
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 12, 4:15 am, Jon Crump <[EMAIL PROTECTED]> wrote:
> Is it possible to feed findAll() a list of tags WITH attributes?
>>> BeautifulSoup.__version__
'3.0.3'
>>> s = '''\nboo\nhello\n>> a="bar">boo\nhi\n'''
>>> soup = BeautifulSoup.BeautifulSoup(s)
>>> def func(tag):
... if tag.name not i
d file format
If I create the database file with sqlite and open it from within
python, I cannot run any queries on that database, but no error is
thrown - it just passes silently.
Any ideas?
Regards,
-Justin
--
http://mail.python.org/mailman/listinfo/python-list
> Why fink ?, it is very easy to make sqlite. download the source,
> configure, make and install from terminal
I did so and now I have the latest sqlite version. But it did not make
a difference.
--
http://mail.python.org/mailman/listinfo/python-list
llowing in /usr/include/math.h, but am not sure how
this relates.
#ifdef __IBMC__
#if (__xlC__ >= 0x0600) /* VAC version 6 and above */
#define floor(__x)__floor(__x)
#define ceil(__x) __ceil(__x)
#endif /* __xlC__ >= 0x0600 */
#endif /* __IBMC__ */
Does anyone know what I am doing wrong here. Any help is appreciated.
Justin
--
http://mail.python.org/mailman/listinfo/python-list
It looks like I just need to upgrade my compiler version. See
http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?message=13876484&cat=72&thread=124105&treeDisplayType=threadmode1&forum=905#13876484
for more information.
Justin Johnson wrote:
> Hello,
>
> I'
> import os
> a = os.popen('"c:\Program Files\Grisoft\AVG Free\avgscan.exe"
> "c:\program files\temp1\test1.txt"')
> print a.read()
>
use raw strings
e.g., instead of '"c:...\avgscan...'
use r'"c:...\avgscan...'
http://www.ferg.org/projects/python_gotchas.html#contents_item_2
--
http://mail.py
On Jan 30, 10:42 am, [EMAIL PROTECTED] wrote:
> For example the raw data is as follows
>
> SomeText Description>PassorFail
>
> without spaces or new lines. I need this to be written into an XML
> file as
>
>
>
>
>
>
> SomeText
>
On Feb 12, 12:26 pm, "ronrsr" <[EMAIL PROTECTED]> wrote:
> I have an MySQL database called zingers. The structure is:
>
> I am having trouble storing text, as typed in latter two fields.
> Special characters and punctuation all seem not to be stored and
> retrieved correctly.
>
> Special apostroph
If you want to copy lists, you do it by using the [:] operator. e.g.:
>>> a = [1,2]
>>> b = a[:]
>>> a
[1, 2]
>>> b
[1, 2]
>>> b[0] = 2
>>> a
[1, 2]
>>> b
[2, 2]
If you want to copy a list of lists, you can use a list comprehension
if you do not want to use the copy module:
>>> a = [[1,2],[3,4]]
fsize=2**10)
>>> x.stdout.read(1)
# blocks forever
Is it possible to read to and write to the std streams of a
subprocess? What am I doing wrong?
Regards,
-Justin
--
http://mail.python.org/mailman/listinfo/python-list
the sys.stdin It's really a pity, it's
the first time python does not work as expected. =/
Flushing the stdin did not help, too.
Regards,
-Justin
--
http://mail.python.org/mailman/listinfo/python-list
e() on the stdin and .read()
from the subprocess' stdout stream (better: file descriptor)) reading
from the subprocess stdout blocks forever. If I write something onto
the subprocess' stdin that causes it to somehow proceed, I can read
from its stdout.
Thus a useful dialogue is n
x = (x * x) % P
n = n / 2
return result
print testpower(G, a, P)
-Justin
--
http://mail.python.org/mailman/listinfo/python-list
the obvious question, "Can we do it in Java?". So long
as you're using sockets and not some higher level libraries. Some
people were jumping with joy.
I did mine in Python.
-Justin
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I’m looking for a Python library that can return data about wireless
networks. In particular, I’m looking for signal quality, noise, etc.
I’ve found:
HYPERLINK
"http://www.romanofski.de/downloads/pywifi"http://www.romanofski.de/download
s/pywifi
But it’s only for Linux. Is ther
John Salerno wrote:
> If I want to make a list of four items, e.g. L = ['C', 'A', 'D', 'B'],
> and then figure out if a certain element precedes another element, what
> would be the best way to do that?
>
> Looking at the built-in list functions, I thought I could do something like:
>
> if L.index(
something like this maybe?
>>> str1='yaqtil'
>>> str2='yaqtel'
>>> set(enumerate(str1)) ^ set(enumerate(str2))
set([(4, 'e'), (4, 'i')])
>>>
--
- Justin
--
http://mail.python.org/mailman/listinfo/python-list
[
"Content-type: %s;",
"Content-Disposition: attachment; filename=%s",
"Content-Title: %s",
"Content-Length: %i",
"\r\n", # empty line to end headers
]
)
if __name__ == '__main_
On Jan 3, 1:35 pm, jwwest <[EMAIL PROTECTED]> wrote:
> Thanks! That worked like an absolute charm.
>
> Just a question though. I'm curious as to why you have to use the
> msvcrt bit on Windows. If I were to port my app to *NIX, would I need
> to do anything similar?
>
> - James
not needed for *NIX
hello, i would like to advertise a few sites their all pretty healthy
t make improvements to your life! one of them is
www.bigleagueplayersclub.com/3clicks/published/67153/196170 thanks
check it ut thers more verious things to see
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 16, 1:19 pm, [EMAIL PROTECTED] wrote:
> On Jan 16, 12:16 am, [EMAIL PROTECTED] wrote:
>
> > Im using mod_python and apache2 using psp for output of page, i open a
> > file and resize it with the following code
>
> > <%
> > import Image, util
>
> > fields = util.FieldStorage(req)
> > filename
FWIW, using json.py I got from somewhere forgotten,
>>> import json
>>> url =
>>> 'http://cmsdoc.cern.ch/cms/test/aprom/phedex/dev/gowri/datasvc/tbedi/requestDetails'
>>> params = {'format':'json'}
>>> import urllib
>>> eparams = urllib.urlencode(params)
>>> import urllib2
>>> request = urllib2.R
On Mar 19, 2:48 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Mar 19, 10:08 am, sturlamolden <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 18 Mar, 23:45, Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
>
> > > > def nonunique(lst):
> > > >slst = sorted(lst)
> > > >dups = [s[0] for s in
> > > >
method of the object), but that didn't
work either.
Thanks,
Justin
--
http://mail.python.org/mailman/listinfo/python-list
ed it. After inserting that,
everything worked fine when I pass just the method object!
Thanks all.
Justin
Bruno Desthuilliers wrote:
Justin Delegard a écrit :
So I am trying to pass an object's method call
I assume you mean "to pass an object's method", sin
On Jan 30, 12:06 pm, blackcapsoftw...@gmail.com wrote:
> I would like to do is be able to log into a site that uses cookies to
> store information about the user when logging in. This works fine and
> dandy with ClientCookie. Now, I want to be able to do so with a proxy,
urllib2
http://docs.pytho
On Fri, Jan 30, 2009 at 1:51 AM, anders wrote:
> Hi!
> I have written a Python program that serach for specifik customer in
> files (around 1000 files)
> the trigger is LF01 + CUSTOMERNO
>
> So a read all fils with dirchached
>
> Then a loop thru all files each files is read with readLines() and
t = text.strip() and text or html2text(html).encode('ascii',
'xmlcharrefreplace')
body = MIMEMultipart('alternative')
body.attach(MIMEText(text))
body.attach(MIMEText(html, 'html'))
return body
HTH
Justin
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 4, 2:48 pm, srinivasan srinivas
wrote:
> Hi,
> Could someone tell me the way to add body to the instance
> email.mime.multipart.MIMEMultipart instance which has attachments?
>
> Thanks,
msg = MIMEMultipart()
msg.preamble = 'This is a multi-part message in MIME format.\n'
msg.epilogue = ''
with sqlite3 of configure and Makefile.
Thanks in Advance!
Justin
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 18, 5:13 pm, Christian Heimes wrote:
> Justin Li schrieb:
>
> > I'm building and installing Ptyhon 2.6.1 on Linux. After configure,
> > make, make install, to import sqlite3 leads to ImportError. It looks
> > like I have to build Python with sqlite. I hav
On Feb 18, 6:29 pm, Justin Li wrote:
> On Feb 18, 5:13 pm, Christian Heimes wrote:
>
> > Justin Li schrieb:
>
> > > I'm building and installing Ptyhon 2.6.1 on Linux. After configure,
> > > make, make install, to importsqlite3leads to ImportError. It looks
On Feb 19, 2:28 pm, Dietrich Bollmann wrote:
> Are there any functions in python to convert between different Japanese
> coding systems?
>
> I would like to convert between (at least) ISO-2022-JP, UTF-8, EUC-JP
> and SJIS. I also need some function to encode / decode base64 encoded
> strings.
>
>
import email
from email.Header import decode_header
from unicodedata import name as un
MS = '''\
Subject: =?UTF-8?Q?
romaji=E3=81=B2=E3=82=89=E3=81=8C=E3=81=AA=E3=82=AB=E3=82=BF?=
Date: Thu, 19 Feb 2009 09:34:56 -
MIME-Version: 1.0
Content-Type: text/plain; charset=EUC-JP
Content-Transfer-Enco
##compile_obj = re.compile(r'dyn.Img\(".*?",".*?",".*?","(.*?)"')
compile_obj = re.compile(r'\http://mail.python.org/mailman/listinfo/python-list
have you tried using the
def request(self, method, url, body=None, headers={})
method instead of putrequest, endheaders, send methods?
where body is
--===1845688244==
Content-Type: application/vnd.cip4-jmf+xml
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-ID: beginning
On Nov 19, 7:00 am, Magdoll <[EMAIL PROTECTED]> wrote:
> I was trying to map various locations in a file to a dictionary. At
> first I read through the file using a for-loop, but tell() gave back
> weird results, so I switched to while, then it worked.
>
> The for-loop version was something like:
>
On Mar 19, 8:50 am, Thomas Robitaille
wrote:
> I am trying to upload a binary file (a tar.gz file to be exact) to a
> web server using POST, from within a python script.
>
> What I would like is essentially the equivalent of
>
> enctype="multipart/form-data">
>
>
have you seen http://code.ac
On Mar 27, 3:33 pm, straycat...@yahoo.com wrote:
> Working my way through suds, I have something like this:
>
> >>> event = client.factory.create('ns0:UserVerifiedEvent')
> >>> print event
>
> (UserVerifiedEvent){
> event-id = None
> user-verified-content[] =
> domain-specific-attributes
issing?
Thanks for your help,
Justin
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 15, 4:46 pm, Gilles Ganault wrote:
> re_block = re.compile('before (.+?) after',re.I|re.S|re.M)
>
> #Here, get web page and put it into "response"
>
> blocks = None
> blocks = re_block.finditer(response)
> if blocks == None:
> print "No block found"
> else:
> print "Before b
en possible?
Thanks,
Justin
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 4, 2:38 am, Daniel Mahoney <[EMAIL PROTECTED]> wrote:
> I'm working on an app that's processing Usenet messages. I'm making a
> connection to my NNTP feed and grabbing the headers for the groups I'm
> interested in, saving the info to disk, and doing some post-processing.
> I'm finding a few
perhaps change html
body=MIMEText('hello,\r\n
ok',_subtype='html',_charset='windows-1255')
to plain
body=MIMEText('hello,\r\n
ok',_subtype='plain',_charset='windows-1255')
--
http://mail.python.org/mailman/listinfo/python-list
def handle_starttag(self, tag, attrs): # <-- attrs here is a
list
if 'a' != tag:
self.stack.append(self.__html_start_tag(tag, attrs))#
<-- attrs here is still a list
return
attrs = dict(attrs)# <-- now attrs is a dictionary
--
http://mail.python
On May 6, 5:19 pm, [EMAIL PROTECTED] wrote:
> In cmd, I can use find like this.
>
> C:\>netstat -an | find "445"
> TCP0.0.0.0:4450.0.0.0:0 LISTENING
> UDP0.0.0.0:445*:*
>
> C:\>
>
> And os.system is OK.>>> import os
> >>> os.system('netstat -an | fin
857560873032
A100 (10 times): 87.6713900566
B100 (10 times): 12.7302949429
C100 (10 times): 8.35931396484
--
- Justin
--
http://mail.python.org/mailman/listinfo/python-list
please explain why this happened using
## win32com.client.Dispatch?
import win32com.client.dynamic
if __name__ == '__main__':
printer = "Adobe PDF on NE03:"
docpath = r"E:\Documents and Settings\justin\Desktop\test.doc"
pspath = r"E:\Documents
os.environ['REMOTE_ADDR']
os.environ['REMOTE_HOST']
--
http://mail.python.org/mailman/listinfo/python-list
"When you create a PostScript file you have to send the host fonts.
Please go to the printer properties, "Adboe PDF Settings" page and turn
OFF the option "Do not send fonts to Distiller".
kbperry,
sorry about that.
go to "Printers and Faxes"
go to properties for the "Adobe PDF" printer
go to the
find all the possible matches, but still only one comes up.
>
> Thanks.
I don't believe you _need_ the parenthesis or the + in that usage...
Have a look at http://docs.python.org/lib/node115.html
It should be obvious which method you need to use to "find them all"
--
- Justin
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 19, 7:38 pm, sarosh wrote:
> how to do filetransfer using usrp.
> can i make lan interface between two computers connected to usrp each and
> then transfer files (images/video) between them?
> how to transfer files?
> is there any example of such kind in gnuradio?
>
> sarosh
am not sure wh
On Mar 9, 11:35 am, tdan wrote:
> I have been using ElementTree to write an app, and would like to
> simply remove an element.
> But in ElementTree, you must know both the parent and the child
> element to do this.
> There is no getparent() function, so I am stuck if I only have an
> element.
>
s
]
How can I make it happen?
Thanks,
Justin.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks!
It works!
Justin.
Chris Rebert wrote:
> On Tue, Mar 30, 2010 at 2:31 PM, Justin Park wrote:
>
>> Suppose I have a list.
>> a = list()
>> And suppose allowed digits as the element are 1,2,3,4,5.
>>
>> What can I do in order to iterate over all poss
Sometimes when I am working on an already generated package,
the python shell cannot perceive the presence of an attribute that I
implemented on top of what was there.
Is there a way to have it perceive newly created attributes?
Thanks,
Justin.
--
http://mail.python.org/mailman/listinfo/python
order to resolve this issue?
Thanks,
Justin.
Justin Park wrote:
> Sometimes when I am working on an already generated package,
> the python shell cannot perceive the presence of an attribute that I
> implemented on top of what was there.
>
> Is there a way to have it perceive newly cre
can't check right now but are you sure it's the parser and not
this line
d.write(csv+"\n")
that's failing?
what is d?
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Jan 5, 2011 at 4:45 PM, Emile van Sebille wrote:
> On 1/5/2011 3:12 PM kanth...@woh.rr.com said...
>
> I want to use Python to find all "\n" terminated
>> strings in a PDF file, ideally returning string
>> starting addresses. Anyone willing to help?
>>
>
> pdflines = open(r'c:\shared\p
'indexftp.barcap.com' only (sans the 'ftp.' prefix) allows me to
connect to an FTP server
>ftp indexftp.barcap.com
Connected to usftp.barcap.com.
220-Connected to usftp.barcap.com.
220 FTP server ready.
User (usftp.barcap.com:(none)):
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 20, 9:19 pm, Stodge wrote:
> Is anyone aware of a Python DXF import library? I think I remember
> seeing converters but so far I haven't found a library. I need to
> write a tool that reads DXFs so I'm not yet sure if a converter would
> be of any use. Thanks
http://lmgtfy.com/?q=Python+DX
The problem is simple.
I have 50taxa2HGT_1.txt in the current directory,
and I can open it using any text editor (which indicates there actually
is.)
And I can read it in Python using
>>> fd=open("./50taxa2HGT_1.txt", "r")
, and it actually got opened, because I can do
>>> for line in fd:
...
On Jul 1, 7:39 am, Jay wrote:
> I would like to create a python script that plays the Windows game
> minesweeper.
>
> The python code logic and running minesweeper are not problems.
> However, "seeing" the 1-8 in the minesweeper map and clicking on
> squares is. I have no idea how to proceed.
you
Seeking industry expert candidates
I’m Justin Smith, Director of Tech Recruiting at Express Seattle. I
am currently seeking candidates to fill Tech Positions for multiple A-
List Clients:
• Quality Assurance Engineer,
• Senior Data Engineer, Search Experience
• Senior Software
On Jul 17, 8:39 pm, VanL wrote:
> Seldon wrote:
> > Hello, I need to determine programmatically a file type from its
> > content/extension (much like the "file" UNIX command line utility)
>
> > I searched for a suitable Python library module, with little luck. Do
> > you know something useful ?
>
r unix only so there's no need to worry
about compatibility with other os'.
Thanks,
-Justin
--
http://mail.python.org/mailman/listinfo/python-list
http://tinyurl.com/kpoweq
--
http://mail.python.org/mailman/listinfo/python-list
Instead of rewriting your code you might consider wrapping it with the
C-API. I prefer this approach (over ctypes) for anything "low level".
http://docs.python.org/c-api/
On 09/06/2010 10:06 PM, Kwan Lai Cheng wrote:
Hi,
I'm trying to rewrite a c program in python & encountered several
probl
I am running "python -m SimpleHTTPServer 80" on Windows XP Pro SP 3
(Python 2.5.4)
browsing http://localhost/ using IE8 and FireFox 3.6, I get blue text
on red background
on Google Chrome 6.0 however, I get blue text on white background
placing index.htm and styles.css (see below) under IIS, I get
On Sep 18, 2:54 am, MrJean1 wrote:
> FWIW,
>
> There is a blue text on a red background in all 4 browsers Google
> Chrome 6.0.472.59, Safari 5.0.1 (7533.17.8), FireFox 3.6.9 and IE
> 6.0.2900.5512 with Python 2.7 serving that page on my Windows XP
> SP 3 machine.
>
> /Jean
>
Hmm.
Will downloa
LOL. twas http://bugs.python.org/issue839496
--
http://mail.python.org/mailman/listinfo/python-list
your bare except is catching the SystemExit raised by sys.exit(1)
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 20, 12:47 am, Johannes Bauer wrote:
>
> >>> from urllib import request; request.URLopener().open("http://google.de";)
>
aren't you supposed to call read on the return value of open?
i.e.,
request.URLopener().open("http://google.de";).read()
--
http://mail.python.org/mailman/listinfo/pytho
On Oct 20, 8:32 pm, Justin Ezequiel
wrote:
> On Oct 20, 12:47 am, Johannes Bauer wrote:
>
>
>
> > >>> from urllib import request; request.URLopener().open("http://google.de";)
>
> aren't you supposed to call read on the return value of open?
>
'''
C:\Documents and Settings\Administrator\Desktop>python wtf.py
301 Moved Permanently
b'
\n301 Moved\n301 Moved\nThe
document has mo
ved\nhttp://www.google.de/";>here.\r\n\r\n'
foo 5.328 secs
301 Moved Permanently
bar 241.016 secs
C:\Documents and Settings\Administrator\Desktop>
'''
import http.
On Tue, Apr 4, 2017 at 8:01 AM, wrote:
> Hello All,
>
> I am writing a python code for processing a data obtained from a sensor.
> The data from sensor is obtained by executing a python script. The data
> obtained should be further given to another python module where the
> received data is used
On Tue, Apr 4, 2017 at 10:39 AM, Venkatachalam Srinivasan <
venkatachalam...@gmail.com> wrote:
> Hi,
>
> Thanks for the answer. I need bash for connecting data exchange between
> two python scripts. To be more specific, data from one script has to be
> passed to the another script. You are right,
On Sun, Apr 16, 2017 at 3:55 AM, bartc wrote:
> Example C of the same silly program in Python:
>
> def add(a,b):
> return a+b
>
> def testfn():
> sum=a=b=0
> for i in range(1):
> sum += add(a,b)
> a += 1
> b += 2
>
> print (a,b,sum)
>
> testfn()
>
>
On Sun, Apr 16, 2017 at 8:46 AM, bartc wrote:
> What were the results with Python on your machine?
Well, at first I tried to implement it with a generator. I gave up on
waiting for the program to complete
after about 6 minutes.
After using your code almost exactly I get:
>>> Sum: 1499850
On Sat, Apr 22, 2017 at 5:05 AM, Steve D'Aprano
wrote:
> https://blogs.technet.microsoft.com/dataplatforminsider/2017/04/
> 19/python-in-sql-server-2017-enhanced-in-database-machine-learning/
>
> Quote:
>
> We are excited to share the preview release of in-database analytics and
> machine learnin
On Mon, Apr 24, 2017 at 2:45 AM, chenchao wrote:
> Hi, everybody:
>
> I have port python-2.7 to my arm board. But i don't know how to port
> a python package to my embedded system. For example, numpy pakage.
> Therefore, is there anybody know how to do this? Thanks!
>
>
>
> --
> https://mail
On Thu, Apr 27, 2017 at 9:52 PM, Mike Reveile
wrote:
> I can measure a Pineapple... by weight, volume, color, taste, smell,
> ripeness... but none of these numbers are the pineapple. They only help me
> relate to the pineapple. In this way Math itself (and the entire realm of
> computer science)
On Thu, May 4, 2017 at 4:42 AM, aohK euqsarraT
wrote:
> I have been using pycharm + python 3.6 for a year and then i updated
> pycharm, that was when things became a super buggy mess. I tried to
> reinstall everything from scratch but the python installation keeps having
> the previous wrong path
On Mon, May 8, 2017 at 9:07 AM, Chris Angelico wrote:
> On Tue, May 9, 2017 at 1:02 AM, Ian Kelly wrote:
> > Slide 58: "Not going to lie to you. I still don't get this." Uh, sure,
> > great sales pitch there. If the author doesn't understand asyncio, then
> why
> > include it in the list?
>
> IM
On Mon, May 8, 2017 at 3:40 PM, wrote:
> Slide 15:
>
> > def sum(a, b, biteme=False):
> > if biteme:
> > shutil.rmtree('/')
> > else:
> > return a + b
>
> Now that's just evil. :^)
> --
> https://mail.python.org/mailman/listinfo/python-list
>
I sincerely hope no-one is t
On Wed, May 17, 2017 at 12:59 PM, BT wrote:
> Hi guys,
> I am fairly new to programming. I was just trying to understand how this
> group works. Am i allowed to ask any questions that I may have when i get
> stuck? I mean is this group for new programmers as well..?
> Thanks
> --
> https://mail.p
On Thu, May 18, 2017 at 12:34 AM, Steven D'Aprano
wrote:
> On Wed, 17 May 2017 14:13:18 -0700, breamoreboy wrote:
>
> > Here it is
> > https://aroberge.blogspot.co.uk/2017/05/what-if-range-did-not-
> exist.html.
> > I found it interesting as it gives background into the Python
> > community's de
201 - 300 of 323 matches
Mail list logo