| |
thread by: Terry Reedy |
last post Oct 29 '08 by: Terry Reedy
dudeja.rajat@gmail.com wrote:
What do you want to do with the wrapper?
I am not sure what you mean here. Python code can directly import and
call functions in dlls that represent Python extension modules and that
are placed in the Pythonxx/dlls directory in your Windows Python
installation. Ctypes is mostly used to call functions in a...
|
thread by: Daniel Fetchinson |
last post Jun 27 '08 by: Daniel Fetchinson
can anyone tell me hw to start with webapplication scripting(e.g login
There are many choices, too many actually. Good entry points are:
http://wiki.python.org/moin/WebApplications
http://wiki.python.org/moin/WebFrameworks
http://www.modpython.org/
http://turbogears.org/
http://djangoproject.com/
|
thread by: Adam |
last post Jun 27 '08 by: Adam
Hi, I am using a script written in Python. For some reasons I should
pass the fireware by proxy setting. But it seems not work when I set
the 'http_proxy' 'ftp_proxy' environment variable.
I also expored 'HTTP_PROXY' 'FTP_PROXY', but the problem remained.
How can I set proxy for it to run the script?
|
thread by: M.-A. Lemburg |
last post Jun 27 '08 by: M.-A. Lemburg
On 2008-05-08 14:31, Gabriel Genellina wrote:
Using mxDateTime that's pretty easy (using number of days):
3050:18:01:25.91
or, if you'd rather like to see things broken down as relative
date/time diff (this is a calendar based diff):
(+0008)-(+04)-(+07) (+18):(+04):(+41)
|
thread by: Gabriel |
last post Jun 27 '08 by: Lie
Hi all
Just wondering if someone could clarify this behaviour for me, please?
, , , , , ]
, , , , , ]
Well what I was expecting to end up with was something like:
>>tasks
, , , , , ]
|
thread by: RPM1 |
last post Jun 27 '08 by: RPM1
John Salerno wrote:
Chess already has at least two solutions that are in widespread use:
Winboard
UCI (Universal Chess Interface)
Basically you write your chess "engine" to speak either Winboard or UCI
and then you can "run" it in one of the various GUI interfaces, (such as
Shredder, Fritz, Arena, ...).
|
thread by: brechmos |
last post Jun 27 '08 by: Eddie Corns
Hi,
I have been using PHP the last while and in particular strtotime.
What I want to replicate is finding the second or fourth Monday of the
next month. In PHP with strtotime it is easy (strtotime("second
Monday", strtotime("next month"), but I can't find an easy way to do
it in Python. I have seen DateUtil, but it seems to be able to do...
|
| |
thread by: Python Nutter |
last post Jun 27 '08 by: Python Nutter
2008/6/12 Brad Navarro <brad.navarro@wni.com>:
Python For System Administrators:
http://www.ibm.com/developerworks/aix/library/au-python/
handy to also just search on python in IBM's Developer Works to get
all the juicy goodies =)
|
thread by: Tim Golden |
last post Jul 16 '08 by: Tim Golden
Andreas Tawn wrote:
Interesting starting point. It never occurred to me
that they might not. (So I didn't look for anything
in the docs when they did :) ).
TJG
|
thread by: Calvin Spealman |
last post Jul 17 '08 by: Calvin Spealman
BeautifulSoup. You need a good html parsing, not some one-shot code to
handle one tiny unflexable pattern.
On Thu, Jul 17, 2008 at 3:07 AM, Alexnb <alexnbryan@gmail.comwrote:
--
Read my blog! I depend on your acceptance of my opinion! I am interesting!
http://ironfroggy-code.blogspot.com/
|
thread by: Fredrik Lundh |
last post Jul 22 '08 by: Fredrik Lundh
xahlee@gmail.com wrote:
"... today ... 1,700 special programming languages used to
'communicate' in over 700 application areas." -- Computer Software
Issues, an American Mathematical Association Prospectus, July
1965. (as quoted in P. J. Landin's classic paper "The Next 700
Programming Languages" from March 1966).
|
thread by: |
last post Jul 30 '08 by:
Thank you very much Gabriel and Stefan for your help! I really appreciate the excellent examples you've shared which is helping me understand how all this works. Again, thank you for taking the time to help me with this.
Jay
|
thread by: Edwin.Madari |
last post Aug 15 '08 by: John Machin
by the way, iterating over bar will throw KeyError if that key does not exist in foo. to see that in action, simply set another key in bar after copy.deepcopy stmt in this example..
bar = 0
and re-run....
fun learning with python...
Edwin
-----Original Message-----
From: Madari, Edwin
Sent: Thursday, August 14, 2008 9:24 PM
|
thread by: Alexnb |
last post Aug 17 '08 by: Grzegorz Staniak
Basically I want the code to be able to pick out how many strings there are
and then do something with each, or the number. When I say string I mean how
many "strings" are in the string "string string string non-string string"
Does that help?
Fredrik Lundh wrote:
--
|
thread by: bruce |
last post Aug 23 '08 by: bruce
valid point...!!
here's the test python.. ugly as it is!!
#!/usr/bin/python
#
# test.py
#
# scrapes/extracts the basic data for the college
#
|
| |
thread by: Simon Brunning |
last post Aug 25 '08 by: Simon Brunning
2008/8/25 Hendrik van Rooyen <mail@microcorp.co.za>:
You can indeed use ctypes to modify the value of a string - see
<http://tinyurl.com/5hcnwl>. You can use it to crash the OS, too.
My advice - don't.
--
Cheers,
Simon B.
|
thread by: cnb |
last post Aug 31 '08 by: Steven D'Aprano
For a big nbr of it might matter?
Is av_grade O(n*2) and the first O(n) when it comes to adding or is
"sum x for x in y" just traversing the list ones, accumulating the
values, it doesnt first build the list and then travese it for sum?
def averageGrade(self):
tot = 0
for review in self.reviews:
tot += review.grade
return tot /...
|
thread by: Matt Nordhoff |
last post Sep 12 '08 by: Matt Nordhoff
Gabriel Genellina wrote:
Haha, whoops. Sorry!
--
|
thread by: Kay Schluehr |
last post Sep 26 '08 by: Steven D'Aprano
On 20 Sep., 11:23, candide <cand...@free.invalidwrote:
This is somewhat true. But what is OO, really?
Answer: if you want to define an entity it has to be defined inside a
class. If you want to access an entity you have to use the dot
operator. Therefore Java is OO but Python is not.
|
thread by: Mr.SpOOn |
last post Sep 29 '08 by: Mr.SpOOn
On Mon, Sep 29, 2008 at 6:49 PM, D'Arcy J.M. Cain <darcy@druid.netwrote:
Well, yes, I think.
Well, one of the analysis task would consist in finding a possible
tonality from a set of note. Or, more useful, give a set of playable
notes over certain given chords.
|
thread by: Blubaugh, David A. |
last post Sep 30 '08 by: Blubaugh, David A.
Thank You!!
I am still new to Python!!
David Blubaugh
-----Original Message-----
|
thread by: Pekka Laukkanen |
last post Oct 1 '08 by: Pekka Laukkanen
2008/10/1 sc <nospam@spamhaters.com>:
<type 'tuple'>
(1, 2, 3)
|
thread by: namekuseijin |
last post Oct 21 '08 by: namekuseijin
On 21 out, 15:59, "Sebastian Bassi" <sba...@clubdelarazon.orgwrote:
I believe those actually just package the bytecode together with a
specific interpreter in a single executable.
|
| |
thread by: Gabriel Genellina |
last post Jun 27 '08 by: Gabriel Genellina
En Sun, 20 Apr 2008 14:43:17 -0300, Christian Heimes <lists@cheimes.deescribió:
Ouch!
May I assume that code that doesn't use stack frames nor stores references to exception objects/tracebacks is safe?
--
Gabriel Genellina
|
thread by: hopeorpha308 |
last post Jun 27 '08 by: hopeorpha308
spynomore crack
|