You could do what mathematicians do when they deal with alternating
signs: they raise -1 to the power of the index to get an appropriate
multiplier.
[ n * (-1) ** n for n in range(10) ]
[0, -1, 2, -3, 4, -5, 6, -7, 8, -9]
Or you could do here what you attempt to do with map
In py2, map produces a list already. In any case, above is syntax error
without else clause.
map(lambda x: x * -1 if x%2 else x, series)
If you do not have a function already, a list comp is better.
[(-1*k if k%2 else k) for k in range(2, N)]
Change [] to () and you have a
Hi
I need some advice on managing data in the form of xml. I will have to
repeatedly import a small xml file but with many complex attributes.
If I want to retain data integrity and keep the import process simple and
querying from the stored source simple what are my best options?
There are
If you were starting a project, it relied on XML as its datasource what
would you use and why? And have you used it or just speculating?
If I were starting a project, I'd argue furiously that XML is NOT
something that should be used for dynamic data storage (the original GRAMPS
not
In repsonse to this question: Write a program that prints the first 100 members
of the sequence 2, -3, 4, -5, 6, -7, 8.
This is my solution it works but ugly.
series = range(2,100)
# answer = [(x,(y* -1)) for x, y in series[::2]]
# print(answer)
answer = []
for item in series:
if item % 2
Not fans of videos hey(well python videos anyway) bugger.
Sayth.
--
https://mail.python.org/mailman/listinfo/python-list
Morning
Have you seen any python videos that were part of a series or that were from a
conference that you found engaging and made a point click or solidify a concept
or drive you to action to create something you wanted. That took an advanced
topic or concept and made it clear as day to you.
On Saturday, 8 November 2014 23:26:20 UTC+11, edre...@gmail.com wrote:
Leo 5.0a2 is now available at:
http://sourceforge.net/projects/leo/files/Leo/
Leo is a PIM, an IDE and an outliner.
Video tutorials: http://leoeditor.com/screencasts.html
Text tutorials:
On Windows my advice would be to use the anaconda installer. Linux pip will
work flawlessly.
If you install anaconda full then you will have pandas as well as an ipython
launcher installed.
Sayth
--
https://mail.python.org/mailman/listinfo/python-list
The end result of a confusing sentence with no
context is that I have no idea what you are trying to say. Could you try
explaining again please?
Steven
No problem my reply from phone at work a little confusing.
So trying to determine what this does.
def ins_var
@ins_var ||= nil
On Monday, 6 October 2014 21:07:24 UTC+11, roro codeath wrote:
in ruby:
module M
def ins_var
@ins_var ||= nil
end
def m
@ins_var = 'val'
end
def m2
m
ins_var # = 'val'
end
end
in py:
# m.py
# how to def ins_var
def m:
# how to set ins_var
def
I thought that it was a shortcut in ruby to negate the other option of
providing another default .
I don't greatly know ruby but took a guess after reading examples here
https://blog.neowork.com/ruby-shortcuts
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, 4 July 2014 14:12:15 UTC+10, flebber wrote:
I have taken the code and gone a little further, but I need to be able to
protect myself against commas and single quotes in names.
How is it the best to do this?
so in my file I had on line 44 this trainer name
On Friday, 4 July 2014 16:19:09 UTC+10, Gregory Ewing wrote:
flebber wrote:
so in my file I had on line 44 this trainer name.
Michael, Wayne John Hawkes
and in line 95 this horse name. Inz'n'out
this throws of my capturing correct item 9. How do I protect against
I have taken the code and gone a little further, but I need to be able to
protect myself against commas and single quotes in names.
How is it the best to do this?
so in my file I had on line 44 this trainer name.
Michael, Wayne John Hawkes
and in line 95 this horse name.
Inz'n'out
this
TM = TX.Table_Maker (headings =
('Meeting','Date','Race','Number','Name','Trainer','Location'))
TM (race_table (your_csv_text)).write ()
Where do I find TX? Found this mention in the list, was it available in pip by
any name?
What I am trying to do is to reformat a csv file into something more usable.
currently the file has no headers, multiple lines with varying columns that are
not related.
This is a sample
Meeting,05/07/14,RHIL,Rosehill Gardens,Weights,TAB,+3m Entire Circuit,
,
Race,1,CIVIC
That's a really cool solution.
I understand why providing full solutions is frowned upon, because it doesn't
assist in learning. Which is true, it's incredibly helpful in this case.
The python cookbook is really good and what I was using as a start for dealing
with csv. But it doesn't even go
One of the main parts that is tripping myself up is that I need to consistently
import xml files into my database.
Looking to find the best support and methodologies to do this, that is one of
the reasons I am looking at SqlAlchemy.
Sayth
--
If I want to use SQLAlchemy as my ORM what would be the best option for a web
framework?
It appears the general advice regarding Django is to do it the Django way and
use the django ORM and change it out for SQLAlchemy.
That to me limited knowledge leaves flask, pyramid and turbogears 2. So if
Roy.that is interesting that you can use mongoengine.
Recent google results such as seem to assert there are a lot of inherent risk
in swapping out components, though I may be misinterpreting it.
http://www.slideshare.net/daikeren/tradeoffs-of-replacing-core-components
Sayth
--
I am using xmltodict.
This is how I have accessed and loaded my file.
import xmltodict
document = open(/home/sayth/Scripts/va_benefits/20140508GOSF0.xml, r)
read_doc = document.read()
xml_doc = xmltodict.parse(read_doc)
The start of the file I am trying to get data out of is.
meeting id=35483
On Saturday, 10 May 2014 22:10:14 UTC+10, Peter Otten wrote:
flebber wrote:
I am using xmltodict.
This is how I have accessed and loaded my file.
import xmltodict
document = open(/home/sayth/Scripts/va_benefits/20140508GOSF0.xml, r)
read_doc = document.read
Also, is there anything seriously lacking in Python, Java and C?
Marko
From their FAQ:
Go was born out of frustration with existing languages and environments for
systems programming. Programming had become too difficult and the choice of
languages was partly to blame. One had to choose
I was wondering if a better programmer than I could explain if the removal of
OO features in golang really does offer an great benefit over python.
An article I was reading ran through a brief overview of golang in respect of
OO features
Well firstly being windows I assume that you did a restart after install.
Python.org python doesn't come with the windows extensions which can be
installed separately.
On windows I use winpython is totally portable and can be installed as system
version includes all extensions as well as
Here's a great resource
http://www.anrdoezrs.net/click-7079286-11260198?url=http%3A%2F%2Fshop.oreilly.com%2Fproduct%2F0636920029533.do%3Fcmp%3Daf-code-book-product_cj_9781449367794_%7BPID%7Dcjsku=0636920029533
Sayth
--
https://mail.python.org/mailman/listinfo/python-list
If
c = map(sum, zip([1, 2, 3], [4, 5, 6]))
c
Out[7]: [5, 7, 9]
why then can't I do this?
a = ([1, 2], [3, 4])
b = ([5, 6], [7, 8])
c = map(sum, zip(a, b))
---
TypeError Traceback (most
Thank you for the replies.
Looking at the replies I am wondering which solution is more scalable. At the
moment it is only 2 nested lists but what about 5, 10, 20 or more?
Should I start looking into numpy to handle this or will list comprehension
[ [ x + y for x, y in zip(x,y) ] for x, y in
I see the main difference between Liclipes and Eclipse+Pydev being lightweight
and Loclipse preconfigured to a degree.
Moving forward what advantages would I get by buying Liclipes over Eclipse?
Sayh
--
https://mail.python.org/mailman/listinfo/python-list
Can anyone help me overcome a terminology and jargon barrier I am having in
fully defining what tools to use to fulfil a process.
I want to create a database 6 Related tables. Update information 1 or twice a
week with data from an XML file that I will download, this data would update
rows in 5
Yes I have done the lxml search and learnt how to open view and query the file.
But what is the next step in the process? To get it so that I can reliably push
XML files to my database repeatedly.
Looking for a basic structure or example to use to guide me for first time.
Sayth
--
On Aug 27, 6:34 pm, UncleLaz andrei.lis...@gmail.com wrote:
On Aug 26, 5:18 pm, Dave Boland dbola...@fastmail.fm wrote:
I'm looking for a good IDE -- easy to setup, easy to use -- for Python.
Any suggestions?
I use Eclipse for other projects and have no problem with using it for
On Apr 23, 4:28 pm, Dennis Lee Bieber wlfr...@ix.netcom.com wrote:
On Fri, 22 Apr 2011 17:08:53 +1000, Chris Angelico ros...@gmail.com
declaimed the following in gmane.comp.python.general:
I'm not so sure that all strings should autopromote to integer (or
numeric generally). However, adding
On Apr 18, 6:33 pm, Chris Angelico ros...@gmail.com wrote:
On Mon, Apr 18, 2011 at 6:15 PM, Wolfgang Keller felip...@gmx.net wrote:
Which part of the word installed don't you understand while actually
using it? ;-
I have various programs which I distribute in zip/tgz format, and also
as a
On Apr 16, 3:43 pm, Alec Taylor alec.tayl...@gmail.com wrote:
Thanks, but non of the IDEs so far suggested have an embedded python
interpreter AND tabs... a few of the editors (such as Editra) have
really nice interfaces, however are missing the embedded
interpreter... emacs having the
On Apr 16, 11:07 pm, John Bokma j...@castleamber.com wrote:
Jorgen Grahn grahn+n...@snipabacken.se writes:
If you cannot stand non-tabbed interfaces, you probably can't stand
other non-Windows-like features of these two, like their menu systems.
Emacs just has a menu system. Although I
On Apr 7, 7:17 pm, Chris Angelico ros...@gmail.com wrote:
On Thu, Apr 7, 2011 at 5:39 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Do you want to know who scares me? Google and Apple. Google, because
they're turning software from something you run on your own computer to
On Feb 17, 11:43 am, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
On Thu, 17 Feb 2011 10:12:52 +1100, Ben Finney wrote:
Terry Reedy tjre...@udel.edu writes:
The most import thing is automated tests.
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
The most
On Feb 14, 11:35 am, Cameron Simpson c...@zip.com.au wrote:
On 13Feb2011 14:47, rantingrick rantingr...@gmail.com wrote:
| On Feb 13, 4:30 pm, Steven D'Aprano steve|
+comp.lang.pyt...@pearwood.info wrote:
| The official stance of the Python development team is that 2.7 and 3.x
| will
On Feb 5, 10:24 am, Stephen Hansen me+list/pyt...@ixokai.io wrote:
On 2/4/11 3:01 PM, rantingrick wrote:
Put your money where your mouth is.
ditto!
I thought as much.
My money is where my mouth is: but that is not IDLE, as I have no use
for it and no interest in it at all. The status
On Feb 3, 7:41 am, Corey Richardson kb1...@aim.com wrote:
On 2/2/2011 2:44 PM, rantingrick wrote:
Will you be forking IDLE and setting up some sort of tracker for
improvements?
+1 for this.
Enough talk ratingrick where is your feature and request tracker for
your idle fork? How can people
On Feb 1, 11:38 pm, rantingrick rantingr...@gmail.com wrote:
On Feb 1, 4:20 am, flebber flebber.c...@gmail.com wrote:
Sorry Rick too boringtrying to get bored people to bite at your
ultra lame post yawn...
Well reality and truth both has a tendency to be boring. Why? Well
On Feb 1, 4:39 am, rantingrick rantingr...@gmail.com wrote:
IDLE: A cornicopia of mediocrity and obfuscation.
-- by Rick Johnson
IDLE --which is the Python Integrated Development and Learning
Environment-- was once the apple of Guido's eye but has since
degenerated into madness many years
On Jan 5, 6:48 pm, Octavian Rasnita orasn...@gmail.com wrote:
From: Tomasz Rola rto...@ceti.com.pl
On Tue, 4 Jan 2011, Dan M wrote:
As to choice between Python and PHP, I would say learn anything but PHP.
Even Perl has fewer tentacles than PHP.
However, the quality of code depends
On Jan 1, 11:13 am, Tim Harig user...@ilthio.net wrote:
On 2010-12-31, flebber flebber.c...@gmail.com wrote:
On Dec 28 2010, 12:21 am, Adam Tauno Williams awill...@whitemice.org
wrote:
On Sun, 2010-12-26 at 20:37 -0800, flebber wrote:
Is there anyay to use input masks in python? Similar
On Dec 31, 3:04 pm, Robert sigz...@gmail.com wrote:
On 2010-12-30 22:28:39 -0500, rantingrick said:
On Dec 30, 8:41�pm, Robert sigz...@gmail.com wrote:
On 2010-12-30 19:46:24 -0500, rantingrick said:
Just to clarify...I like Python. I am learning it at the moment.
Glad to have you
On Dec 28 2010, 12:21 am, Adam Tauno Williams awill...@whitemice.org
wrote:
On Sun, 2010-12-26 at 20:37 -0800, flebber wrote:
Is there anyay to use input masks in python? Similar to the function
found in access where a users input is limited to a type, length and
format.
http
On Dec 28 2010, 12:21 am, Adam Tauno Williams awill...@whitemice.org
wrote:
On Sun, 2010-12-26 at 20:37 -0800, flebber wrote:
Is there anyay to use input masks in python? Similar to the function
found in access where a users input is limited to a type, length and
format.
http
On Jan 1, 9:03 am, Fabio Zadrozny fabi...@gmail.com wrote:
My question relates to community contribution. My concern arose when
recently installing the pydev.org extensions in Eclipse. Now as far as
my understanding goes the licensing on both is open source GPL.
However Pydev became open
On Dec 26 2010, 8:41 pm, Hans-Peter Jansen h...@urpla.net wrote:
On Friday 24 December 2010, 03:58:15 Randy Given wrote:
Lots of stuff for 2.6 and 2.7 -- what GUI tools are there for 3.1?
PyQt4 of course.
http://www.riverbankcomputing.com
Pete
Pyside, Nokia have split with riverbank
I just wanted to put out a question about IDE's but this is NAWIT -
not another which ide thread.
My question relates to community contribution. My concern arose when
recently installing the pydev.org extensions in Eclipse. Now as far as
my understanding goes the licensing on both is open source
On Dec 28, 10:16 pm, Adam Tauno Williams awill...@whitemice.org
wrote:
On Tue, 2010-12-28 at 02:26 -0800, flebber wrote:
Can't help thinking they open sourced Pydev so they could bench it.
So? That isn't uncommon at all; to Open Source when you've moved on.
I started thinking
On Dec 28, 10:24 pm, flebber flebber.c...@gmail.com wrote:
On Dec 28, 10:16 pm, Adam Tauno Williams awill...@whitemice.org
wrote:
On Tue, 2010-12-28 at 02:26 -0800, flebber wrote:
Can't help thinking they open sourced Pydev so they could bench it.
So? That isn't uncommon at all
On Dec 28, 10:37 pm, Adam Tauno Williams awill...@whitemice.org
wrote:
On Tue, 2010-12-28 at 03:24 -0800, flebber wrote:
On Dec 28, 10:16 pm, Adam Tauno Williams awill...@whitemice.org
wrote:
On Tue, 2010-12-28 at 02:26 -0800, flebber wrote:
Is pydev actively being developed
On Dec 28, 11:10 pm, flebber flebber.c...@gmail.com wrote:
On Dec 28, 10:37 pm, Adam Tauno Williams awill...@whitemice.org
wrote:
On Tue, 2010-12-28 at 03:24 -0800, flebber wrote:
On Dec 28, 10:16 pm, Adam Tauno Williams awill...@whitemice.org
wrote:
On Tue, 2010-12-28 at 02:26
On Dec 27, 7:57 pm, linmq li...@neusoft.com wrote:
On 2010-12-27, flebber flebber.c...@gmail.com wrote:
Is there anyay to use input masks in python? Similar to the function
found in access where a users input is limited to a type, length and
format.
So in my case I want
Is there anyay to use input masks in python? Similar to the function
found in access where a users input is limited to a type, length and
format.
So in my case I want to ensure that numbers are saved in a basic
format.
1) Currency so input limited to 000.00 eg 1.00, 2.50, 13.80 etc
For sports
On Dec 27, 6:01 pm, Tim Harig user...@ilthio.net wrote:
On 2010-12-27, flebber flebber.c...@gmail.com wrote:
Is there anyay to use input masks in python? Similar to the function
found in access where a users input is limited to a type, length and
format.
So in my case I want to ensure
Hi
I was hoping someone could shed some (articles, links) in regards
python 3 design ideals. I was searching guido's blog which has his
overarching view of Python from an early development perspective
http://python-history.blogspot.com/2009/01/pythons-design-philosophy.html
.
I was interested in
On Dec 26, 4:56 pm, Alice Bevan–McGregor al...@gothcandy.com wrote:
I was interested in what the design goals/philosphy was of Python 3
from a birds eye view, forest for the trees approach.
I think I can safely point to the Zen of Python[1] as many of the
points therein directly apply to
On Oct 9, 3:54 pm, flebber flebber.c...@gmail.com wrote:
I was hoping someone knew how to setup pyscripter or Spe ide's with
light on dark windows. I start to have trouble reading the nomal dark
on light screens after any lengthy period.
I have seen several screenshot showing emacs
On Oct 2, 4:24 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Fri, 01 Oct 2010 21:05:09 -0700, flebber wrote:
On Oct 2, 9:27 am, MRAB pyt...@mrabarnett.plus.com wrote:
On 01/10/2010 23:29, Burton Samograd wrote:
flebberflebber.c...@gmail.com writes:
But where
On Oct 3, 9:58 am, John Bokma j...@castleamber.com wrote:
flebber flebber.c...@gmail.com writes:
On Oct 2, 4:24 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Fri, 01 Oct 2010 21:05:09 -0700, flebber wrote:
On Oct 2, 9:27 am, MRAB pyt...@mrabarnett.plus.com wrote
On Oct 3, 4:15 pm, flebber flebber.c...@gmail.com wrote:
On Oct 3, 9:58 am, John Bokma j...@castleamber.com wrote:
flebber flebber.c...@gmail.com writes:
On Oct 2, 4:24 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Fri, 01 Oct 2010 21:05:09 -0700, flebber wrote
I have a simple question regarding the Beuatiful soup crummy script.
The last line is f.write('%s, %s, %s, %s, %s \n' % (i, t[0], t[1],
t[2], t[3])), But where is this saving the imported file and under
what name?
#!/usr/bin/env python
# ogm-sampples.py
# Author: Matt Mayes
# March 11, 2008
--
On Oct 2, 9:27 am, MRAB pyt...@mrabarnett.plus.com wrote:
On 01/10/2010 23:29, Burton Samograd wrote: flebberflebber.c...@gmail.com
writes:
But where is this saving the imported file and under what name?
Looks like samples.csv:
f = open('samples.csv', 'w')
It'll be in the current
On Sep 27, 2:46 pm, Dave Angel da...@ieee.org wrote:
On 2:59 PM, flebber wrote:
snip
Traceback (most recent call last):
File C:/Python26/Pdfread, line 16, inmodule
open('x.txt', 'w').write(content)
NameError: name 'content' is not defined
When i use.
import pyPdf
def
I was trying to use Pypdf following a recipe from the Activestate
cookbooks. However I cannot get it too work. Unsure if it is me or it
is beacuse sets are deprecated.
I have placed a pdf in my C:\ drive. it is called Components-of-Dot-
NET.pdf You could use anything I was just testing with it.
On Sep 27, 9:38 am, w.g.sned...@gmail.com w.g.sned...@gmail.com
wrote:
On Sep 26, 7:10 pm, flebber flebber.c...@gmail.com wrote:
I was trying to use Pypdf following a recipe from the Activestate
cookbooks. However I cannot get it too work. Unsure if it is me or it
is beacuse sets
On Sep 27, 10:39 am, flebber flebber.c...@gmail.com wrote:
On Sep 27, 9:38 am, w.g.sned...@gmail.com w.g.sned...@gmail.com
wrote:
On Sep 26, 7:10 pm, flebber flebber.c...@gmail.com wrote:
I was trying to use Pypdf following a recipe from the Activestate
cookbooks. However I cannot
On Sep 27, 12:08 pm, flebber flebber.c...@gmail.com wrote:
On Sep 27, 10:39 am, flebber flebber.c...@gmail.com wrote:
On Sep 27, 9:38 am, w.g.sned...@gmail.com w.g.sned...@gmail.com
wrote:
On Sep 26, 7:10 pm, flebber flebber.c...@gmail.com wrote:
I was trying to use Pypdf
On Sep 27, 12:49 pm, MRAB pyt...@mrabarnett.plus.com wrote:
On 27/09/2010 01:39, flebber wrote:
On Sep 27, 9:38 am, w.g.sned...@gmail.comw.g.sned...@gmail.com
wrote:
On Sep 26, 7:10 pm, flebberflebber.c...@gmail.com wrote:
I was trying to use Pypdf following a recipe from
I have recently been looking at openoffice because I saw it had
support to use python Macro's. I thought this would provide OOo with a
great advantage a fully powerful high level language as compared to
VBA in Excel.
I have found few docs on the subject.
On Sep 23, 10:41 am, flebber flebber.c...@gmail.com wrote:
I have recently been looking at openoffice because I saw it had
support to use python Macro's. I thought this would provide OOo with a
great advantage a fully powerful high level language as compared to
VBA in Excel.
I have found few
On Aug 16, 4:00 pm, Stefan Behnel stefan...@behnel.de wrote:
flebber, 16.08.2010 05:30:
I am looking at a project that will import and modify an XML file and
then export it to a table. Currently a flat file table system should
be fine.
I want to export the modified data to the table
I am looking at a project that will import and modify an XML file and
then export it to a table. Currently a flat file table system should
be fine.
I want to export the modified data to the table and then perform a
handful of maths(largely simple statistical functions) to the data and
then print
On Jul 10, 8:49 pm, Dani Valverde dani.valve...@gmail.com wrote:
geremy condra wrote:
On Fri, Jul 9, 2010 at 1:08 PM, Dani Valverde dani.valve...@gmail.com
wrote:
Sorry, I forgot to mention that I am using Linux. In fact, my first test
have been with gedit. Is there any way to directly
wrote:
flebber a écrit :
Hi
I have been searching through the vast array of python frameworks
http://wiki.python.org/moin/WebFrameworksand its quite astounding the
choice available.
I am looking at using a web framework for my personal project which
isn't actually aimed at developing
On Oct 19, 10:51 pm, flebber flebber.c...@gmail.com wrote:
On Oct 19, 7:40 pm, Javier Santana qualo...@gmail.com wrote:
junohttp://github.com/breily/juno
it's very easy, uses sqlalchemy as ORM and jinja2 (others can be used
if you want) for templates.
On Mon, Oct 19, 2009 at 10:24 AM
On Oct 20, 12:32 am, Diez B. Roggisch de...@nospam.web.de wrote:
web2py is interesting the author appears to be implying(I could be
misunderstanding this) that the web2py db ORM is equal to if not
superior to SQLAlchemy - From
http://www.web2py.com/AlterEgo/default/show/150
I don't read
On Oct 20, 3:31 am, Massimo Di Pierro mdipie...@cs.depaul.edu wrote:
Hello,
Just to clarify. I did not make any statement about web2py is
superior to SQLAlchemy since that is somewhat subjective.
SQLALchemy for example does a much better job at accessing legacy
databases. web2py is more
On Oct 19, 10:01 am, flebber flebber.c...@gmail.com wrote:
Hi
I have been searching through the vast array of python
frameworkshttp://wiki.python.org/moin/WebFrameworksand its quite astounding
the
choice available.
I am looking at using a web framework for my personal project which
On Oct 5, 3:05 pm, Mark Tolonen metolone+gm...@gmail.com wrote:
Chris Rebert c...@rebertia.com wrote in message
news:50697b2c0910042047i1cf2c1a3mc388bc74bab95...@mail.gmail.com...
Tuples are immutable (i.e. they cannot be modified after creation) and
are created using parentheses.
Slight
Hi
Can someone clear up how I can remove all entries of a list when I am
unsure how many entries there will be. I have been using sandbox to
play essentially I am creating two lists a and b I then want to add a
to b and remove all b entries. This will loop and b will receive new
entries add it to
On Oct 1, 11:28 am, srid sridhar.ra...@gmail.com wrote:
On Sep 30, 4:51 pm, Robert Hicks sigz...@gmail.com wrote:
I am just curious which I should use. I am going to start learning
Python soon. Are they comparable and I just do a eenie meenie minie
moe?
ActivePython is essentially same
Sorry to ask a simple question but I am a little confused how to
combine the input function and the date time module.
Simply at the start of the program I want to prompt the user to enter
the date, desirably in the format dd/mm/year.
However I want to make sure that python understands the time
totals and Sum Total
#Arranged in descending Sum Total.
#Prompt are there any more events? Yes return to start
#Apphend all additional events to same day file seperated by blank line.
On Sep 24, 2009 9:59pm, Dave Angel da...@ieee.org wrote:
flebber wrote:
Sorry to ask a simple question
On Sep 24, 10:58 pm, Dave Angel da...@ieee.org wrote:
flebber.c...@gmail.com wrote:
I am using python 2.6.2, I haven't updated to 3.0 yet. No I have no
class or instructor, I am learning this myself. I have Hetlands book
Beginning Python Novice to Professional and online documentation
On Sep 24, 11:10 pm, flebber flebber.c...@gmail.com wrote:
On Sep 24, 10:58 pm, Dave Angel da...@ieee.org wrote:
flebber.c...@gmail.com wrote:
I am using python 2.6.2, I haven't updated to 3.0 yet. No I have no
class or instructor, I am learning this myself. I have Hetlands book
happening and then figure out a
way to catch errors with format and correctness.
Thanks
On Sep 25, 2009 3:57am, Dave Angel da...@ieee.org wrote:
flebber wrote:
On Sep 24, 11:10 pm, flebber flebber.c...@gmail.com wrote:
On Sep 24, 10:58 pm, Dave Angel da...@ieee.org wrote
that the __/__/ was adhered to.
I will go back to the start get the basics happening and then figure out
a way to catch errors with format and correctness.
Thanks
On Sep 25, 2009 3:57am, Dave Angel da...@ieee.org wrote:
flebber wrote:
On Sep 24, 11:10 pm, flebber flebber.c
Hi
I was hoping someone would be able to point me in the direction of
some good documentation regarding sequencing, grouping and filtering
and in which order they should be done.
As a small example it is easy to create the range of numbers 1 to 20.
But if I wanted to group all possible
On Mar 10, 8:54 pm, flebber flebber.c...@gmail.com wrote:
Hi
I was hoping someone would be able to point me in the direction of
some good documentation regarding sequencing, grouping and filtering
and in which order they should be done.
As a small example it is easy to create the range
On Mar 10, 9:07 pm, Chris Rebert c...@rebertia.com wrote:
On Tue, Mar 10, 2009 at 3:00 AM, flebber flebber.c...@gmail.com wrote:
On Mar 10, 8:54 pm, flebber flebber.c...@gmail.com wrote:
Hi
I was hoping someone would be able to point me in the direction of
some good documentation
On Jun 10, 7:43 pm, John Machin [EMAIL PROTECTED] wrote:
On 10/06/2007 3:06 PM, flebber wrote:
On Jun 10, 3:45 am, Stefan Behnel [EMAIL PROTECTED] wrote:
flebber wrote:
I was working at creating a simple program that would read the content
of a playlist file( in this case *.k3b
On Jun 10, 3:45 am, Stefan Behnel [EMAIL PROTECTED] wrote:
flebber wrote:
I was working at creating a simple program that would read the content
of a playlist file( in this case *.k3b) and write it out . the
compressed *.k3b file has two file and the one I was trying to read
On Jun 8, 9:45 pm, flebber [EMAIL PROTECTED] wrote:
On Jun 8, 3:31 pm, Stefan Behnel [EMAIL PROTECTED] wrote:
flebber wrote:
I was working at creating a simple program that would read the content
of a playlist file( in this case *.k3b) and write it out . the
compressed *.k3b file has
On Jun 8, 3:31 pm, Stefan Behnel [EMAIL PROTECTED] wrote:
flebber wrote:
I was working at creating a simple program that would read the content
of a playlist file( in this case *.k3b) and write it out . the
compressed *.k3b file has two file and the one I was trying to read
Hi Can anyone show me a working example of how to use gzip to
decompress a file. I have read the docs at python.org and had many
goes at it but just can't get it to work.
Cheers
flebber
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 101 matches
Mail list logo