cure. Where can I learn about "good practice" and these
things. I know what cvs is but won't likely be using it. That is,
which item in the hierarchy is best used for what?
Thanks,
Fred
--
http://mail.python.org/mailman/listinfo/python-list
If so, how?
Thanks,
Fred
--
http://mail.python.org/mailman/listinfo/python-list
How do I use wxPython or wxGlade in the context of Eclipse?
A link to a howto would be great!
Thanks,
Fred
--
http://mail.python.org/mailman/listinfo/python-list
I asked earlier:
How do I use wxPython or wxGlade in the context of Eclipse?
A link to a howto would be great!
I guess nobody knows or cares to answer?
:-(
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 29, 2010, at 9:49 AM, Philip Semanchuk wrote:
>
> On Apr 29, 2010, at 12:01 PM, someone wrote:
>
>> Hello!
>>
>> Is there a way to print a query for logging purpose as it was or will
>> be sent to database, if I don't escape values of query by myself?
>>
>> cursor.execute(query, [id, s
>
> If you can fiddle with the Postgres server settings, the server has options
> for logging lots of things, including the queries it executes.
>
Yes you can fiddle like that:
>>> cur.mogrify("INSERT INTO test (num, data) VALUES (%s, %s)", (42, 'bar'
On 8 juin, 23:44, Deadly Dirk wrote:
> I am a total beginner with Python. I am reading a book ("The Quick Python
> Book", 2nd edition, by Vernon Ceder) which tells me that print function
> takes end="" argument not to print newline character. I tried and here is
> what happens:
>
> >>> print(x)
>
Is there a Python function I can use to get the user's IP
address so I can display it on his browser?
Regards,
Fred
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 07 Jul 2009 22:54:03 -0300, "Gabriel Genellina"
wrote:
>En Tue, 07 Jul 2009 22:45:24 -0300, Fred Atkinson
>escribió:
>
>> Is there a Python function I can use to get the user's IP
>> address so I can display it on his browser?
>
>The
gt; getenv("HTTP_X_FORWARDED_FOR") or
> getenv("HTTP_X_FORWARDED_FOR") or
> getenv("REMOTE_ADDR") or
> "UNKNOWN")
>
>print ipaddr
That did it.
I wonder why they don't just have a function to return it instead of
putting you throug
What is the Python equivalent of the PHP explode() function?
Fred
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 11 Jul 2009 18:50:28 -0700, Chris Rebert
wrote:
>On Sat, Jul 11, 2009 at 7:41 PM, Fred Atkinson wrote:
>> What is the Python equivalent of the PHP explode() function?
>
>some_string.split("separator")
On Sat, 11 Jul 2009 18:50:28 -0700, Chris Rebert
wrote:
>On Sat, Jul 11, 2009 at 7:41 PM, Fred Atkinson wrote:
>> What is the Python equivalent of the PHP explode() function?
>
>some_string.split("separator")
>
>Cheers,
>Chris
What would the equival
On Mon, 13 Jul 2009 22:32:55 -0700, Chris Rebert
wrote:
>On Mon, Jul 13, 2009 at 11:28 PM, Fred Atkinson wrote:
>> On Sat, 11 Jul 2009 18:50:28 -0700, Chris Rebert
>> wrote:
>>
>>>On Sat, Jul 11, 2009 at 7:41 PM, Fred Atkinson wrote:
>>>> What i
On Tue, 14 Jul 2009 05:41:40 GMT, Tim Harig
wrote:
>On 2009-07-14, Fred Atkinson wrote:
>> The one thing I really dislike about Python over PHP is that
>> Python can usually only appear in the cgi directory (unless other
>> arragements are made with your hosti
On Mon, 13 Jul 2009 23:54:11 -0700 (PDT), alex23
wrote:
>Fred Atkinson wrote:
>> I wish the Python site was as well written as the PHP site. On
>> the PHP site, I can look up a command and they show not only the docs
>> on that command but a list of all other comman
seful on my Web site(s).
I would be grateful for any and all suggestions.
Regards,
Fred
--
http://mail.python.org/mailman/listinfo/python-list
has attempted to modify files on your system
>that are not within the EasyInstall build area, and has been aborted.
Is there a way to use easy_install to install the start scripts into /
etc/init.d. If not, what is the best way to install these scripts.
Thanks
-fred-
--
http://mail.python.org/m
Is there a pre-defined variable that returns the GET line
(http://www.php.net/index.php?everythingafterthequestionmark) as a
single variable (rather than individual variables)?
Regards,
Fred
--
http://mail.python.org/mailman
On Thu, 23 Jul 2009 15:28:50 +0200, "Diez B. Roggisch"
wrote:
>Fred Atkinson wrote:
>
>> Is there a pre-defined variable that returns the GET line
>> (http://www.php.net/index.php?everythingafterthequestionmark) as a
>> single variable (rather than individ
On Sat, 01 Aug 2009 18:56:33 -0700, Fred Atkinson
wrote:
>On Thu, 23 Jul 2009 15:28:50 +0200, "Diez B. Roggisch"
> wrote:
>
>>Fred Atkinson wrote:
>>
>>> Is there a pre-defined variable that returns the GET line
>>> (http://www.php.net/index.ph
How does one seed the rand() generator when retrieving random
recordings in MySQL?
Regards,
Fred
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 02 Aug 2009 08:53:50 -0700, Scott David Daniels
wrote:
>Fred Atkinson wrote:
>> How does one seed the rand() generator when retrieving random
>> recordings in MySQL?
>
>It is not entirely clear what you are asking. If you are talking about
>MySQL's
On Sun, 02 Aug 2009 08:11:22 -0700, Scott David Daniels
wrote:
>Piet van Oostrum wrote:
>>>>>>> Scott David Daniels (SDD) wrote:
>>> SDD> Stephen Cuppett (should have written in this order):
>>>>> "Fred Atkinson" wrote ...
>
What is the function to obtain the client browser's IP
address?
Fred
--
http://mail.python.org/mailman/listinfo/python-list
hin Python?
Regards,
Fred
--
http://mail.python.org/mailman/listinfo/python-list
igure out what the Python equivalent of that
is.
Now do you see?
Fred
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 04 Aug 2009 07:12:30 GMT, Jarkko Torppa
wrote:
>On 2009-08-04, Fred Atkinson wrote:
>> On Mon, 3 Aug 2009 20:00:08 -0700 (PDT), Carl Banks
>> wrote:
>>>
>>>If you don't "get" why this is a MySQL question and not a Python
>>>quest
I just shell down and use pdftk to merge fdf and pdf
-Original Message-
From: python-list-bounces+frsells=adventistcare@python.org
[mailto:python-list-bounces+frsells=adventistcare@python.org] On
Behalf Of Steve Piercy - Web Site Builder
Sent: Wednesday, October 27, 2010 8:24 AM
To
Since your keys are not unique, I would think that you would want a list
of values for the object corresponding to each key. Something like
Mydict = {}
Mydict.setdefault(mykey, []).append(avalue)
-Original Message-
From: python-list-bounces+frsells=adventistcare@python.org
[mailto:p
ot;M-x"
and see the M-x prompt, then then type "set-selective-display"
using tab to autocomplete it. But I can't then type a column
number after a space or in parens or anything. What am I missing?
Thanks,
--Fred
-----
Ben,
Excellent answer! Thanks!
--Fred
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without walls and fences, we
Hi
I want to write little program that my friend can run - he'll plug a USB drive
into his Windows 7 PC, plug his phone in a USB port on same PC, then run my
program and it'll xfer some audiobook files over for him.
I plugged the USB drive in and it became "G:\", but the phone plugged in and
b
Yup, that seems to be the deal, and there doesn't seem tpo be a really simple
way to deal with this. ...but at least I know what I need to look for.
thanks! Freddie
eryk sun wrote:
>On Tue, Jun 6, 2017 at 7:36 PM, Fred Fishbin wrote:
>>
>> I want to write little progra
t-q-java-q-perl.html
Hope this helps,
--Fred
--
Fred Stluka -- [3]mailto:f...@bristle.com -- [4]http://bristle.com/~fred/
Bristle Software, Inc -- [5]http://bristle.com -- Glad to be of service!
Open Source: Wit
imple anymore.
Freddie
wxjmfa...@gmail.com wrote:
Le mardi 6 juin 2017 21:37:24 UTC+2, Fred Fishbin a écrit :
>> Hi
>>
>> I want to write little program that my friend can run - he'll plug a USB
>>drive
>> into his Windows 7 PC, plug his phone in a USB port on sa
Lawrence_D?Oliveiro wrote:
>On Thursday, June 8, 2017 at 3:41:35 PM UTC+12, Fred Fishbin wrote:
>> Yup, that seems to be the deal, and there doesn't seem tpo be a really
>>simple
>> way to deal with this.
>
>The preferred way to do file transfers to/from Androi
Lawrence_D?Oliveiro wrote:
>On Thursday, June 8, 2017 at 3:41:35 PM UTC+12, Fred Fishbin wrote:
>> Yup, that seems to be the deal, and there doesn't seem tpo be a really
>>simple
>> way to deal with this.
>
>The preferred way to do file transfers to/from Androi
such code snippets:
- http://pythontutor.com
At the "Edit code" link, you can type/paste your own Python
statements and have the tool single-step though them. At each
step, it draws the data structures with values, links to other data
structures, etc. A great Python visualization
I feel like an idiot. I'm going thru "Dive Into Python" and running the
first program - odbchelper.py
My output is "pwd=secret;database=master;uid=sa;server=mpilgrim" which
has all the substrings reversed from the output documented in the book.
I've run the downloaded code in Komodo, PythonWin and
Thanks, after I looked into it I realized that the output order can
change arbitarily. It just seems kind of strange that the first example
is one where your output might not match what the author tells you it
should be - and yet there's no mention of this in the book (at least at
that point.)
--
I heard I need to port C program to JPython first and compile it to
native JAVA. I don't know
anything about JPython. Is there a tool to do the porting? If not,
what is the quickest way to learn
JPython?
Thanks,
Fred
--
http://mail.python.org/mailman/listinfo/python-list
from Python. Can it be done?
>
> Thanks, Mark
Your best bet will be to create a C library callable from Python to do it
for you. There may be such a beast in existence already, but it should not
be hard at all to do, given the simplicity of the requirements.
--
-- Fred of UrlBit.Us
--
rtunately, not enough time was available from people with
sufficient Roundup know-how to finish that effort. I still think that would
be really nice.
-Fred
--
Fred L. Drake, Jr.
--
http://mail.python.org/mailman/listinfo/python-list
27;:break #
.except ValueError:
. print "Oops! That was no valid number. Try again..."
. pass
.'s are to preserve indents.
fred
--
http://mail.python.org/mailman/listinfo/python-list
1) the tutor list is really slow. but thanks.
2) Thanks Brain, i was missing the string bit. the code i posted (opps)
was not exactly where i was having problems, it just looked like it.
also thanks for the 'in' test, that will come in handy.
i am using chain because i need to do something differ
I want to get the selection of several wxChoice boxes.
But i do not want to have to catch the events for all the boxes
I should be able to access the current selection outside of an
event,but i am not seeing how to do this.
This is a hack of the wxpython choice demo to demonstrate my question
#-
don't count out py2exe, especially if your using pywin32's
--
http://mail.python.org/mailman/listinfo/python-list
noob warning:
what is so wonderful about the NEW class over the old ?
--
http://mail.python.org/mailman/listinfo/python-list
201 - 249 of 249 matches
Mail list logo