On Mon, 2020-05-18 at 19:28 -0400, Dan Sommers wrote:
> On Tue, 19 May 2020 09:55:04 +1200
> Juergen Brendel wrote:
>
> > ... he prefers snake-case.
>
> That's not snake_case. That's kebab-case.¹
>
> ¹ https://wiki.c2.com/?KebabCase
:-)
--
https://ma
20 years
now and it has served me well.
Juergen
On Mon, 2020-05-18 at 21:07 +, Eli the Bearded wrote:
> In comp.lang.python, Paul Rubin wrote:
> > I don't know if this was the explicit motivation for PEP 8, but it
> > has always seemed valid to me:
> >
> >
re your sources are: "cdproject"
* Completely wipe all installed dependencies of the virt-env with a
single command: "wipeenv"
It really makes it easy working with many different Python projects.
Juergen
On Tue, 2020-04-21 at 11:35 -0300, jorge.confo...@inpe.br wrote:
>
>
w the code that was actually called,
though, not all the code (and attributes for that matter) that COULD
conceivably be used under some other circumstances.
Nevertheless, it's a good start to see what your code relies on when
under use.
Juergen
On Mon, 2020-04-20 at 23:50 -0400, Bob Gailer
ated:
count += 1
All in all, I like the proposal, but I'm not sure it would buy us that
much. Specifically, I'm not sure that it would help a lot with
readability and may end up making it worse, since you'll have a higher
chance of having those line-breaks.
Juergen
--
https://mail.python.org/mailman/listinfo/python-list
Hello!
Can you elaborate on what you mean by "use directly"?
Juergen
On Thu, 2020-04-02 at 01:12 +0400, Abdur-Rahmaan Janhangeer wrote:
> Greetings list,
>
> I was viewing requests https://github.com/psf/requests
>
> I know we can do `requests.get`
>
> Found
>> One possible solution is to somehow redirect every __builtins__ to a
>> function that returns a different __builtins__ dictionary for each thread
>> (such a function already exists).
>How exactly does the code reference it? If they're simply referring to
>the name __builtins__ at module level,
ay to add any
methods here)
I could do it if there was any way to load .py-files as any other class
than , maybe as a subclass, but I do not know how this could be
done.
So, I am really at a loss here.
Any help would be greatly appreciated.
Regards,
Juergen Bartholomae
--
http://mail.python.org/mai
pobox.com> writes:
> but that's not what I was thinking of. I thought there was a site with a
> bunch of smaller examples.
http://langref.org/ is another one.
--
http://mail.python.org/mailman/listinfo/python-list
Gabriel schrieb:
Hello
I need to write a software router [yes, software equivalent to a
hardware box that is routing packets .)]. It's a school
work..
Question is: is possible write this kind of application in python? and
if it's, what module should i use?
I tried search for some libpcap equi
ven't had a deeper look into the BOOST Python bindings, (www.boost.org)
but they have a rather good reputation. Perhaps there is something in it
that takes away most of the burden.
--
juergen 'pearly' perlinger
"It's hard to make new errors!"
--
http://mail.python.org/mailman/listinfo/python-list
might be hard to use them properly if you don't
have the understanding.
4. Simplicity can be deceptive.
--
juergen 'pearly' perlinger
"It's hard to make new errors!"
--
http://mail.python.org/mailman/listinfo/python-list
Juergen Perlinger wrote:
> [EMAIL PROTECTED] wrote:
> [snip]
> Basically you're not using ASCII encoding in your source text... You need
> to define an encoding for your source if you're using german umlauts or
> other fancy stuff.
>
> See chapter 2.1.4 of th
.
# -*- coding: utf-8 -*-
as first or second line to your script. Make sure your editor talks utf-8,
or use the encoding used by your editor. cp1552 is a good choice for
windows...
--
juergen 'pearly' perlinger
"It's hard to make new errors!"
--
http://mail.python.org/mailman/listinfo/python-list
ts are that the SIOCGIFADDR opcode has a different numerical value for
BSD. Even if some names are portable, the numerical values aren't! I don't
have BSD, but using
find /usr/include -type f -name '*.h' | xargs grep SIOCGIFADDR /dev/null
should give some hints...
--
juerg
Diez B. Roggisch schrieb:
>> And I have been benefiting from Python in general, so far. Thanks,
>> community.
>>
>> But now... I'll probably stop posting here for now, & I may stop other
>> things too.
>>
>> Just my 2c.
>
> You know what I was just wondering about? All these C-written
> cross-pla
On Thu, Jul 12, 2007 at 11:26:22AM -0700, Paul Rubin wrote:
>
> Guy Steele used to describe functional programming -- the evaluation
> of lambda-calculus without side effects -- as "separation of Church
> and state", a highly desirable situation ;-).
>
> (For non-FP nerds, the above is a pun refe
Gabriel Genellina schrieb:
> En Mon, 18 Jun 2007 09:13:16 -0300, Juergen Kareta <[EMAIL PROTECTED]>
> escribió:
>
>> I'm thinking about a python script which fetch some text from the screen
>> independent of what application provides the text on the screen
Hello list,
I'm thinking about a python script which fetch some text from the screen
independent of what application provides the text on the screen. In this
regard it should be similar to the babylon software: www.babylon.com
Here my thoughts:
1) getting the mouse position
2) calculate a ade
> Or install the numpy-1.0rc2 binary which is now again available on
> sourceforge.
Hello Travis,
thanks for your help. Going back to the 1.0rc2 release was successful.
Ok, I had also to copy wxmsw26uh_vc.dll to my path and get around
wx.PrindData.SetPrinterCommand, but that's because I run w
Hello,
this is my first try to get wxmpl-1.2.8 running. Therefor I installed:
python 2.5
matplotlib-0.87.6.win32-py2.5.exe
numpy-1.0rc3.win32-py2.5.exe
on WinXP SP2
The result is a version mismatch (see below).
Numpy version 102 seems to be numpy-1.0b5 which is not downloadable
anymore. A
hello,
i have a question!
how would i fix the following problem:
now i have an input file with a fix name and an output file!
i have this two files hardcoded written in the sourcecode of this function!
in the future i will start this script with the command line.
the syntax should be look like
| 1|4
>> AND_BOOL_N10 | 4 | 1 |4
>> AND_BOOL_N12 | 4| 1|4
>>
>>
>>
>> Is there a way to put this output in an file?!?! i searched about 2h
>> for this, but i couldn`t find an answer!
>>
>> thnks, juergen
--
http://mail.python.org/mailman/listinfo/python-list
h for
this, but i couldn`t find an answer!
thnks, juergen
--
http://mail.python.org/mailman/listinfo/python-list
this helps me!
thank you very much!
greetings, juergen
JH> Fredrik Lundh wrote:
>> Juergen Huber wrote:
>>
>>> ok...i thought as much, that i have to copy this file!
>>>
>>> how will i do that?!
>>> how will i fix this file =>
Fredrik Lundh wrote:
> Juergen Huber wrote:
>
>> ok...i thought as much, that i have to copy this file!
>>
>> how will i do that?!
>> how will i fix this file => delete the first line?!
>>
>> with which commands could i do that?!
>
> st
Fredrik Lundh wrote:
> Juergen Huber wrote:
>
>> i am a dummy user in python and new in this programming language and
>> so there will be questions, that´s for you no problem! i never have
>> before programmed in any language! sorry for this! i hope you will
>>
! :)
the first question for me in this newsgroup will be the follow one:
- is there a way to delete in a csv-file the first line?!
big thanks, juergen
--
http://mail.python.org/mailman/listinfo/python-list
hi,
I've got a problem sending floating point values to an corba server.
With other datatyes like short or string it works fine.
So having this idl file :
module Example{
interface User{
void setV( in float x );
};
interface Target{
gene tani schrieb:
> http://users.cs.cf.ac.uk/J.P.Giddy/python/decompiler/decompiler.html
Thanks for the links.
Regards,
Jürgen
--
http://mail.python.org/mailman/listinfo/python-list
Hi Paul,
I had looked to the same link and downloaded the package. Maybe I'll
give it a try at the christmas holidays - hope so ;-)
Thanks
Jürgen
--
http://mail.python.org/mailman/listinfo/python-list
Hi Steven,
>What makes you think I'm a serious programmer? *wink*
Ok, it's not a 'serious' investigation, but maybe it could be, that you
(sometimes) quote something usefull ;-)
> Python's byte-code is not exactly as easy to understand as native Python,
> but it is still understandable. And
Hi Steven,
> For many purposes, you can just distribute the .pyc compiled byte-code.
> That will discourage the casual user from reading the source code, but
> of course a serious programmer will be able to disassemble the .pyc code
> very easily.
very easily ?
I tried it with my own code a y
py schrieb:
> how about wxPython? I am interested in something that will look native
> on various operating systems (win, mac, *nix).
>
> any good tutorial on using wxPython with XML?
>
look at
http://wiki.wxpython.org/index.cgi/UsingXmlResources
--
http://mail.python.org/mailman/listinfo/pyth
34 matches
Mail list logo