I occasionally run across something like:
for idx, thing in enumerate(things):
if idx == 103:
continue
do_something_with(thing)
It seems more succinct and cleaner to use:
if idx == 103: continue.
Of course this would be considered an anti-pattern, and Flake8 will complain.
Any
core.py", line
763, in invoke
return __callback(*args, **kwargs)
File "C:\Python39\lib\site-packages\pipenv\cli\command.py", line 419, in
shell
do_shell(
File "C:\Python39\lib\site-packages\pipenv\core.py", line 2309, in
do_shell
shell = choose_shell
I think the np.cov is from the numpy module (imported/aliased as np?).
If so, the numpy repository should have what you are looking for:
https://github.com/numpy/numpy/blob/156cd054e007b05d4ac4829e10a369d19dd2b0b1/numpy/lib/function_base.py#L2276
Hope that helps
Bruno
On Tuesday, 13 October
Hi,
I’m having problems installing and using python as it defaults into [
...users/ user/appdata/local/programs/] etc etc, its about 9 locations in all
but there is no route to ‘app data’, the trail is lost at this point. Its such
an obscure location and I cannot find it anywhere on windows,
Calculate the true, relative and approximate errors, and Relate the absolute
relative approximate error to the number of significant digits.
epsilon = 1
while epsilon + 1 > 1:
epsilon = epsilon / 2.0
epsilon = 2 * epsilon
help me!
--
*This email and any files transmitted with it are c
compose your own octave script to calculate the machine
epsilon. Analyze the code.
epsilon = 1
DO
IF (epsilon+1<=1) EXIT
epsilon = epsilon/2
END DO
epsilon = 2 x epsilon
--
*This email and any files transmitted with it are confidential and
intended solely for the use of the individual or enti
I am excecting custom commands like shell on multiple linux hosts. and if in
one host one of the commands fail. I want that process not to proceed. If the
remote command throws an error i am logging it .. but the process goes to next
command . but if i terminate the command, the process will t
what is the best qr package
--
https://mail.python.org/mailman/listinfo/python-list
ing difficulty thinking about how to do this as a Python beginner.
>
> But I have a list that is represented as:
>
> [1,2,3,4,5,6,7,8]
>
> and I would like the following results:
>
> [1,2] [3,4] [5,6] [7,8]
>
> Any ideas?
>
> Thanks
> --
> https://mail.python.org/
Very Nice.
Em sex, 16 de jun de 2017 às 13:30, Terry Reedy escreveu:
> https://thenewstack.io/instagram-makes-smooth-move-python-3/
> --
> Terry Jan Reedy
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
Hello, I am currently installing Pyv8 and other requirements for me to run a
honeypot. I downloaded pyv8 from source and using v8 (version 5.5) - built it
with depot_tools. I already exported the V8_HOME path. But I still have this
error whenever I run 'python setup.py build' of pyv8. Also, I am
On Monday, June 27, 2016 at 1:36:24 AM UTC+8, MRAB wrote:
> >
> The output you're seeing might be going to stderr, not stdout.
Wow, huhuhu. Thank you. I did not know that. Thanks man!
--
https://mail.python.org/mailman/listinfo/python-list
Hello, I'm currently running another Python program (prog2.py) in my program
via subprocess.
input_args = ['python', '/path/to/prog2.py'] + self.chosen_args
file = open("logfile.txt",'w')
self.process = Popen((input_args), stdout=file)
However, the logs that prog2.py contains still show at the
On 02/29/2016 01:53 PM, tomwilliamson...@gmail.com wrote:
Thanks. If a word appears more than once how would I bring back both locations?
for i, str in enumerate(l): . . . .
--
https://mail.python.org/mailman/listinfo/python-list
On 02/13/2016 09:45 PM, Gary Herron wrote:
On 02/13/2016 12:27 PM, Tom P wrote:
On 02/13/2016 07:13 PM, Gary Herron wrote:
On 02/13/2016 09:58 AM, Tom P wrote:
I am writing a program that has to deal with various date/time formats
and convert these into timestamps. It looks as if
On 02/13/2016 10:01 PM, Mark Lawrence wrote:
On 13/02/2016 17:58, Tom P wrote:
I am writing a program that has to deal with various date/time formats
and convert these into timestamps. It looks as if dateutil.parser.parse
should be able to handle about any format, but what I get is
On 02/13/2016 07:13 PM, Gary Herron wrote:
On 02/13/2016 09:58 AM, Tom P wrote:
I am writing a program that has to deal with various date/time formats
and convert these into timestamps. It looks as if
dateutil.parser.parse should be able to handle about any format, but
what I get is
I am writing a program that has to deal with various date/time formats
and convert these into timestamps. It looks as if dateutil.parser.parse
should be able to handle about any format, but what I get is:
datetimestr = '2012-10-22 11:22:33'
print(dateutil.parser.parse(datetimestr))
result: date
On 10/24/2015 10:05 PM, Poul Riis wrote:
I have N points in 3D, organized in a list. I want to to point out the numbers
of the two that have the smallest distance.
With scipy.spatial.distance.pdist I can make a list of all the distances, and I
can point out the number of the minimum value of th
On 08/14/2015 03:15 PM, Jason Swails wrote:
On Aug 14, 2015, at 3:18 AM, Tom P wrote:
Thanks for the reply but that is not what the documentation says.
http://unidata.github.io/netcdf4-python/#section8
"Remote OPeNDAP-hosted datasets can be accessed for reading over http if a UR
On 08/13/2015 05:55 PM, Jason Swails wrote:
On Thu, Aug 13, 2015 at 6:32 AM, Tom P mailto:werot...@freent.dd>> wrote:
I'm having a problem trying to access OpenDAP files using netCDF4.
The netCDF4 is installed from the Anaconda package. According to
their changelog,
I'm having a problem trying to access OpenDAP files using netCDF4.
The netCDF4 is installed from the Anaconda package. According to their
changelog, openDAP is supposed to be supported.
netCDF4.__version__
Out[7]:
'1.1.8'
Here's some code:
url =
'http://www1.ncdc.noaa.gov/pub/data/cmb/ersst/
On Sat, 25 Jul 2015 18:34:30 +0200,
Laura Creighton wrote:
> Gmail eats Python. We just saw this mail back from Sebastian Luque
> which says in part:
try: all_your_code_which_is_happy_with_non_scalars except
WhateverErrorPythonGivesYouWhenYouTryThisWithScalars:
whatever_you_want_
On Sat, 25 Jul 2015 14:44:43 +0200,
Laura Creighton wrote:
> And because I was rushed and posted without revision I left out
> something important.
>> So this is, quite likely, the pattern that you are looking for:
>> try: all_your_code_which_is_happy_with_non_scalars except
>> WhateverErrorPyt
El miércoles, 15 de julio de 2015, 14:12:08 (UTC+2), Chris Angelico escribió:
> On Wed, Jul 15, 2015 at 9:44 PM, Jason P. wrote:
> > I can't understand very well what's happening. It seems that the main
> > thread gets blocked listening to the web server. My intent
Hi all!
I'm working in a little Python exercise with testing since the beginning. So
far I'm with my first end to end test (not even finished yet) trying to:
1) Launch a development web server linked to a demo app that just returns
'Hello World!'
2) Make a GET request successfully
I can't un
El miércoles, 17 de junio de 2015, 22:39:31 (UTC+2), Marko Rauhamaa escribió:
> Ned Batchelder :
>
> > TDD is about writing tests as a way to design the best system, and
> > putting testing at the center of your development workflow. It works
> > great with Python even without interfaces.
>
> I
El miércoles, 17 de junio de 2015, 21:44:51 (UTC+2), Ned Batchelder escribió:
> On Wednesday, June 17, 2015 at 3:21:32 PM UTC-4, Jason P. wrote:
> > Hello Python community.
> >
> > I come from a classic background in what refers to OOP. Mostly Java and PHP
> > (&
El miércoles, 17 de junio de 2015, 21:44:51 (UTC+2), Ned Batchelder escribió:
> On Wednesday, June 17, 2015 at 3:21:32 PM UTC-4, Jason P. wrote:
> > Hello Python community.
> >
> > I come from a classic background in what refers to OOP. Mostly Java and PHP
> > (&
Hello Python community.
I come from a classic background in what refers to OOP. Mostly Java and PHP (>
5.3). I'm used to abstract classes, interfaces, access modifiers and so on.
Don't get me wrong. I know that despite the differences Python is fully object
oriented. My point is, do you know an
On 04/21/2015 12:57 PM, pm05...@gmail.com wrote:
Hello everyone,
I am willing to learn Python from scratch.Please he me to learn.Although I hv
knowledge of c and object oriented programming.
Apart from the various tutorials you might want to look at the on-line
courses offered by Coursera a
Is there a reason tarfile and zipfile don't use the same method/member names,
where it makes sense? Consider the following six methods/members, which I
would expect to be the same (with the possible exception of mtime vs date_time,
which are of different types). It almost seems like someone we
On 30.09.2014 13:50, Jean-Michel Pichavant wrote:
Hello list,
I'm currently writing a presentation to help my co-workers ramp up on new
features of our tool (written in python (2.7)).
I have some difficulties presenting code in an efficient way (with some basic syntax
highlights). I need to b
I'm building a report builder for my Django app and could use a little advice.
My reports are fairly simple where I accumulate scores of data (easy enough)
but then I want to alter the report totals by varying dimensions (date ranges /
split dates/weeks/months / owners / other metadata etc.). Si
On Saturday, 24 May 2014 04:45:14 UTC+5:30, subhaba...@gmail.com wrote:
> Dear Group,
>
>
>
> It seems there is a nice language processing library named TextBlob, like
> NLTK.
>
> But I am being unable to install it on my Windows(MS-Windows 7 machine. I am
> using Python 2.7
>
>
>
> If a
On 28.04.2014 15:04, mboyd02...@gmail.com wrote:
I have a numpy array consisting of 1s and zeros for representing binary numbers:
e.g.
>>> binary
array([ 1., 0., 1., 0.])
I wish the array to be in the form 1010, so it can be manipulated.
I do not want to use built in binary con
Hi ppl,
I'm trying to figure out the whole virtualenv story.
Right now I'm using it to creating an environment for our upcoming debian
upgrade to squeeze.
I'm doing some tests in our current distrib (python 2.5).
I have come to realize that a lot of packages in the version I'm interested
in are n
I have two numpy arrays, xx and yy -
(Pdb) xx
array([0.7820524520874, masked, masked, 0.3700476837158,
0.7252384185791, 0.6002384185791, 0.6908474121094,
0.7878760223389, 0.6512288818359, 0.1110143051147,
masked, 0.716205039978, 0.546038
On Thursday, November 7, 2013 8:48:26 AM UTC+5:30, Kewl p wrote:
> h
can i get link of a ide in which python can run,,...??
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday, November 7, 2013 8:48:26 AM UTC+5:30, Kewl p wrote:
> h
thanks very much
--
https://mail.python.org/mailman/listinfo/python-list
h
--
https://mail.python.org/mailman/listinfo/python-list
On 06.11.2013 16:14, Tom P wrote:
ok I figured it. ID is a tuple, not a simple variable.
The correct test is ID[0]==11005
I can't get conditional breakpoints to work. I have a variable ID and I
want to set a breakpoint which runs until ID==11005.
Here's what happens -
I can't get conditional breakpoints to work. I have a variable ID and I
want to set a breakpoint which runs until ID==11005.
Here's what happens -
-> import sys
...
(Pdb) b 53, ID==11005
Breakpoint 1 at /home/tom/Desktop/BEST Tmax/MYSTUFF/sqlanalyze3.py:53
(Pdb) b
Num Type Disp Enb W
On 10.09.2013 11:45, Oscar Benjamin wrote:
On 10 September 2013 01:06, Steven D'Aprano
wrote:
On Mon, 09 Sep 2013 12:19:11 +, Fattburger wrote:
But really, we've learned *nothing* from the viruses of the 1990s.
Remember when we used to talk about how crazy it was to download code
from untr
On Monday, September 2, 2013 1:10:34 AM UTC-7, Paul Rubin wrote:
> "Russ P." writes:
>
> > I just stumbled across this video and found it interesting:
>
> > http://vimeo.com/72870631
>
> > My apologies if it has been posted here already.
>
>
>
I just stumbled across this video and found it interesting:
http://vimeo.com/72870631
My apologies if it has been posted here already.
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday, June 6, 2013 2:29:02 AM UTC-7, Steven D'Aprano wrote:
> On Thu, 06 Jun 2013 12:29:44 +1000, Chris Angelico wrote:
>
>
>
> > On Thu, Jun 6, 2013 at 11:56 AM, Steven D'Aprano
>
> > wrote:
>
> >> On Wed, 05 Jun 2013 14:59:31
On Wednesday, June 5, 2013 7:29:44 PM UTC-7, Chris Angelico wrote:
> On Thu, Jun 6, 2013 at 11:56 AM, Steven D'Aprano
>
> wrote:
>
> > On Wed, 05 Jun 2013 14:59:31 -0700, Russ P. wrote:
>
> >> As for Python, my experience with it is that, as
>
> >
On Wednesday, June 5, 2013 4:18:13 PM UTC-7, Michael Torrie wrote:
> On 06/05/2013 12:11 AM, Russ P. wrote:
>
> > But then, what would you expect of a language that allows you to
>
> > write
>
> >
>
> > x = 1
>
> > x = "Hello"
>
On Wednesday, June 5, 2013 9:59:07 AM UTC-7, Chris Angelico wrote:
> On Thu, Jun 6, 2013 at 2:15 AM, Russ P. wrote:
>
> > On Wednesday, June 5, 2013 1:59:01 AM UTC-7, Mark Lawrence wrote:
>
> >> I want to launch this rocket with an expensive satellite on top. I know
>
On Wednesday, June 5, 2013 1:59:01 AM UTC-7, Mark Lawrence wrote:
> On 05/06/2013 07:11, Russ P. wrote:
>
>
>
> > But then, what would you expect of a language that allows you to write
>
> >
>
> > x = 1
>
> > x = "Hello"
>
&
On Wednesday, June 5, 2013 12:15:57 AM UTC-7, Chris Angelico wrote:
> On Wed, Jun 5, 2013 at 4:11 PM, Russ P. wrote:
>
> > On Tuesday, June 4, 2013 8:44:11 AM UTC-7, Rick Johnson wrote:
>
> >
>
> >> Yes, but the problem is not "my approach", rather
On Tuesday, June 4, 2013 8:44:11 AM UTC-7, Rick Johnson wrote:
> Yes, but the problem is not "my approach", rather the lack
>
> of proper language design (my apologizes to the "anointed
>
> one". ;-)
If you don't like implicit conversion to Boolean, then maybe you should be
using another langu
Is there a way to use pdb to debug Google apps written in Python?
When I start the development system to run the app "test" like this -
'./google_appengine/dev_appserver.py' './test'
- I'd like to send the program into debug. I couldn't see anything in
the documentation how to do this. If I do
Hi,
a few weeks back I posed a question about passing static data to a
request server, and thanks to some useful suggestions, got it working. I
see yesterday there is a suggestion to use a framework like Tornado
rather than base classes. However I can't figure achieve the same effect
using To
On 04/05/2013 01:02 PM, Tom P wrote:
ok, after much experimenting it looks like the solution is as follows:
class MyWebServer(object):
def __init__(self):
# self.foo = "foo" delete these from self
# self.bar = "bar"
myServer = HTTPServer
On 04/05/2013 02:27 PM, Dylan Evans wrote:
On 05/04/2013 9:09 PM, "Tom P" wrote:
First, here's a sample test program:
import sys
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
class MyRequestHandler(BaseHTTPRequestHandler, object):
def do_GET(self):
On 04/05/2013 01:54 PM, Dave Angel wrote:
On 04/05/2013 07:02 AM, Tom P wrote:
First, here's a sample test program:
import sys
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
class MyRequestHandler(BaseHTTPRequestHandler, object):
def do_GET(self):
top_self =
On 04/05/2013 01:54 PM, Dave Angel wrote:
On 04/05/2013 07:02 AM, Tom P wrote:
First, here's a sample test program:
import sys
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
class MyRequestHandler(BaseHTTPRequestHandler, object):
def do_GET(self):
top_self =
On 04/05/2013 02:27 PM, Dylan Evans wrote:
On 05/04/2013 9:09 PM, "Tom P" wrote:
First, here's a sample test program:
import sys
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
class MyRequestHandler(BaseHTTPRequestHandler, object):
def do_GET(self):
First, here's a sample test program:
import sys
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
class MyRequestHandler(BaseHTTPRequestHandler, object):
def do_GET(self):
top_self = super(MyRequestHandler, self) # try to access
MyWebServer instance
self.send_re
On 03/18/2013 10:17 PM, Peng Yu wrote:
Hi,
I don't quite understand how -m option is used. And it is difficult to
search for -m in google. Could anybody provide me with an example on
how to use this option? Thanks!
-m module-name
Searches sys.path for the named module and
One possibility is to form the string as usual, split on the "e", format each
part separately, then rejoin with an "e".
On Tuesday, March 5, 2013 12:09:10 PM UTC-8, fa...@squashclub.org wrote:
> Instead of:
>
>
>
> 1.8e-04
>
>
>
> I need:
>
>
>
> 1.8e-004
>
>
>
> So two zeros before t
On 01/21/2013 01:39 PM, Oscar Benjamin wrote:
On 21 January 2013 12:06, Ferrous Cranus wrote:
Τη Δευτέρα, 21 Ιανουαρίου 2013 11:31:24 π.μ. UTC+2, ο χρήστης Chris Angelico
έγραψε:
Seriously, you're asking for something that's beyond the power of
humans or computers. You want to identify that
I'm looking for a Junior level Django job (telecommute)
About me:
- less than year of experience with Python/Django
- Intermediate knowledge of Python/Django
- Experience with Linux
- Experience with Django ORM
- Passion for developing high-quality software and Python language
- I am able to us
of.
You can find it here:
https://plus.google.com/u/0/communities/109155400666012015869
Hope to see you soon :-)
Martin P. Hellwig
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday, 15 November 2012 12:29:04 UTC, chip...@gmail.com wrote:
> Hi all!
>
>
>
> I have a stupid problem, for which I cannot find a solution...
>
>
>
> I have a python module, lets call it debugTest.py.
>
>
>
> and it contains:
>
> def test():
>
> a=1
>
> b=2
>
> c=a
On Tuesday, 25 September 2012 09:14:27 UTC+1, Mark Lawrence wrote:
> Hi all,
>
> I though this might be of interest.
> http://www.ironfroggy.com/software/i-am-worried-about-the-future-of-python
> --
>
> Cheers.
> Mark Lawrence.
I glanced over the article but it seems to me another 'I am afraid
On Monday, 3 September 2012 15:12:21 UTC+1, Manatee wrote:
> Hello all, I am learning to program in python. I have a need to make a
>
> program that can store, retrieve, add, and delete client data such as
>
> name, address, social, telephone number and similar information. This
>
> would be a
On 08/06/2012 08:29 PM, Grant Edwards wrote:
On 2012-08-06, Grant Edwards wrote:
On 2012-08-06, Tom P wrote:
On 08/06/2012 06:18 PM, Nobody wrote:
On Mon, 06 Aug 2012 17:52:31 +0200, Tom P wrote:
consider a nested loop algorithm -
for i in range(100):
for j in range(100
On 08/06/2012 06:03 PM, John Gordon wrote:
In Tom P writes:
consider a nested loop algorithm -
for i in range(100):
for j in range(100):
do_something(i,j)
Now, suppose I don't want to use i = 0 and j = 0 as initial values, but
some other values i = N and j = M,
On 08/06/2012 06:18 PM, Nobody wrote:
On Mon, 06 Aug 2012 17:52:31 +0200, Tom P wrote:
consider a nested loop algorithm -
for i in range(100):
for j in range(100):
do_something(i,j)
Now, suppose I don't want to use i = 0 and j = 0 as initial values, but
some other val
consider a nested loop algorithm -
for i in range(100):
for j in range(100):
do_something(i,j)
Now, suppose I don't want to use i = 0 and j = 0 as initial values, but
some other values i = N and j = M, and I want to iterate through all
10,000 values in sequence - is there a neat py
On 07/21/2012 02:30 AM, Ian Kelly wrote:
On Fri, Jul 20, 2012 at 5:38 PM, Chris Williams
wrote:
Hello
I hope this is the right newsgroup for this post.
I am just starting to learn python programming and it seems very
straightforward so far. It seems, however, geared toward doing the sort of
p
On Friday, 13 July 2012 05:03:23 UTC+1, Temia Eszteri wrote:
> I'm going to be looking into writing a wrapper for the Allegro 5 game
> development libraries, either with ctypes or Cython. They technically
> have a basic 1:1 ctypes wrapper currently, but I wanted to make
> something more pythonic,
On Saturday, 30 June 2012 21:30:45 UTC+1, Alister wrote:
> On Sat, 30 Jun 2012 21:38:58 +0200, Thomas Jollans wrote:
>
> > On 06/30/2012 08:39 PM, Thomas 'PointedEars' Lahn wrote:
> >> Peter Otten wrote:
> >>
> >>> If you spell it
> >>>
> >>> def is_valid_password(password):
> >>> return mud
12:57 pm, "Littlefield, Tyler" wrote:
> >>>> I was curious if someone wouldn't mind poking at some code. The
> >>>> project page is at:http://code.google.com/p/pymud Any information is
> >>>> greatly appreciated.
> >>> I couldn
uably they are not
mistakes at all, are not easy forgotten and can end up haunting you.
I hope you will take these comments with you as a lesson learned, I do
wish you all the best and look forward to the improvements you are going
to contribute.
--
Martin P. Hellwig (mph)
--
http://mail.pytho
On May 3, 4:59 pm, someone wrote:
> On 05/04/2012 12:58 AM, Russ P. wrote:
>
> > Yeah, I realized that I should rephrase my previous statement to
> > something like this:
>
> > For any *empirical* engineering or scientific work, I'd say that a
> > c
ather than empirical. Still, a condition number of 1e6 would bother
me, but maybe that's just me.
--Russ P.
On May 3, 3:21 pm, someone wrote:
> On 05/03/2012 07:55 PM, Russ P. wrote:
>
>
>
> > On May 3, 10:30 am, someone wrote:
> >> On 05/02/2012 11:45 PM, Russ P. wro
On May 3, 10:30 am, someone wrote:
> On 05/02/2012 11:45 PM, Russ P. wrote:
>
>
>
> > On May 2, 1:29 pm, someone wrote:
>
> >>> If your data starts off with only 1 or 2 digits of accuracy, as in your
> >>> example, then the result is meaningless -
On May 2, 1:29 pm, someone wrote:
> > If your data starts off with only 1 or 2 digits of accuracy, as in your
> > example, then the result is meaningless -- the accuracy will be 2-2
> > digits, or 0 -- *no* digits in the answer can be trusted to be accurate.
>
> I just solved a FEM eigenvalue pro
On May 1, 11:03 pm, someone wrote:
> On 05/02/2012 01:38 AM, Russ P. wrote:
>
>
>
>
>
>
>
>
>
> > On May 1, 4:05 pm, Paul Rubin wrote:
> >> someone writes:
> >>> Actually I know some... I just didn't think so much about, before
&
On May 1, 4:05 pm, Paul Rubin wrote:
> someone writes:
> > Actually I know some... I just didn't think so much about, before
> > writing the question this as I should, I know theres also something
> > like singular value decomposition that I think can help solve
> > otherwise illposed problems,
>
On May 1, 11:52 am, someone wrote:
> On 04/30/2012 03:35 AM, Nasser M. Abbasi wrote:
>
> > On 04/29/2012 07:59 PM, someone wrote:
> > I do not use python much myself, but a quick google showed that pyhton
> > scipy has API for linalg, so use, which is from the documentation, the
> > following code
On Apr 29, 5:17 pm, someone wrote:
> On 04/30/2012 12:39 AM, Kiuhnm wrote:
>
> >> So Matlab at least warns about "Matrix is close to singular or badly
> >> scaled", which python (and I guess most other languages) does not...
>
> > A is not just close to singular: it's singular!
>
> Ok. When do you
On 09/04/2012 11:01, Janis wrote:
My experience is that these kind of behaviors are observed when (from
most to least likeliness):
- Your kernel barfs on a limit, e.g. space/inodes/processes/memory/etc.
- You have a linked library mismatch
- You have bit rot on your system
- You have a faulty l
On 08/04/2012 12:11, Xah Lee wrote:
Hi Xah,
You clearly didn't want help on this subject, as you really now how to
do it anyway. But having read your posts over the years, I'd like to
give you an observation on your persona, free of charge! :-)
You are actually a talented writer, some may fi
On 20/03/2012 06:00, Richard Medina Calderon wrote:
Hello Forum. I have installed Python comnpiler in Eclipse Classic for Windows.
After a while I have installed the C compiler. However, somehow now when I try
to run my code in Python it shows me for default Ant
Run -->Ant Build
I switched my
I have a USB GPS dongle using this for getting position information. I
installed gpsd daemon so that any clients can read data from that. It is
working fine
used xgps, cgps as clients.
*gpsd -n -N -D2 /dev/ttyUSB0 *
import gps, os, time
g = gps.gps(mode=gps.WATCH_NEWSTYLE)
while 1:
os.system('cl
On Mar 6, 7:25 pm, rusi wrote:
> On Mar 6, 6:11 am, Xah Lee wrote:
>
> > some additional info i thought is relevant.
>
> > are int, float, long, double, side-effects of computer engineering?
>
> It is a bit naive for computer scientists to club integers and reals
> as mathematicians do given that
On Mar 5, 10:34 pm, Xah Lee wrote:
> On Mar 5, 9:26 pm, Tim Roberts wrote:
>
> > Xah Lee wrote:
>
> > >some additional info i thought is relevant.
>
> > >are int, float, long, double, side-effects of computer engineering?
>
> > Of course they are. Such concepts violate the purity of a computer
On 29/01/2012 03:32, Eric Snow wrote:
This is my first year speaking at PyCon, so I solicited
speaking/preparation advice from a bunch of folks, particularly
focusing on the PyCon speaking experience. I've compiled the results
and put them online:
http://ref.rtfd.org/speakers
This is still rou
On 25/01/2012 17:26, bvdp wrote:
Well once you think about distributing, here is the guide line I use:
- If it is meant as a library that can be 'imported' in python:
> site-packages is the place to be, some linux distros are rather
creative with them so be careful.
- If it is a 'stand-alon
On 24/01/2012 14:51, J wrote:
On Tue, Jan 24, 2012 at 09:05, Martin P. Hellwig
wrote:
On 24/01/2012 05:57, Rick Johnson wrote:
I would wish that pedantic citizens of the British colony in America stopped
calling whatever misinterpreted waffle they produce, English.
I, sir, as a citizen of
On 24/01/2012 05:57, Rick Johnson wrote:
I would wish that pedantic citizens of the British colony in America
stopped calling whatever misinterpreted waffle they produce, English.
--
mph
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Dec 21, 2011 at 2:57 AM, Jim Fulton wrote:
> On Wed, Dec 21, 2011 at 2:15 AM, Chris Withers
> wrote:
> > Hi All,
> >
> > What's the general consensus on supporting Python 2.5 nowadays?
> >
> > Do people still have to use this in commercial environments or is
> everyone
> > on 2.6+ nowada
On 13/12/2011 16:50, Sagy Drucker wrote:
hello
Hi
i am relatively new to python, so please be considerate...
As I am only responding to one of your questions, perhaps it would be
best if you don't get any other more helpful replies to split your
questions up and post them separately.
i'm im
On 01/12/2011 03:15, Roy Smith wrote:
Well, I have seen much worse, so the WTFs/minute(*) count won't be too bad.
However, as general rule for readability; If you think you have to ask,
don't bother asking, spend that time rethinking and write a more
readable solution.
*) http://www.osnews
On 17/11/2011 23:54, W. eWatson wrote:
My mistake above. I was talking about the previous 2.5.2 of install in
Win7. Where I'm at is 2.7.2 now. However, I still find in very odd there
is no Edit with IDLE when I right-click on junk.py. That's the way it
worked on 2.5.2 on my XP and earlier, 2010,
1 - 100 of 1697 matches
Mail list logo