Re: Decoding bytes to text strings in Python 2

2024-06-23 Thread Rayner Lucas via Python-list
In article , r...@zedat.fu- berlin.de says... > > I didn't really do a super thorough deep dive on this, > but I'm just giving the initial impression without > actually being familiar with Tkinter under Python 2, > so I might be wrong! > > The Text widget typically expects text in Tcl

Re: Decoding bytes to text strings in Python 2

2024-06-23 Thread Rayner Lucas via Python-list
In article , ros...@gmail.com says... > > If you switch to a Linux system, it should work correctly, and you'll > be able to migrate the rest of the way onto Python 3. Once you achieve > that, you'll be able to operate on Windows or Linux equivalently, > since Python 3 solved this problem. At lea

Decoding bytes to text strings in Python 2

2024-06-21 Thread Rayner Lucas via Python-list
I'm curious about something I've encountered while updating a very old Tk app (originally written in Python 1, but I've ported it to Python 2 as a first step towards getting it running on modern systems). The app downloads emails from a POP server and displays them. At the moment, the code is

Re: ast.parse, ast.dump, but with comment preservation?

2021-12-16 Thread lucas
Hi ! Maybe RedBaron may help you ? https://github.com/PyCQA/redbaron IIRC, it aims to conserve the exact same representation of the source code, including comments and empty lines. --lucas On 16/12/2021 04:37, samue...@gmail.com wrote: I wrote a little open-source tool to expose internal

Re: import question

2021-11-19 Thread lucas
the client browser and the browser will process and interact with the Brython directly. overall, the server will stay secure and the students can learn python through Brython. sound, right? Lucas -- https://mail.python.org/mailman/listinfo/python-list

import question

2021-11-18 Thread lucas
n advance and have a great day, lucas -- https://mail.python.org/mailman/listinfo/python-list

Re: on writing a while loop for rolling two dice

2021-09-02 Thread lucas
def how_many_times(): x, y = 0, 1 c = 0 while x != y: c = c + 1 x, y = roll() return c, (x, y) Since I haven't seen it used in answers yet, here's another option using our new walrus operator def how_many_times(): roll_count = 1 while (rolls := roll())[0] != rol

Re: argparse support of/by argparse

2021-07-13 Thread lucas
Mmmh, that may work just fine ! Thanks for that idea, ChrisA, i'm looking forward to implement that. Best wishes, --lucas On 12/07/2021 21:33, Chris Angelico wrote: On Tue, Jul 13, 2021 at 5:22 AM lucas wrote: Hello everyone, Let us consider this patch of code: import arg

argparse support of/by argparse

2021-07-12 Thread lucas
appears that some type annotations were added to tierce party modules, provided by mypy itself. Is there a technical issue preventing such work to be made for argparse (or other CLI ; i didn't find anything for others either) Thank you for reading, --lucas -- https://mail.python.org/mailman/listinfo/python-list

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-03-27 Thread lucas
Thank you ChrisA ! I hope it will solve it too. Do i need to do anything ? Thank you for your time and help. Best wishes, --lucas On 27/03/2021 22:49, Chris Angelico wrote: On Sun, Mar 28, 2021 at 5:00 AM lucas wrote: I finally took time (thanks to Florian R.) to get a reproducible

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-03-27 Thread lucas
And, in my outputs, a key part is missing: the received arguments as parsed by Flask: Python 3.7: REQUEST: ImmutableMultiDict([('u', 'user'), ('p', 'password')]) Python 3.9: REQUEST: ImmutableMultiDict([]) Have a good day everyone, --

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-03-27 Thread lucas
#x27; app.run(debug=True, host='localhost', port=PORT) else: url = 'http://' + URL + '?' + urlencode({'u': USER, 'p': PASSWD}) print(url) proxy = client.ServerProxy(url) print(proxy, dir(proxy)) print(proxy.add

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread lucas
On 24/02/2021 20:21, Chris Angelico wrote: On Thu, Feb 25, 2021 at 6:14 AM lucas wrote: I tested from the windows computer (Python 3.8, it appears, not 3.7 as i thought), and got the following nginx log: [LAPTOP IP] - - [24/Feb/2021:20:06:42 +0100] "POST /lib/exe/xmlrpc.php?u=[us

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread lucas
On 24/02/2021 19:22, Chris Angelico wrote: On Thu, Feb 25, 2021 at 5:12 AM lucas wrote: On 24/02/2021 18:48, Chris Angelico wrote: I added socket.gethostbyname("wiki.example.net") (i removed the https:// since it, obviously now i think about it, led to a socket error) in the pro

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread lucas
On 24/02/2021 18:48, Chris Angelico wrote: On Thu, Feb 25, 2021 at 4:36 AM lucas wrote: A properly-formed URL will start with a protocol. I don't know specifically what changed, but it's looking like something started rejecting malformed URLs. Try adding "http://"; or &qu

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread lucas
On 24/02/2021 18:00, Chris Angelico wrote: On Thu, Feb 25, 2021 at 2:02 AM lucas wrote: Hi everyone, (Sorry for the double-send if any, i'm not sure the first send was performed, maybe because of bounce errors according to mailman.) I'm currently trying to understand an error

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread lucas
came from 3.8 or 3.9, since i can still reach the wiki nominally with my (some being non-updated) machines using python 3.7. This didn't evolve since i discovered the problem few days ago. --lucas On 24/02/2021 16:20, 2qdxy4rzwzuui...@potatochowder.com wrote: On 2021-02-24 at 15:29:58 +0

Re: name for a mutually inclusive relationship

2021-02-24 Thread lucas
by a checkbox that, when checked, enables the widgets associated to all the mutually inclusive options. Best regards, --lucas On 24/02/2021 17:12, Ethan Furman wrote: I'm looking for a name for a group of options that, when one is specified, all of them must be specified. For contrast

XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread lucas
e the possibility to test this on python 3.8 specifically, but since the XML and XMLRPC modules have been updated in 3.8, and since 3.9 doesn't seems to introduce any change for them, i would expect 3.8 to introduce some change that dokuwikixmlrpc has somehow to take into considerati

Drag and Drop Images in Python (NEED HELP!)

2015-01-01 Thread lucas mvm
Hi at all user! I used Tkinter and canvas to make a window and i added 2 transparent .png images. So when i start my programm it just shows the 2 images. I want to drag one image above the other image and than it will disappear. So I need help with "drag and drop images" heres my code if you wan

Re: Yet Another Switch-Case Syntax Proposal

2014-04-10 Thread Lucas Malor
On 6 April 2014 20:07, Chris Angelico rosuav-at-gmail.com |python-list@python.org| wrote: > Here's a simpler form of the proposal, which might cover what you > need. It's basically a short-hand if/elif tree. > > case expression comp_op expression: > suite > case [comp_op] expression: > su

Re: Yet Another Switch-Case Syntax Proposal

2014-04-03 Thread Lucas Malor
Thank you for reading and commenting my proposal. Here are my replies: In reply to Chris Angelico: > I don't like the "iterable vs non-iterable" distinction. Compare: [...] > case "Test": # And there's your problem. Yes, I had already thought after I posted that testing against string it's a pr

Yet Another Switch-Case Syntax Proposal

2014-04-02 Thread Lucas Malor
Hi all. I would proposeto you all a switch-case syntax for Python. I already read PEP 3103 and I'm not completely satisfied by any of the proposed solutions. This is my proposal: switch_stmt ::= "switch" identifier "case" expression_list ":" suite ("case" expression_list ":" suite)* ["e

Re: get return or locals from "exec" str in "environment"

2012-08-30 Thread lucas
also, does that environment space, what i am assigning as env, have any such common memory space or cross thread problem with simultaneous threads or sessions? -- http://mail.python.org/mailman/listinfo/python-list

Re: get return or locals from "exec" str in "environment"

2012-08-30 Thread lucas
? like, i am afraid that i will get cross-over or bleeding into other threads or sessions. does exec do that kind of common memory space wherein i have to be very very careful about executing such code and my daemon crashing or security holes and the like. lucas -- http://mail.python.org/mailman

Re: get return or locals from "exec" str in "environment"

2012-08-30 Thread lucas
> Far as I can see, you never actually called that function anywhere. > ChrisA doesn't the exec command call the function? -- http://mail.python.org/mailman/listinfo/python-list

get return or locals from "exec" str in "environment"

2012-08-30 Thread lucas
uot;rtn" the variables within the function lucas53. i do not know how to access the local variables within lucas53 or the locals to find harry or rtn. i really just want the return dictionary. make sense? anyway, python impresses me with its graceful and concise code, but i really

Re: Make never ends when compiling from source

2012-01-18 Thread Lucas Moauro
Just found that the issue was that the clock was not set properly on the server. 2012/1/19 Lucas Moauro > I'm trying to install Python 2.7 from source on Centos 6.0. When running > make after first running ./configure successfully on the source directory, > it performs the chec

Make never ends when compiling from source

2012-01-18 Thread Lucas Moauro
never starts. Does anyone know the cause of this behaviour and how to solve it? - Lucas -- http://mail.python.org/mailman/listinfo/python-list

Re: Typed python comparison / code analysis questions

2012-01-04 Thread Lucas Vickers
Thank you! At the moment python3 isn't an option. There's a variety of dependencies I'm working around. Is there any type of 2.x add-on? either way thanks for the info L On Wed, Jan 4, 2012 at 3:34 PM, Ian Kelly wrote: > On Wed, Jan 4, 2012 at 1:09 PM, Lucas Vickers

Typed python comparison / code analysis questions

2012-01-04 Thread Lucas Vickers
would spit an exception when comparing non-equal types/instances. rows = pamss.conn.fetchRows(results) count = rows[0]['cases']// should be int(rows[0]['cases']) return count < MAX_CONCURRENT_IVR thanks! Lucas -- http://mail.python.org/mailman/listinfo/python-list

Python source checkout problem

2010-07-15 Thread Andrew Lucas
I am trying to check-out the python source using subversion. The documentation says that "svn co http://svn.python.org/projects/python/trunk"; should do the trick. When I do this I get the following response: "svn: REPORT of '/projects/!svn/vcc/default': 200 OK (http:// svn.python.org)" There

For...in statement and generators

2009-12-21 Thread Lucas Prado Melo
Is there a way to send() information back to a generator while using the for...in statement? Thanks in advance. -- http://mail.python.org/mailman/listinfo/python-list

Re: File Handling Problem

2009-09-04 Thread Lucas Prado Melo
On Fri, Sep 4, 2009 at 9:50 AM, joy99 wrote: > Dear Group, > > I have a file. The file has multiple lines. I want to get the line > number of any one of the strings. > Once I get that I like to increment the line number and see the string > of the immediate next line or any following line as outp

Generators through the C API

2009-07-30 Thread Lucas P Melo
Hello, I'm a total noob about the C API. Is there any way to create a generator function using the C API? I couldn't find anything like the 'yield' keyword in it. Thanks in advance. -- http://mail.python.org/mailman/listinfo/python-list

Balanced binary tree implementation

2009-07-21 Thread Lucas P Melo
Hello, I would like to use a balanced binary tree implementation (preferably within some API). Any hints about where I could find it? I am looking for something that implements insertion, deletion, search and a special search that returns the lesser element bigger than a given key [1]. A n

Re: List insertion cost

2009-07-21 Thread Lucas P Melo
Robert Kern wrote: O(n). Python lists are contiguous arrays in memory, and everything after the insertion point needs to be moved. Raymond Hettinger has a good talk about the implementation of Python lists and other container objects. http://www.youtube.com/watch?v=hYUsssClE94 http://www.pyco

List insertion cost

2009-07-21 Thread Lucas P Melo
Hello, I would like to know how much it costs to insert an element into a list using this operation: a[2:2] = [ 1 ] i. e, what is the complexity of the operation above (given that len(a) = n)? Thanks. -- http://mail.python.org/mailman/listinfo/python-list

windows command-line

2009-07-08 Thread Lucas Junqueira
Hi, I'd like to run a simple windows command-line program from within my python script and agt all the returt it generates. Is this possible? How can I do it? Thank you! Veja quais são os assuntos do mo

Re: Remoting over SSH

2009-07-08 Thread Lucas Carvalho
Hussein B wrote: Hey, I want to perform commands on a remote server over SSH. What do I need? Thanks. Hi, If you want to use the SSH2 protocol into a python code, you should take a look at this module: paramiko [1]. [1] http://www.lag.net/paramiko/ Regards, Lucas. -- http://mail.python.org

Tool for browsing python code

2009-06-16 Thread Lucas P Melo
Is there any tool for browsing python code? (I'm having a hard time trying to figure this out) Anything like cscope with vim would be great. -- http://mail.python.org/mailman/listinfo/python-list

Re: "prove"

2008-05-09 Thread Lucas Prado Melo
Thanks for all the answers. I bet I will convince this guy! -- http://mail.python.org/mailman/listinfo/python-list

Re: "prove"

2008-05-09 Thread Lucas Prado Melo
On Fri, May 9, 2008 at 5:32 AM, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > Why do you need the documentation ? Just fire up your python shell and hack > a Q&D example: I agree. I said it to this person, but he insisted I should use documentation... -- http://mail.python.org/mailman/listinfo/p

Re: "prove"

2008-05-08 Thread Lucas Prado Melo
Thanks Marco, this is just what I was looking for. On Thu, May 8, 2008 at 11:02 AM, David <[EMAIL PROTECTED]> wrote: > > classname.functionname(objectname) > > Do you mean something like this? > > class myclass: > @staticmethod > def myfunction(myobject): pass > > myobject = None > my

"prove"

2008-05-08 Thread Lucas Prado Melo
Hello, How could I "prove" to someone that python accepts this syntax using the documentation (I couldn't find it anywhere): classname.functionname(objectname) -- http://mail.python.org/mailman/listinfo/python-list

lucas ares

2008-01-03 Thread lucas
visitame www.lucasares.com.ar -- http://mail.python.org/mailman/listinfo/python-list

Using mouse

2008-01-01 Thread Lucas Prado Melo
I would like to control mouse events (i.e. I would like to "click" and move mouse around by code). How do I do this in python? regards -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with getting an option value

2007-04-10 Thread Lucas Malor
Peter Otten wrote: > Lucas Malor wrote: >> >> The problem is options is an instance, so options."delete", for example, >> is wrong; I should pass options.delete . How can I do? > > Use getattr(): Thank you. Do you know also if I can do a similar operation wit

[optparse] Problem with getting an option value

2007-04-06 Thread Lucas Malor
Hello all. I'm trying to do a little script. Simply I want to make a list of all options with them default values. If the option is not specified in the command line, the script must try to read it in a config.ini file. If it's not present also there, it must set the default value. The problem

Re: backslashes in lists

2007-03-12 Thread Lucas Torri
tr2_value = ['value', path] attr2_List = [attr2_desc, attr2_name, attr2_required, attr2_value] attr_List = [attr1_List, attr2_List] property= ['systemProperties', attr_List] AdminConfig.modify(jvm, [property]) print 'Salvando configuracoes...' AdminConf

Re: backslashes in lists

2007-03-12 Thread Lucas Torri
sh table? On 3/12/07, Fabio Gomes <[EMAIL PROTECTED]> wrote: Nice, Lucas. But help me again, please. What about "echoing" the list: >>> str(alist).replace('','\\') "['a', 'b', 'c:\\some\\path']" B

Re: backslashes in lists

2007-03-12 Thread Lucas Torri
I don't know how ugly this look like, but { print str(alist).replace('', '\\') } works... On 3/12/07, Fabio Gomes <[EMAIL PROTECTED]> wrote: Yes, Luca. I noticed that printing the list item will show the string as expected. But I need to print the entire list in the script I'm writing a

Re: backslashes in lists

2007-03-12 Thread Lucas Torri
The backslash is a key to enter especial characters, like breakline: '\n' There is two backslashes cause of this especial condition of this char, but if you try print the specific string you will see that only one backslash remain: print alist[2] On 3/12/07, Fabio Gomes <[EMAIL PROTECTED]> wrot

Re: New to Python

2007-03-12 Thread Lucas Torri
Something like that? z = tuple(map(lambda x,y: x+y, x, y)) On 3/11/07, Alberto Vieira Ferreira Monteiro <[EMAIL PROTECTED]> wrote: Hi, I am new to Python, how stupid can be the questions I ask? For example, how can I add (mathematically) two tuples? x = (1,2) y = (3,4) How can I get z = (1 +

Re: How to get each pixel value from a picture file!

2006-10-23 Thread Lucas
http://www.pythonware.com/library/pil/handbook/image.htm im.load() said Leif K-Brooks wrote: > Lucas wrote: > > 1)I just copy the tutorial to run "print pix[44,55]". I really dont > > know why they wrote that?! > > What tutorial? Where does it say that? --

Re: How to get each pixel value from a picture file!

2006-10-23 Thread Lucas
:) 1)I just copy the tutorial to run "print pix[44,55]". I really dont know why they wrote that?! 2) i think putpixel((44, 55), (0, 0, 0)) and putpixel((44,55),0) is same. thank you again. I think I have solved my problem. Steve Holden wrote: > Lucas wrote: > > Thank

Re: How to get each pixel value from a picture file!

2006-10-23 Thread Lucas
age bit). If i use putpixel((44,55),0) , the number 0 will be changed RGB value or others.? 3) pix = im.load() print pix[44,55] pix[44, 55] = value my python cannt identify "[x,y]" ?? Steve Holden wrote: > Lucas wrote: > > I want to change s

How to get each pixel value from a picture file!

2006-10-23 Thread Lucas
I want to change some pixel value in the picture file. how to do it? If I read the file in binary mode, a bit == a pixel ? Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: How to print a file in binary mode

2006-10-22 Thread Lucas
x27;rb') b = fileRead.read() fileRead.close() print b #it is wrong # How can I display a.jpg's binary code? Lucas wrote: > well, if I just open the file in binary mode, and write a string,e.g > '660', how do i read the result? I means I need print the binary

Re: How to print a file in binary mode

2006-10-22 Thread Lucas
27;a.jpg','rb') b = fileRead.read() fileRead.close() print b ??? Thanks again Fredrik Lundh wrote: > Lucas wrote: > > > I do it because I want to encrypt a string into a picture using RSA > > algorithm. > > what does "into" mean? are you su

Re: How to print a file in binary mode

2006-10-22 Thread Lucas
a string into a picture using RSA algorithm. so I first convert the string to binary,and then saving the binary into picture finally, print the picture by binary! It is my coursework and studying PYTHON passingly : ) Marc 'BlackJack' Rintsch wrote: > In <[EMAIL PROTECTED]>, L

How to print a file in binary mode

2006-10-22 Thread Lucas
I need print a file in binary mode . f = f.open('python.jpg','rb') bytes = f.read() f.close() print(bytes) I can't get any binary code. how to do it? Thank you very much! -- http://mail.python.org/mailman/listinfo/python-list

Re: Perl-Python-a-Day: Sorting

2005-10-18 Thread Lucas Raab
[snip] > Thanks. I didn't know there's also a sort function in Python (2.4), > besides the method. (i've mentioned your name as acknowledgement at my > website essay) [snip] With his permission, of course... -- ------ Lucas Raab lvraab"@"

Re: A Moronicity of Guido van Rossum

2005-10-02 Thread Lucas Raab
Xah Lee wrote: [snip] >(they tried, with their limited implementation of lambda and > shun it like a plaque) Can't say I've heard that expression before... -- ------ Lucas Raab lvraab"@"earthlink.net dotpyFE"@"gmail.com AIM:Phoeni

Re: Pythonwin crashes

2005-09-28 Thread Lucas Raab
;s pretty much universal. Pythonwin crashes when you run programs with Tk in them. -- -- Lucas Raab lvraab"@"earthlink.net dotpyFE"@"gmail.com AIM:Phoenix11890 MSN:dotpyfe "@" gmail.com IRC:lvraab ICQ:324767918 Yahoo: Phoenix11890 -- http://mail.python.org/mailman/listinfo/python-list

Re: Silly function call lookup stuff?

2005-09-27 Thread Lucas Lemmens
On Tue, 27 Sep 2005 13:56:53 -0700, Michael Spencer wrote: > Lucas Lemmens wrote: >> Dear pythonians, >> >> I've been reading/thinking about the famous function call speedup trick >> where you use a function in the local context to represent a "remoter&q

Re: Silly function call lookup stuff?

2005-09-27 Thread Lucas Lemmens
On Tue, 27 Sep 2005 22:41:22 +0200, Fredrik Lundh wrote: > Lucas Lemmens wrote: > >> Why isn't the result of the first function-lookup cached so that >> following function calls don't need to do the function-lookup at all? >> >> And if the context cha

Silly function call lookup stuff?

2005-09-27 Thread Lucas Lemmens
Dear pythonians, I've been reading/thinking about the famous function call speedup trick where you use a function in the local context to represent a "remoter" function to speed up the 'function lookup'. "This is especially usefull in a loop where you call the function a zillion time" they say

Re: Getting tired with py2exe

2005-09-21 Thread Lucas Raab
ical questions I'd like to thank you for all >> your hard work on py2exe over the years, which has benefited the >> Windows Python community immeasurably. > > > I second this. > > --Scott David Daniels > [EMAIL PROTECTED] *motion passed for entry into Python

Python game coding

2005-09-17 Thread Lucas Raab
thon/ -- ------ Lucas Raab lvraab"@"earthlink.net dotpyFE"@"gmail.com AIM:Phoenix11890 MSN:dotpyfe "@" gmail.com IRC:lvraab ICQ:324767918 Yahoo: Phoenix11890 -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there any module to play mp3 or wav format files?

2005-08-27 Thread Lucas Raab
> -= Get GrabIt for free from http://www.shemes.com/ =- > http://pymedia.org -- -- Lucas Raab lvraab"@"earthlink.net dotpyFE"@"gmail.com AIM:Phoenix11890 MSN:dotpyfe "@" gmail.com IRC:lvraab ICQ:324767918 Yahoo: Phoenix11890 -- http://mail.python.org/mailman/listinfo/python-list

Re: network programming

2005-08-21 Thread Lucas Raab
and networking, please reply. Thanks! > I believe the Twisted Matrix library has an IM module written for it and a tutorial on programming with the library. www.twistedmatrix.com -- -- Lucas Raab lvraab"@"earthlink.net dotpyFE"@"gmail.com AIM:P

Re: can I delete one of *.py *.pyc *.pyo in /usr/lib/python2.3 ?

2005-08-20 Thread Lucas Raab
The .pyc and .pyo files will load faster because they are compiled. Also, if you keep the .py files and then execute them, .pyc files will be generated. In short, I would keep the .pyc files and delete the others. -- -- Lucas Raab lvraab"@"earthlink.net

Re: python2.4/site-packages

2005-08-11 Thread Lucas Raab
nstalled . > > > There is a list of them packages which you MAY install but may also > choose not to here: > > http://www.python.org/pypi > > This used to be called the Python Package index but is now the Python > Cheese Shop? Huh??? You've never heard the Chees

Tiny Python interpreter

2005-08-10 Thread Lucas Correia Villa Real
es, as I'm not subscribed to this list. -- Lucas powered by /dev/dsp -- http://mail.python.org/mailman/listinfo/python-list

Re: Documentation bug: Python console behaviour changed

2005-07-19 Thread Lucas Raab
"Command Prompt" icon > from the Start Menu (or some equivalent)? And are you sure you haven't > installed something else that magically changed the behaviour of Ctrl-Z? > > (I get the documented behaviour with Python 2.4.1, under Win XP.) > > -Peter I'm

Re: Defending Python

2005-07-11 Thread Lucas Raab
. Guttag et al, IEEE Trans Soft Eng > 2(5):24-365 (Sep 1985). "Larch: Languages and Tools for Formal > Specification", Guttag and Horning, Springer 1993.''' > > Maybe "Ni!"? > > -Peter Lumberjack?? -- -- Lucas Raab lvraab"@"earthlink.net dotpyFE"@"gmail.com AIM:Phoenix11890 MSN:dotpyfe "@" gmail.com IRC:lvraab ICQ:324767918 Yahoo: Phoenix11890 -- http://mail.python.org/mailman/listinfo/python-list

Re: a new Python Podcast series (and the use of Python in creating podcasting tools)

2005-07-11 Thread Lucas Raab
w.awaretek.com/python/index.html and one can click on the > podcasts there to play them, or better you can subscribe to an rss feed > at http://www.awaretek.com/python/index.xml > Nice idea!! It would be great to get some of the advanced Python guys in on this from time to time.

Re: VBR mp3 length

2005-07-06 Thread Lucas Raab
to grab the bitrate of the first frame and > then apply that to the the file length to come up with a total length. > Needless to say, if the bitrate of the first frame isn't close to the > overall average, it's wildly off. > > Thanks, > -Steve Take a look at htt

Re: Python Developers Handbook

2005-06-09 Thread Lucas Raab
Aahz wrote: > In article <[EMAIL PROTECTED]>, > Lucas Raab <[EMAIL PROTECTED]> wrote: > >>Terry Reedy wrote: >> >>>Perhaps you have never seen a newgroup ruined by commercial announcements >>>like I have. >> >>O wise one, we bo

Re: Python Developers Handbook

2005-06-09 Thread Lucas Raab
wise one, we bow to you with your deep knowledge. -- -- Lucas Raab lvraab"@"earthlink.net dotpyFE"@"gmail.com AIM:Phoenix11890 MSN:dotpyfe "@" gmail.com IRC:lvraab ICQ:324767918 Yahoo: Phoenix11890 -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Developers Handbook

2005-06-09 Thread Lucas Raab
> listing for Python books copied to this forum. Please don't repeat. > > TJR > > > I don't think that was his intention. -- -- Lucas Raab lvraab"@"earthlink.net dotpyFE"@"gmail.com AIM:Phoenix11890 MSN:dotpyfe "

Re: SSL (HTTPS) with 2.4

2005-05-18 Thread Lucas Raab
sed on the raise URL error('unknown url type: %' % type) URLError: -- -- Lucas Raab lvraab"@"earthlink.net dotpyFE"@"gmail.com AIM:Phoenix11890 MSN:dotpyfe "@" gmail.com IRC:lvraab ICQ:324767918 Yahoo: Phoenix11890 -- http://mail.python.org/mailman/listinfo/python-list

Re: Python on a public library computer

2005-05-17 Thread Lucas Raab
you think, unless it costs money. On the other hand > money would solve this problem so if I can do something to get that it > would be even better. > > Anton > > [the things they make you go through ...] > Hehehe. If it's possible you could run Knoppix from a CD.

Re: The world is really unstable these days......

2005-05-15 Thread Lucas Raab
ck the floors fully, order them amazingly. > > Hardly any tags will be strange smart boats. Let's creep around the > polite rooms, but don't sow the handsome figs. > > > Y'know, I really do love these random word spam messages. They're quite entertain

Re: Any decent IM protocol implementations (icq or aim)

2005-05-03 Thread Lucas Raab
Jaime Wyant wrote: > Can anyone recommend one? Google isn't giving me much. > > jw I believe there's one for AIM called pyTOC. Trying Googling that or something like "Python ABC". ABC being the messenger service. -- ------ Lucas Raab l

msvccompiler issues

2005-05-01 Thread Lucas Raab
I tried looking the distutils code, but it's way over my head. I found the find_exe function in msvccompiler.py file, but it seems to be not finding cl.exe. I made sure the path to cl.exe was set in the winXP Path variable. Any help is appreciated. -- ------ Lucas Raab lvraa

Re: Can .py be complied?

2005-04-27 Thread Lucas Raab
ation <http://fux0r.phathookups.com/programming-tutorials/Python/tut/node43.html>. It hides the source but you still need Python installed on the system running the bytecode. But those files can be decompyled. -- -- Lucas Raab lvraab"@"earthlink.net do

trouble using \ to escape %

2005-04-15 Thread Lucas Machado
t escaping the '%' character. There has to be a way to write '%' to a file. Thanks in advance.. Cheers -Lucas Machado -- http://mail.python.org/mailman/listinfo/python-list

Re: What's up with the PyFX Project??? (ex PyCG nVidia CG implementation)

2005-04-04 Thread Lucas Raab
an open-source 3D engine. Python is the main language used to program the games. While you can use C++ or other languages, they aren't as well supported. -- -- Lucas Raab lvraab"@"earthlink.net dotpyFE"@"gmail.com AIM:Phoenix11890 MSN:dotpyfe&

Re: Change between Python 2.3 and 2.4 under WinXP

2005-04-04 Thread Lucas Raab
python24. if you want to deploy programs that depend on a specific python version, exemaker is your friend: http://effbot.org/zone/exemaker.htm not to be biased toward your own products at all, or course :-) -- -- Lucas Raab lvraab"@"earthlink.n

AAC extracton

2005-03-30 Thread Lucas Raab
TIA -- -- Lucas Raab lvraab"@"earthlink.net dotpyFE"@"gmail.com AIM:Phoenix11890 MSN:dotpyfe"@"gmail.com IRC:lvraab ICQ:324767918 Yahoo: Phoenix11890 -- http://mail.python.org/mailman/listinfo/python-list

Re: Python for a 10-14 years old?

2005-03-25 Thread Lucas Raab
I should push to her to get her fascinated about _real_ programming, I'd be obliged. Or maybe her head isn't screwed together that way, what do I know. I found "How to Think Like a Computer Scientist" a very good book. It was very well written and didn't push too many thin

Re: Python for a 10-14 years old?

2005-03-23 Thread Lucas Raab
to really go on. Give her Dive Into Python or How to Think Like a Computer Scientist and let her ask questions if she needs help. -- -- Lucas Raab lvraab located at earthlink.net dotpyFE located at gmail.com AIM:Phoenix11890 MSN:dotpyfe "@" gma

Re: getting text from WinXP console

2005-03-21 Thread Lucas Raab
Jeff Schwab wrote: Lucas Raab wrote: Chris Maloof wrote: Hello, Does anyone know how I can read the ASCII text from a console window (from another application) in WinXP? It doesn't sound like a major operation, but although I can find the window via pywin32, I haven't been able to d

Re: getting text from WinXP console

2005-03-21 Thread Lucas Raab
t.txt" only without the quotes. AFAIK, this only works on Windows. Correct me if it works from Linux or another OS. -- -- Lucas Raab lvraab located at earthlink.net dotpyFE located at gmail.com AIM:Phoenix11890 MSN:[EMAIL PROTECTED] IRC:lvraab ICQ:324

Re: Linux Multimedia System

2005-03-13 Thread Lucas Raab
nteresting. -- -- Lucas Raab lvraab located at earthlink.net dotpyFE located at gmail.com AIM:Phoenix11890 MSN:[EMAIL PROTECTED] IRC:lvraab ICQ:324767918 Yahoo: Phoenix11890 -- http://mail.python.org/mailman/listinfo/python-list

Re: Linux Multimedia System

2005-03-13 Thread Lucas Raab
tle mailinglist too (German & Yahoo): http://de.groups.yahoo.com/group/dulugprojekt/ Remember that the whole project is very basic for now! But it seems to work. Greets, Marek BTW, I'd be happy to help with a Windows version. -- -- Lucas Raab lvraab located at ea

Re: Linux Multimedia System

2005-03-13 Thread Lucas Raab
k up to my computer. Are you using a Python alternative?? -- -- Lucas Raab lvraab located at earthlink.net dotpyFE located at gmail.com AIM:Phoenix11890 MSN:[EMAIL PROTECTED] IRC:lvraab ICQ:324767918 Yahoo: Phoenix11890 -- http://mail.python.org/mailman/listinfo/python-list

Re: reading timestamp from vid file (avi)

2005-03-09 Thread Lucas Raab
flupke wrote: Hi, i capture a movie from mividv to an avi containing the dv video. I found a program that reads the timestamp from the avi so you know the exact date and time the video was shot. However, the source of that program is not available and it doesn't allow to batch process a director

  1   2   >