On Wednesday, February 5, 2014 11:15:09 AM UTC+5:30, Rustom Mody wrote:
> On Wednesday, February 5, 2014 11:05:05 AM UTC+5:30, Ayushi Dalmia wrote:
>
> > This also doesn't gives the true size. I did the following:
>
>
>
> > import sys
>
> > data=[]
>
> > f=open('stopWords.txt','r')
>
>
>
>
On Wednesday, February 5, 2014 11:05:05 AM UTC+5:30, Ayushi Dalmia wrote:
> This also doesn't gives the true size. I did the following:
> import sys
> data=[]
> f=open('stopWords.txt','r')
> for line in f:
> line=line.split()
> data.extend(line)
> print sys.getsizeof(data)
> where stopW
On Wednesday, February 5, 2014 12:59:46 AM UTC+5:30, Tim Chase wrote:
> On 2014-02-04 14:21, Dave Angel wrote:
>
> > To get the "total" size of a list of strings, try (untested):
>
> >
>
> > a = sys.getsizeof (mylist )
>
> > for item in mylist:
>
> > a += sys.getsizeof (item)
>
>
>
>
On Wednesday, February 5, 2014 12:51:31 AM UTC+5:30, Dave Angel wrote:
> Ayushi Dalmia Wrote in message:
>
>
>
> >
>
> > Where am I going wrong? What are the alternatives I can try?
>
>
>
> You've rejected all the alternatives so far without showing your
>
> code, or even properly specif
On Tuesday, February 4, 2014 7:36:48 PM UTC+5:30, Dennis Lee Bieber wrote:
> On Tue, 4 Feb 2014 05:19:48 -0800 (PST), Ayushi Dalmia
>
> declaimed the following:
>
>
>
>
>
> >I need to chunk out the outputs otherwise it will give Memory Error. I need
> >to do some postprocessing on the data
On Wednesday, February 5, 2014 1:25:43 AM UTC+5:30, bharath wrote:
> please help im just frustrated after writing a long code and seeing that it
> isn't working..
Prior to Kernighan and Ritchie people did tend to write 'a long code'
and then check that its working (or not). After 'The C program
On Tue, 04 Feb 2014 19:53:52 -0500, Roy Smith wrote:
> In article ,
> David Hutto wrote:
>
>> Can anyone point out how using an int as a var is possible
>
> one = 42
>
> (ducking and running)
int = 42
(ducking lower and running faster)
--
https://mail.python.org/mailman/listinfo/python-lis
On 2/4/2014 6:36 PM, Ned Batchelder wrote:
On 2/4/14 6:24 PM, yamas wrote:
On Sun, 02 Feb 2014 17:59:29 -0600, kalvinmanual3 wrote:
Python-list (and gmane) readers do not see and hence never notice the
spam that gets blocked -- about 90%. Since essentially identical
messages have appeared
On Wed, Feb 5, 2014 at 11:53 AM, Roy Smith wrote:
> In article ,
> David Hutto wrote:
>
>> Can anyone point out how using an int as a var is possible
>
> one = 42
>
> (ducking and running)
In theory, there might be a Unicode character that's valid as an
identifier, but gets converted into U+003
In article ,
David Hutto wrote:
> Can anyone point out how using an int as a var is possible
one = 42
(ducking and running)
--
https://mail.python.org/mailman/listinfo/python-list
On 2/4/14 6:24 PM, yamas wrote:
On Sun, 02 Feb 2014 17:59:29 -0600, kalvinmanual3 wrote:
I have solutions manuals to all problems and exercises in these
textbooks.
To get one in an electronic format contact me at
fuck off retard
No matter what you think of the inappropriate post about manu
On Wed, Feb 5, 2014 at 10:18 AM, Terry Reedy wrote:
> PS. I agree that the pilcrow appearing and disappearing is not pretty when I
> am not looking to use it. I happen to think that is it tolerable because it
> is sometimes useful.
Yes, it's not perfect. But neither are the obvious alternatives:
On 2/4/2014 6:24 PM, Terry Reedy wrote:
On 2/4/2014 2:19 PM, andrea crotti wrote:
2014-02-04 :
Useless and really ugly.
I think this whole discussion is rather useless.
I agree that responding to Jim's generalized statements such as
'useless' are either sincere personal opinions that are
On 2/4/2014 2:19 PM, andrea crotti wrote:
2014-02-04 :
Useless and really ugly.
I think this whole discussion is rather useless.
I agree that responding to Jim's generalized statements such as
'useless' are either sincere personal opinions that are true with
respect to himself, delusiona
On 2/4/2014 10:21 AM, wxjmfa...@gmail.com wrote:
I was able to discover that link by opening the page, highlighting the
section header with my mouse, then clicking the pilcrow. That gives
me the anchor link to that section header.
Useless and really ugly.
Jim, when you say 'useless', please
On 2/4/2014 1:20 PM, Ned Batchelder wrote:
On 2/4/14 10:21 AM, wxjmfa...@gmail.com wrote:
>
>I was able to discover that link by opening the page, highlighting the
>section header with my mouse, then clicking the pilcrow. That gives
>me the anchor link to that section header.
>
Useless and r
On Sunday, February 2, 2014 4:16:44 PM UTC-5, Charlie Winn wrote:
> Hey Guys i Need Help , When i run this program i get the 'None' Under the
> program, see what i mean by just running it , can someone help me fix this
>
>
>
> def Addition():
>
> print('Addition: What are two your numbers?
On Wednesday, February 5, 2014 2:03:58 AM UTC+5:30, Nick Cash wrote:
> >> Is kivy listed in the Python search paths (sys.path)?
>
>
>
> >yes
>
>
>
> To be extra sure, you can start a python interpreter with the commandline
> argument -vv, and when you try to import kivy (or any module) it wi
>> Is kivy listed in the Python search paths (sys.path)?
>yes
To be extra sure, you can start a python interpreter with the commandline
argument -vv, and when you try to import kivy (or any module) it will show you
every file/path it checks when trying to find it. This might help you narrow
do
On 02/04/2014 11:55 AM, bharath wrote:
i installed python 2.7 before and installed suitable kivy.. i have also
included the .bat file in the send to option.. but my programs are not at all
runnning and giving me error when i run it normally or with the .bat file.. it
says that there's no modul
On Wednesday, February 5, 2014 1:51:31 AM UTC+5:30, MRAB wrote:
> On 2014-02-04 19:55, bharath wrote:
>
> > i installed python 2.7 before and installed suitable kivy.. i have
>
> > also included the .bat file in the send to option.. but my programs
>
> > are not at all runnning and giving me err
On Wednesday, February 5, 2014 1:51:31 AM UTC+5:30, MRAB wrote:
> On 2014-02-04 19:55, bharath wrote:
>
> > i installed python 2.7 before and installed suitable kivy.. i have
>
> > also included the .bat file in the send to option.. but my programs
>
> > are not at all runnning and giving me err
On 2014-02-04 19:55, bharath wrote:
i installed python 2.7 before and installed suitable kivy.. i have
also included the .bat file in the send to option.. but my programs
are not at all runnning and giving me error when i run it normally or
with the .bat file.. it says that there's no module name
i installed python 2.7 before and installed suitable kivy.. i have also
included the .bat file in the send to option.. but my programs are not at all
runnning and giving me error when i run it normally or with the .bat file.. it
says that there's no module named kivy when i import it.. please he
On 04/02/2014 19:21, Dave Angel wrote:
Ayushi Dalmia Wrote in message:
Where am I going wrong? What are the alternatives I can try?
You've rejected all the alternatives so far without showing your
code, or even properly specifying your problem.
To get the "total" size of a list of stri
On 2014-02-04 14:21, Dave Angel wrote:
> To get the "total" size of a list of strings, try (untested):
>
> a = sys.getsizeof (mylist )
> for item in mylist:
> a += sys.getsizeof (item)
I always find this sort of accumulation weird (well, at least in
Python; it's the *only* way in many other
Ayushi Dalmia Wrote in message:
>
> Where am I going wrong? What are the alternatives I can try?
You've rejected all the alternatives so far without showing your
code, or even properly specifying your problem.
To get the "total" size of a list of strings, try (untested):
a = sys.getsizeof
2014-02-04 :
> Le mardi 4 février 2014 15:39:54 UTC+1, Jerry Hill a écrit :
>
> Useless and really ugly.
>
I think this whole discussion is rather useless instead, why do you
care since you're not going to use this tool anyway?
--
https://mail.python.org/mailman/listinfo/python-list
Michael Torrie wrote:
> On 02/04/2014 08:21 AM, wxjmfa...@gmail.com wrote:
>>
>> Useless and really ugly.
>
> How do you recommend we discover the anchor links for linking to?
Why not the whole header? Click anywhere on
7.2.1. Regular Expression Syntax
instead of the tiny ¶ symbol beside it.
In article ,
Michael Torrie wrote:
> On 02/04/2014 08:21 AM, wxjmfa...@gmail.com wrote:
> >
> > Useless and really ugly.
>
> How do you recommend we discover the anchor links for linking to?
Use the Table Of Contents panel on the left?
--
Jim Gibson
--
https://mail.python.org/mailman/listin
On 2/4/14 10:21 AM, wxjmfa...@gmail.com wrote:
>
>I was able to discover that link by opening the page, highlighting the
>section header with my mouse, then clicking the pilcrow. That gives
>me the anchor link to that section header.
>
Useless and really ugly.
I'm not sure why you would desc
On 02/04/2014 07:45 AM, Steven D'Aprano wrote:
Before I bother Python-Dev with this, can anyone else confirm that
building Python 3.4 from source using the latest version in the source
repository fails?
This is the check-out I'm using:
ethan@media:~/source/python/cpython$ hg parent
---
On Wed, Feb 5, 2014 at 3:58 AM, Zachary Ware
wrote:
> On Tue, Feb 4, 2014 at 10:49 AM, Chris Angelico wrote:
>> Are there any buildbots that configure --with-pydebug? This could be a
>> debug-only issue.
>
> Only all of them :). As far as I know, the only 'bot that does a
> non-debug build is th
On Tue, Feb 4, 2014 at 10:49 AM, Chris Angelico wrote:
> Are there any buildbots that configure --with-pydebug? This could be a
> debug-only issue.
Only all of them :). As far as I know, the only 'bot that does a
non-debug build is the "x86 Gentoo Non-Debug" bot.
> That said, though, I just did
On Wed, Feb 5, 2014 at 3:02 AM, Zachary Ware
wrote:
> On Tue, Feb 4, 2014 at 9:45 AM, Steven D'Aprano
> wrote:
>> Before I bother Python-Dev with this, can anyone else confirm that
>> building Python 3.4 from source using the latest version in the source
>> repository fails?
>>
>> # Build Python
On 04 Feb 2014 15:45:46 GMT
Steven D'Aprano wrote:
> Before I bother Python-Dev with this, can anyone else confirm that
> building Python 3.4 from source using the latest version in the source
> repository fails?
I can not confirm an error. I checked out the latest sources
and ./configure and m
On Wed, Feb 5, 2014 at 2:31 AM, Michael Torrie wrote:
> On 02/04/2014 08:21 AM, wxjmfa...@gmail.com wrote:
>>
>> Useless and really ugly.
>
> How do you recommend we discover the anchor links for linking to?
Same way you usually do! By right clicking, hitting "View Source", and
poking around unti
On Tue, Feb 4, 2014 at 9:45 AM, Steven D'Aprano
wrote:
> Before I bother Python-Dev with this, can anyone else confirm that
> building Python 3.4 from source using the latest version in the source
> repository fails?
>
> # Get the source code
> hg clone http://hg.python.org/cpython
>
> # Build Pyt
Before I bother Python-Dev with this, can anyone else confirm that
building Python 3.4 from source using the latest version in the source
repository fails?
# Get the source code
hg clone http://hg.python.org/cpython
# Build Python (on Unix, sorry Windows and Mac people, you're on your own)
./co
Missed that it's already pointed out, was looking at the google groups
combined email.
On Tue, Feb 4, 2014 at 10:43 AM, David Hutto wrote:
> On Sunday, February 2, 2014 4:16:44 PM UTC-5, Charlie Winn wrote:
> > Hey Guys i Need Help , When i run this program i get the 'None' Under
> the program
On Sunday, February 2, 2014 4:16:44 PM UTC-5, Charlie Winn wrote:
> Hey Guys i Need Help , When i run this program i get the 'None' Under the
> program, see what i mean by just running it , can someone help me fix this
>
>
>
> def Addition():
>
> print('Addition: What are two your numbers?
On 02/04/2014 08:21 AM, wxjmfa...@gmail.com wrote:
>
> Useless and really ugly.
How do you recommend we discover the anchor links for linking to?
--
https://mail.python.org/mailman/listinfo/python-list
Le mardi 4 février 2014 15:39:54 UTC+1, Jerry Hill a écrit :
> On Tue, Feb 4, 2014 at 1:51 AM, wrote:
>
> > I got it. If I'm visiting a page like this:
>
> >
>
> > http://docs.python.org/3/tutorial/index.html#the-python-tutorial
>
> >
>
> > 1) To read the page, I'm scrolling down.
>
> > 2)
Thank you very much! :-)
On Monday, February 3, 2014 11:30:00 PM UTC-8, dieter wrote:
> thebiggestbangthe...@gmail.com writes:
>
>
>
> > I am trying to package up a very simple python app. In my setup.py file I
> > have a couple of lines that include the following:
>
> >
>
> > from setuptool
On Tue, Feb 4, 2014 at 1:51 AM, wrote:
> I got it. If I'm visiting a page like this:
>
> http://docs.python.org/3/tutorial/index.html#the-python-tutorial
>
> 1) To read the page, I'm scrolling down.
> 2) When I have finished to read the page, I scroll up
> (or scroll back/up) to the top of the pa
On 2014-02-04 04:07, Thomas wrote:
I've written a script to log data from my Arduino to a csv file. The script
works well enough but it's very, very slow. I'm quite new to Python and I just
wanted to put this out there to see if any Python experts could help optimise
my code. Here it is:
[sn
Hello,
For those of you who are interested by tools like NodeBox or Processing.
you can give a try to RapydScript here :
https://github.com/artyprog/RapydBox
Regards
--
https://mail.python.org/mailman/listinfo/python-list
On Tuesday, February 4, 2014 6:23:19 PM UTC+5:30, Asaf Las wrote:
> On Tuesday, February 4, 2014 2:43:21 PM UTC+2, Ayushi Dalmia wrote:
>
> >
>
> > As I said, I need to merge large files and I cannot afford more I/O
>
> > operations. So in order to minimise the I/O operation I am writing in
>
On Tuesday, February 4, 2014 6:39:00 PM UTC+5:30, Dave Angel wrote:
> Ayushi Dalmia Wrote in message:
>
>
>
> >> getsizeof() gives you the size of the list only; to complete the picture
> >> you
>
> >>
>
> >> have to add the sizes of the lines.
>
> >>
>
> >>
>
> >>
>
> >> However,
Ayushi Dalmia Wrote in message:
>> getsizeof() gives you the size of the list only; to complete the picture you
>>
>> have to add the sizes of the lines.
>>
>>
>>
>> However, why do you want to keep track of the actual memory used by
>>
>> variables in your script? You should instead con
On Tuesday, February 4, 2014 2:43:21 PM UTC+2, Ayushi Dalmia wrote:
>
> As I said, I need to merge large files and I cannot afford more I/O
> operations. So in order to minimise the I/O operation I am writing in
> chunks. Also, I need to use the merged files as indexes later which
> should be l
On Tuesday, February 4, 2014 5:10:25 PM UTC+5:30, Peter Otten wrote:
> Ayushi Dalmia wrote:
>
>
>
> > I have 10 files and I need to merge them (using K way merging). The size
>
> > of each file is around 200 MB. Now suppose I am keeping the merged data in
>
> > a variable named mergedData, I h
On Tuesday, February 4, 2014 2:27:38 AM UTC+5:30, Dave Angel wrote:
> Ayushi Dalmia Wrote in message:
>
> > On Thursday, January 30, 2014 4:20:26 PM UTC+5:30, Ayushi Dalmia wrote:
>
> >> Hello,
>
> >>
>
> >>
>
> >>
>
> >> I need to randomly access a bzip2 or gzip file. How can I set the o
Ayushi Dalmia wrote:
> I have 10 files and I need to merge them (using K way merging). The size
> of each file is around 200 MB. Now suppose I am keeping the merged data in
> a variable named mergedData, I had thought of checking the size of
> mergedData using sys.getsizeof() but it somehow doesn'
Hello,
I have 10 files and I need to merge them (using K way merging). The size of
each file is around 200 MB. Now suppose I am keeping the merged data in a
variable named mergedData, I had thought of checking the size of mergedData
using sys.getsizeof() but it somehow doesn't gives the actual
"GöktuğKayaalp" wrote in message
news:mailman.6377.1391490975.18130.python-l...@python.org...
"BartC" writes:
"Göktuğ Kayaalp" wrote in message
news:mailman.4966.1388953508.18130.python-l...@python.org...
AFAIK, we do not have "postfix conditionals" in Python, i.e. a condition
appended to
On 04Feb2014 00:58, Igor Korot wrote:
> I'm trying to incorporate the path in
> http://sourceforge.net/p/mysql-python/bugs/325/.
> I already modified the source code and now what I need is to produce
> the pyc code.
>
> Running "python --help" I don't see an option to just compile the
> source in
Op maandag 3 februari 2014 20:50:04 UTC+1 schreef Asaf Las:
> On Monday, February 3, 2014 9:37:36 PM UTC+2, Jean Dupont wrote:
> > Op maandag 3 februari 2014 16:34:18 UTC+1 schreef Asaf Las:
> >
> > Of course you don't have to, but I'm curious and learn well by examples
> > :-(
>
> Hi Jean
>
> Do
Op maandag 3 februari 2014 23:19:39 UTC+1 schreef Steven D'Aprano:
> On Mon, 03 Feb 2014 13:36:24 -0800, Jean Dupont wrote:
> > I have a list like this:
> > [1,2,3]
> >
> > The argument of my function should be a repeated version e.g.
> > [1,2,3],[1,2,3],[1,2,3],[1,2,3] (could be a different numbe
Hi, ALL,
I'm trying to incorporate the path in
http://sourceforge.net/p/mysql-python/bugs/325/.
I already modified the source code and now what I need is to produce
the pyc code.
Running "python --help" I don't see an option to just compile the
source into the bytecode.
So how do I produce the co
60 matches
Mail list logo