-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/12/2013 08:40, Ben Finney wrote:
> Dan Stromberg writes:
>
>> Is anyone using a module or database that gives Python 3.x access
>> to MPAA ratings (EG G, PG, PG-13, etc.)?
If you are already using IMDB you should have a look at
http://imdbpy.s
On 10/07/2013 14:22, Chris Angelico wrote:
Either that or it's funny only to other Australians. ChrisA
As a South African, I found it funny too, but then again, we often get
confused.
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 2011-06-20 at 08:14 +0200, Florencio Cano wrote:
> > This works:
> > infile=open('/foo/bar/prog/py_modules/this_is_a_test','r')
> >
> > This doesn't:
> > infile=open('~/prog/py_modules/this_is_a_test','r')
> >
> > Can't I work with files using Unix expressions?
>
> You can use the glob mod
On 20/12/2010 10:45, mechtheist wrote:
> I am no programmer, but know the rudiments [the rudi'est of rudiments]
> of working with Python. I have a simple need, to have a simple
> script/app I can run that will crash my PC. On my desktops, I can
> always hit the reset, but that is not an option
On Mon, 2009-05-04 at 23:50 -0700, CTO wrote:
> You might want to try http://pyinotify.sourceforge.net/. Works well on
> Linux systems. Otherwise, I'd watch the mtime on the file and fork to
> handle the change.
>
pyinotify works really well. If you need to watch a file, simply use the
IN_MODIFY
On Fri, 2008-06-06 at 16:22 +0530, Dinil Karun wrote:
> hi,
>
> I am using the below code but i am getting a error saying pyUno module
> not found.
> can u please help.
I just wrote the same thing!
Take a look at http://cvs2.uwc.ac.za/trac/python_tools/browser/oooconv
It should do what you wan
On Mon, 2008-05-05 at 10:34 -0400, Jean-Paul Calderone wrote:
> How about not nesting the calls?
>
> >>> from os.path import join
> >>> join(join('x', 'y'), 'z') == join('x', 'y', 'z')
> True
> >>>
>
Great! Thanks. Didn't realise that you could do that... :)
--Paul
All Email o
On Mon, 2008-05-05 at 16:21 +0200, Paul Scott wrote:
> example:
>
> if os.path.exists(os.path.join(basedir,picdir)) == True :
> blah blah
>
Sorry, pasted the wrong example...
Better example:
pics = glob.glob(os.path.join(os.path.join(basedir,picdir),'*'))
Today, I needed to concatenate a bunch of directory paths and files
together based on user input to create file paths. I achieved this
through nested os.path.join()'s which I am unsure if this is a good
thing or not.
example:
if os.path.exists(os.path.join(basedir,picdir)) == True :
blah bla
On Mon, 2008-04-21 at 02:01 -0400, Brian Vanderburg II wrote:
> I've recently gotten more than too many spam messages and all say
> Sender: [EMAIL PROTECTED] I'm wondering
> if my mail list registration is now being used to spam myself and
> others. If so, sorry, but I'm not the one sending m
On Wed, 2008-04-16 at 02:35 -0300, Gabriel Genellina wrote:
> I'm unsure if teaching Javascript, VBScript and Python at the same time is
> a good thing, I'd think one would get a language soup and mix all the
> concepts, but if it works for you, go ahead.
> For other resources, see the beginne
On Tue, 2008-04-15 at 13:54 +0800, Penny Y. wrote:
> import urllib2,sys
> try:
> r=urllib2.urlopen("http://un-know-n.com/";)
> except URLError,e:
> print str(e)
> sys.exit(1)
>
> print r.info()
>
>
> But got the errors:
>
> Traceback (most recent call last):
> File "t1.py", line
On Mon, 2008-04-07 at 06:20 -0700, [EMAIL PROTECTED] wrote:
> > If anyone on this list is willing/able, please do give me a few
> > pointers, even if it is "This is total crap - RTFM and come back when
> > you are ready" I would really appreciate it!
>
> Ok, since you asked for it:
>
Awesome fe
On Mon, 2008-04-07 at 09:56 -0700, Lie wrote:
> I don't know if it was just me, but I can't just scan through your
> code briefly to know what it is about (as is with any non-trivial
> codes), only after looking through the website's Roadmap I realized
> it's something to do with audio and recordi
On Mon, 2008-04-07 at 07:05 -0400, Steve Holden wrote:
> The code looks pretty good to someone that doesn't know Gtk graphics.
>
Err, neither do I, so I guess that means its OK? :)
> 184: self.wTree2=gtk.glade.XML(globaldir+"podder.glade","serverdialogue")
>
> could really do with using os.p
I have started, and made some progress (OK it works, but needs some
love) on my first real Python application.
http://cvs2.uwc.ac.za/trac/python_tools/browser/podder
I would love some feedback on what I have done. In total this has taken
me 5 nights to do (I am working on it at night as PHP, not
On Mon, 2008-03-31 at 12:39 -0700, [EMAIL PROTECTED] wrote:
> How do I receive input from the command line in Python?
I have used:
sys.argv[ 1 ]
I have been doing Python for around 2 days now, so please do double check that!
--Paul
All Email originating from UWC is covered by disclaimer
http
On Mon, 2008-03-31 at 04:02 -0700, Graham Ashton wrote:
> pyGTK is great. I used it quite heavily a year or so ago. GTK is a
> nice tool kit from the user's perspective too; you can make some
> rather attractive and usable applications with it, and the GUI builder
> is a boon. Obviously it integra
On Mon, 2008-03-31 at 06:45 +, Marc 'BlackJack' Rintsch wrote:
> There is an `xmlrpclib` in the standard library, so there is no need for
> an external package here. I even think that pyXMLRPClib is the one that's
> integrated in the standard library, so the external one might be "dead".
>
I have been tasked to come up with an audio recorder desktop (cross
platform if possible - but linux only is OK) that:
1. records a lecture as an MP3 file (pymedia?)
2. Provides a login form for server credentials
3. Uploads via XMLRPC (pyxmlrpclib) to the server as a podcast
I have been working
20 matches
Mail list logo