Title: PyAr - Python Argentina 10th Meeting, Thursday, August 4th
The Argentine Python User Group, PyAr, will have its tenth
meeting this Thursday, August 4th at 7:00pm.
Agenda
--
Despite our agenda tends to be rather open, this time we would
like to cover these topics:
- Discuss
Title: PyAr - Python Argentina 10th Meeting, Thursday, August 4th
The Argentine Python User Group, PyAr, will have its tenth
meeting this Thursday, August 4th at 7:00pm.
Agenda
--
Despite our agenda tends to be rather open, this time we would
like to cover these topics:
- Discuss
Title: PyAr - Python Argentina 9th Meeting, this Thursday
The Argentine Python User Group, PyAr, will have its nineth
meeting this Thursday, May 12nd at 7:00pm.
Agenda
--
Despite our agenda tends to be rather open, this time we would
like to cover these topics:
- See what we'll do
Title: PyMoney
People:
I'm glad to announce the kick-off of PyMoney project: http://sourceforge.net/projects/pymoney
The project goal is to produce a Money module for Python.
If yu want to participate, start reading the pep.txt file, which is the result of two Open Sessions in PyCon2005
Title: PyAr - Python Argentina 8th Meeting, today
The Argentine Python User Group, PyAr, will have its eighth
meeting today at 7:00pm.
Agenda
--
Despite our agenda tends to be rather open, this time we would
like to cover these topics:
- Conclusions of PyAr in PyCon 2005.
- See
Title: PyAr - Python Argentina 8th Meeting, today
The Argentine Python User Group, PyAr, will have its eighth
meeting today at 7:00pm.
Agenda
--
Despite our agenda tends to be rather open, this time we would
like to cover these topics:
- Conclusions of PyAr in PyCon 2005.
- See
Title: ANNOUNCE: SiGeFi v0.3.1
We're proud to announce the 0.3.1 version of SiGeFi, which you can find
at:
http://sourceforge.net/projects/sigefi
What is SiGeFi?
---
SiGeFi is a Financial Management System, with focus in the needs of
the administration of the money in
Title: RE: Why tuple with one item is no tuple
[Gregor Horvath]
#- type(('1'))
#- type 'str'
#-
#- I wonder why ('1') is no tuple
The parentheses don't create the tuple, the comma does:
('1')
'1'
('1',)
('1',)
'1',
('1',)
. Facundo
Bitácora De Vuelo:
Title: RE: Will presentations at PyCon be recorded/streamed?
[Grig Gheorghiu]
#- Is there an official procedure for signing up for presenting a
#- Lightning Talk, except for editing the PyCon05 Wiki page?
Don't know. I just edited it today and a mail was generated automatically to some
Title: RE: running programs from within python
[M.N.A.Smadi]
#- i guess i will answer myself:
#- import os
#- os.system(string)
If you have Py2.4, it's better to use subprocess().
. Facundo
Bitácora De Vuelo: http://www.taniquetil.com.ar/plog
PyAr - Python Argentina:
Title: RE: running programs from within python
[M.N.A.Smadi]
#- am getting an error in the script as follows:
#-
#- NameError: global name 'os' is not defined
What script?
Please paste it here. If it's more than 20 lines, trim it until you find the smaller script that has the error.
Title: RE: Forums based on python
[EMAIL PROTECTED]
#- HI
#- I AM NEW TO PROGRAMING PRESENTLY I AM USING WINDOWS ME AND WHAT I SAW IN PYTHON INTEREST ME ANN AWFUL LOT. I DOWNLOADED VERSION 2.4 AND I #- TRIED TO GET MY PROGRAM HELLO WORLD ETC I SAVED ALL PROGRAMS BUT WHEN I WANT TO RUN IT I
Title: RE: running programs from within python
[James Stroud]
#- import os
He says he did it:
#- M.N.A.Smadi wrote:
#- (and yes i am importing the os module)
But he still didn't paste the code here
. Facundo
Bitácora De Vuelo: http://www.taniquetil.com.ar/plog
PyAr -
Title: RE: Best way to make a list unique?
[Max M]
#- la = [1,2,3,4,3,2,3,4,5]
#- from sets import Set
#- sa = Set(la)
#- for itm in sa:
#- ... print itm
Remember that in Python 2.4 you have ´´set´´ as a built-in data type:
la = [1,2,3,4,3,2,3,4,5]
sa = set(la)
for it in sa:
Title: RE: Sorting dictionary by 'sub' value
[Rory Campbell-Lange]
#- I have a dictionary of images. I wish to sort the dictionary 'v' by a
#- dictionary value using python 2.3. The dictionary value is the date
#- attribute as shown here:
You have to use the DSU algorithm (Decorate, Sort,
Title: RE: Recognizing the Arrival of a New File
[Greg Lindstrom]
#- I am writing an application where I need to recognize when a file
#- arrives in a given directory. Files may arrive at any time
#- during the
#- course of the day. Do I set up a cron job to poll the
#- directory every
Title: PyAr - Python Argentina 7th Meeting, this Thursday
The Argentine Python User Group, PyAr, will have its seventh
meeting this Thursday, January 10th at 7:00pm.
Agenda
--
Despite our agenda tends to be rather open, this time we would
like to cover these topics:
- See how the
Title: PyAr - Python Argentina 7th Meeting, this Thursday
The Argentine Python User Group, PyAr, will have its seventh
meeting this Thursday, January 10th at 7:00pm.
Agenda
--
Despite our agenda tends to be rather open, this time we would
like to cover these topics:
- See how the
Title: RE: shuffle the lines of a large file
[Joerg Schuster]
#- Thanks to all. This thread shows again that Python's best feature is
#- comp.lang.python.
QOTW! QOTW!
. Facundo
Bitácora De Vuelo: http://www.taniquetil.com.ar/plog
PyAr - Python Argentina: http://pyar.decode.com.ar/
Title: RE: Decimal, __radd__, and custom numeric types...
[Nick Coghlan]
#- a) Checking that replacing the relevant raise TypeError
#- calls in
#- Lib/Decimal.py with return NotImplemented gives you friendlier
#- behaviour.
#-
#-
#- It turns out this isn't really practical -
Title: ANNOUNCE: SiGeFi v0.3
We're proud to announce the 0.3 version of SiGeFi, which you can find
at:
http://sourceforge.net/projects/sigefi
What is SiGeFi?
---
SiGeFi is a Financial Management System, with focus in the needs of
the administration of the money in each
Title: ANNOUNCE: SiGeFi v0.3
We're proud to announce the 0.3 version of SiGeFi, which you can find
at:
http://sourceforge.net/projects/sigefi
What is SiGeFi?
---
SiGeFi is a Financial Management System, with focus in the needs of
the administration of the money in each
Title: RE: Getting milliseconds in Python
[mjs7231]
#- I am trying to record how long an operation takes, but can't seem to
#- find a function that will allow me to record the timestamp in
#- milliseconds, maybe I am looking in the wrong place?
Use time.time().
import time
def f():
t
Title: RE: Getting milliseconds in Python
[Brian Beck]
#- seconds * 100 = milliseconds
Wht?
It really is
seconds = 1000 * milliseconds
. Facundo
Bitácora De Vuelo: http://www.taniquetil.com.ar/plog
PyAr - Python Argentina: http://pyar.decode.com.ar/
. . . . . . . . . .
Title: RE: renaming 'references' to functions can give recursive problems
[Fredrik Lundh]
#- you're confused. resetting your brain and reading the documentation
#- again might help:
#-
#- http://docs.python.org/ref/objects.html
#- http://docs.python.org/ref/naming.html
This article will
Title: RE: os.walk() usage
[rbt]
#- The problem I'm encountering is passing the list to other functions.
#- It's almost as if each function needs to build the list
#- itself (walk the
#- filesystem)... which gets in the way of what I was asked to
#- do (break
#- this thing up into
Title: RE: two questions - no common theme
[EMAIL PROTECTED]
#- Any help will be greatly appreciated.
It's always better to address two different questions in two different mails, with appropiate subjects.
. Facundo
Bitácora De Vuelo: http://www.taniquetil.com.ar/plog
PyAr - Python
Title: RE: Big development in the GUI realm
[Carlos Ribeiro]
#- 'onegui' to rule them all...
I would really love to use a GUI made by elves...
. Facundo
Bitácora De Vuelo: http://www.taniquetil.com.ar/plog
PyAr - Python Argentina: http://pyar.decode.com.ar/
. . . . . . . . . . .
Title: Py2.4 .exe installer
I'm trying to get everybody at the office to become a Python programmer.
The bigger problem I'm facing is that the official operating system installed in the PCs is Win NT 4.0, tweaked and restricted, and it's impossible to install the Microsoft package that
Title: RE: Help on project, anyone?
[Georg Brandl]
#- Does anyone run, or participate in, a project looking for fellow
#- programmers? I don't have a special area of interest, well,
#- perhaps web
#- programming...
You can join us in SiGeFi: http://sf.net/projects/sigefi
---
Title: RE: Tuple slices
[George Sakkis]
#- Why does slicing a tuple returns a new tuple instead of a
#- view of the existing one, given that
#- tuples are immutable ? I ended up writing a custom
#- ImmutableSequence class that does this, but I
#- wonder why it is not implemented for
Title: RE: RuntimeError: dictionary changed size during iteration
[Robert Brewer]
#- [e for e in vars()]
#- Traceback (most recent call last):
#- File stdin, line 1, in ?
#- RuntimeError: dictionary changed size during iteration
#- e = None
#- [e for e in vars()]
#- ['e',
Title: RE: RuntimeError: dictionary changed size during iteration
[Terry Reedy]
#- You must be having a bad day ;-). From Lib Ref 2.1 Built-in
Well, that's actually true, :(
#- corresponding to the object's symbol table. The returned
#- dictionary should
#- not be modified: the
Title: RE: bind error!
[Perrin Aybara]
#- my code was working pretty well until yesterday.suddenly it started
#- giving me bind error: address already in use.
#- but i have logged out and again logged in, but still the
#- problem is not solved
#- can somebody give me solution for this
Title: RE: How to prevent the script from stopping before it should
[EMAIL PROTECTED]
#- I have a script that downloads some webpages.The problem is that,
#- sometimes, after I download few pages the script hangs( stops).
What do you mean with hangs?
It raises an error and quit? It
Title: PyAr - Python Argentina 5th Meeting, tomorrow Thursday, Decimal talk included
The Argentinian Python User Group, PyAr, will have its fifth
meeting this Thursday, January 13th at 7:00pm. Please see
http://pyar.decode.com.ar/Wiki/ProximaReunion for details (in
Spanish.)
Agenda
--
Title: PyAr - Python Argentina 5th Meeting, tomorrow Thursday, Decimal talk included
The Argentinian Python User Group, PyAr, will have its fifth
meeting this Thursday, January 13th at 7:00pm. Please see
http://pyar.decode.com.ar/Wiki/ProximaReunion for details (in
Spanish.)
Agenda
--
Title: RE: What strategy for random accession of records in massive FASTA file?
[Chris Lasher]
#- I have a rather large (100+ MB) FASTA file from which I need to
#- access records in a random order. The FASTA format is a
#- standard format
#- for storing molecular biological sequences.
Title: RE: Writing huve ge Sets() to disk
[Martin MOKREJ]
#- When importing data from a flatfile into mysql table, there's an
#- option to delay indexing to the very last moment, when all keys are
#- loaded (it doesn't make sense to re-create index after each new
#- row into table is
Title: RE: Game programming in Python
[Baza]
#- I'm looking for any books or on-line resources on game
#- programming using
#- Python. Does anyone have any advice?
Check PyGame: http://www.pygame.org/
. Facundo
Bitácora De Vuelo: http://www.taniquetil.com.ar/plog
PyAr - Python
Title: RE: Writing huge Sets() to disk
[Martin MOKREJ]
#- At least you'll need a disk of 34694 EXABYTES!!!
#-
#- Hmm, you are right. So 20E15 then? I definitely need to be
Right. Now you only need 355 PETABytes. Nowadays disk is cheap, but...
#- in range 1-14. ;-)
Why?
. Facundo
Title: RE: Writing huge Sets() to disk
[Martin MOKREJ?]
#- I have sets.Set() objects having up to 20E20 items,
#- each is composed of up to 20 characters. Keeping
Are you really sure??
#- How can I write them efficiently to disk? To be more exact,
I think that there's some mistake
Title: RE: Writing huge Sets() to disk
[Istvan Albert]
#- I think that you need to first understand how dictionaries work.
#- The time needed to insert a key is independent of
#- the number of values in the dictionary.
Are you sure?
I think that is true while the hashes don't collide.
Title: RE: File Handling Problems Python I/O
[Josh]
#- able to do so without a problem, but here's the catch: The open
#- statement is only working on certain files. I open a simple text file
#- say file1.txt without any issues, but I change the open statement to
#- another text file and it
Title: PyAr - Python Argentina 5th Meeting, Thursday, January 13th
The Argentinian Python User Group, PyAr, will have its fifth
meeting this Thursday, January 13th at 7:00pm. Please see
http://pyar.decode.com.ar/Wiki/ProximaReunion for details (in
Spanish.)
Agenda
--
Despite our
Title: RE: Python 2.4 on Windows XP
[DavidHolt]
#- I have a problem that I see on two different machines, one running XP
#- SP1 and one XP SP 2.
#-
#- On both I installed Python 2.4.
#-
#- I can't seem to start IDLE. When I try to start it, I get an
IDLE uses sockets to communicate its
Title: RE: Python evolution: Unease
[John Roth]
#- I would like to contribute some documentation to Python.
#- I've got the time, I write quite a bit, etc. I've got fairly
#- strong opinions about some things that need to be documented,
#- (such as all the new style class descriptor stuff
Title: RE: Python evolution: Unease
[Daniel Bowett]
#- Contribute to where on Sourceforge??? Which domentation are
#- we talking
#- about in general?
Suppose you're reading Python documentation. Don't know, for example, os.remove(). There you find that a particular parragraph is
Title: RE: Python evolution: Unease
[Daniel Bowett]
#- Thanks, typically how long does it take for any documentation to be
#- considered and implemented?
That depends. If you know that some module is supported by someone in particular, you can asign the bug to him, so it should be
Title: RE: Python evolution: Unease
[Iwan van der Kleyn]
#- need: a better standard ide, an integrated db interface with
#- a proper
#- set of db drivers (!!), a better debugger, a standard widget/windows
#- toolkit, something akin to a standard for web programming, better
#-
Title: RE: Python evolution: Unease
[Skip Montanaro]
#- This being the Internet and all, it's not clear that
#- referencing external
#- documentation is somehow worse than incorporating it
#- directly into the
#- distribution.
The problem is Internet access.
For example, once I put
Title: RE: removing comments form a file
[Noud Aldenhoven]
#- Hello everyone,
#-
#- I was wondering how to remove comments away form a file.
I remade it:
#!/usr/bin/env python
import sys
import time
helptext = usage: python rmcomment oldfile newfile
Title: RE: Compiler benefits (was: The Industry choice)
[EMAIL PROTECTED]
#- I think your point was that the checking present in modern Fortran
#- compilers, or PyCheckers, but absent from core Python, is a net
#- benefit. That I grant. I'm reluctant to argue for a change in
#- Python. I
Title: RE: Securing a future for anonymous functions in Python
[Nick Coghlan]
#- I just don't understand why people complain so much about
#- the restriction to a
#- single _expression_ in lambdas, yet there is nary a peep about
#- the same
#- restriction for generator expressions and
Title: RE: A Revised Rational Proposal
[Mike Meyer]
#- When combined with a floating type - either complex or float - or a
#- decimal type, the result will be a TypeError. The reason for this is
#- that floating point numbers - including complex - and decimals are
#- already imprecise. To
Title: RE: A Revised Rational Proposal
[Dan Bishop]
#- I disagree with raising a TypeError here. If, in mixed-type
#- expressions, we treat ints as a special case of rationals, it's
#- inconsistent for rationals to raise TypeErrors in situations
#- where int
#- doesn't.
I think it never
Title: RE: A Revised Rational Proposal
[Dan Bishop]
#- * Binary operators with one Rational operand and one float or Decimal
#- operand will not raise a TypeError, but return a float or Decimal.
I think this is a mistake. Rational should never interact with float.
#- * Expressions of
Title: RE: A Revised Rational Proposal
[Mike Meyer]
#- I don't think so, as I don't see it coming up often enough to warrant
#- implementing. However, Rational(x / y) will be an acceptable
#- string format as fallout from accepting floating point string
#- representations.
Remember that
Title: RE: Tutorial problem
[Rÿe9veillÿe9]
#- The problem is that it doesnt print the
#-
#- [ choice = input ('Pick a number:') ]
#-
#- command. It just runs thru the whole thing without
#- allowing the user a selection.
Are you sure? It should raise a NameErrorin the while,
Title: RE: feature suggestion
[flexibal]
#- we do make
#- typos... and it's very disturbing to find your program crashing after
#- two weeks of operation, over a NameError... because a
#- certain branch in
#- your code, that was previously never taken, had finally been taken.
#-
#- i've
Title: RE: FutureWarning
[Egor Bolonev]
#- =
#- C:\Documents and Settings\+\My
#- Documents\Scripts\octopus_eye\1\oct_eye_db.py:
#- 213: FutureWarning: hex()/oct() of negative int will return
#- a signed
#- string in P
#- ython 2.4 and up
#- if hex(binascii.crc32(data))[0]
Title: RE: list Integer indexing dies??
[Ishwor]
#- 'invalid'[0]
#- 'i'
#- 123232[-1]
#- # Python should automagically infer here that user
#- # means indexing and *not* the number per se.
#- # (i mean list in context of the line :-) )
Python never should automagically infer nothing!
Title: RE: list Integer indexing dies??
[Ishwor]
#- What should 035[0] cough up? Be carefull it should
#-
#- 035[0]
#- 3 # my own opinion.
#-
#- cough up the same as 29[0].
#-
#- 29[0]
#- 2 #again my own opinion
Be aware that:
035 == 29
True
. Facundo
. . . . . . . . . .
Title: RE: A rational proposal
[Mike Meyer]
#- Good point. Currently, objects now how to convert themselves to int,
#- float and complex. Should Rational now how to convert itself to
#- Decimal (and conversely, decimal now how to convert itself to
#- Rational)?
To convert a Decimal to
Title: RE: A completely silly question
[Amir Dekel]
#- What about user input in Python? (like stdin)
#- Where can I find it? I can't find any references to it in
#- the documentation.
sys.stdin
http://docs.python.org/lib/module-sys.html
. Facundo
. . . . . . . . . . . . . . . . .
Title: RE: Python IDE
[Chris]
#- -chuckle- Hopefully I don't start off a full fledged war.-grin-
Too late, :p
#- Why didn't you like Eclipse? Was it that the Python modules
#- were bad,
#- or just Eclipse in general? I use it for my Java developement and
#- haven't had any problems
Title: RE: A problem with list
[EMAIL PROTECTED]
#- where my MyFile.txt looks like this:
#- ['abc','def']
The issue is that in the file you don't have a list, you have text, and there is the difference in the behaviour.
l = ['abc','def']
for x in l:
print x
abc
def
s =
Title: RE: [Newby] question about modules
[Jon]
#- gives me the following error: NameError: name 'capwords' is
#- not defined
#-
#- As far as I can tell from the online docs, capwords should
#- be defined in
#- the built-in regex module. Why is it telling me that
#- capwords is not
#-
Title: RE: How did you learn Python?
[Shawn Milo]
#- I was just wondering what the best books were for learning Python.
#-
#- Which books are good for getting started, and which should
#- be saved for
#- later, or or not useful except as a reference for the learned?
My particular
Title: RE: Need help on program!!!
[Darth Haggis]
#- I need help writing a program
#-
#- You are to write a python program to accomplish the following:
Actually, your homework is *your* homework.
Regards,
. Facundo
--
http://mail.python.org/mailman/listinfo/python-list
Title: RE: 2.4 or 2.3.4 for 2.3 software?
[Jens Bloch Helmers]
#- Can we expect the current release of 2.4 to be just as reliable as
#- 2.3.4 for 2.3 compliant software?
Actually, you can expect to be more reliable, a lot of bugs were fixed.
. Facundo
--
71 matches
Mail list logo