On Thu, Feb 10, 2011 at 11:52 AM, rantingrick wrote:
>
> Oh, and about your problem. READ THE FREAKING MANUAL!
>
>
Google Translation: i have no clue
--
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032
--
http://mail.python.org/mail
On Thu, Feb 10, 2011 at 12:01 PM, Terry Reedy wrote:
> On 2/10/2011 11:52 AM, Ethan Furman wrote:
>
> Jason Swails wrote:
>>
>
>
> How is "while n != 0:" any worse?
>>>
>>
> 1. It is redundant, just like 'if bool_value is not False:'
Hello,
Is chilkat the best option for doing this?(Sending email via proxy)
Kind Regards,
Jason Sergeant
This email has been processed by SmoothZap - www.smoothwall.net
--
http://mail.python.org/mailman/listinfo/python-list
ommand. It's quite useful for
testing compatibility of scripts that use "#!/usr/bin/env python" as the
shebang line. I haven't tried Fink, but the MacPorts approach works well
for me.
Good luck!
Jason
>
> Cheers,
> Chris
> --
> http://mail.python.org/mail
I saw this posted in the July issue but did not see any follow-up there:
$ python
Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 500
>>> b = 500
>>> a == b
True
>>> a is b
False
>>> p = 50
>>> q
On Apr 26, 8:21 am, rk wrote:
> Hi,
>
> I am python novice, trying to convert a boost::gregorian::date out to
> python using PyDateTime C-api interface. I was coring because the C-
> API failed to initialize. The error was:
>
> AttributeError: "module" object has not attribute datetime_CAPI
>
> A
On May 2, 12:54 pm, Andreas Löscher wrote:
> Hi,
> I am looking for an easy to use parser. I am want to get an overview
> over parsing and want to try to get some information out of a C-Header
> file. Which parser would you recommend?
>
> Best,
> Andreas
Pyparsing: http://pyparsing.wikispaces.com
No. 1 Shunhua Rd High-Tech Development Zone
Jinan, China 250101
Website: http://www.haulynjason.net/haulyn
Mobile: +86 15854103759
Haulyn Jason
--
http://mail.python.org/mailman/listinfo/python-list
On May 21, 3:21 am, Deep_Feelings wrote:
> python is not a new programming language ,it has been there for the
> last 15+ years or so ? right ?
>
> however by having a look at this pagehttp://wiki.python.org/moin/Applications
> i could not see many programs written in python (i will be intere
packed into
the system and uses python. e.g. GUI based tools, system scripts etc.
There is however never been an issue to locate different version of python
in your system as you deem fit without problems.
So I dont understand why your concern.
regards
Jason
posted
On Jun 8, 9:37 am, Peter Otten <__pete...@web.de> wrote:
> Ross Williamson wrote:
> > Hi Everyone,
>
> > Just a quick question - Is it possible to assign class variables in
> > the __init__() - i.e. somthing like:
>
> > def __init__(self,self.source = "test", self.length = 1)
>
> > rather than
>
>
n
Surge is just what you've been waiting for. For more information,
including CFP, sponsorship of the event, or participating as an
exhibitor, please contact us at su...@omniti.com.
Thanks,
--
Jason Dixon
OmniTI Computer Consulting, Inc.
jdi...@omniti.com
443.325.1357 x.241
--
http://mai
icipating as an exhibitor, please
visit the Surge website or contact us at su...@omniti.com.
Thanks,
--
Jason Dixon
OmniTI Computer Consulting, Inc.
jdi...@omniti.com
443.325.1357 x.241
--
http://mail.python.org/mailman/listinfo/python-list
your business sponsor/exhibit at Surge 2010, please contact us at
su...@omniti.com.
Thanks!
--
Jason Dixon
OmniTI Computer Consulting, Inc.
jdi...@omniti.com
443.325.1357 x.241
--
http://mail.python.org/mailman/listinfo/python-list
$ python
Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> "x.vsd-dir".rstrip("-dir")
'x.vs'
I expected 'x.vsd' as a return value.
--
http://mail.python.org/mailman/listinfo/python-list
2010/7/20 Νίκος :
> Hello guys! This is my first post in this group!
I do not have an answer to your question, other than to suggest you
look at (and/or post) relevant lines from Apache's access.log and
error.log.
I write mostly to say that, in my experience, folks on this list are
very helpful,
hich is better than what Python can say. If you happen
to be believe that Microsoft is likely to attack Free Software via
patents then Mono is arguably the safest choice. Especially if you
confine yourself to the ECMA-sponsored core and the Free Software
libraries that are not re-implementations of Microsoft's technology.
Jason
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 2009-06-17 at 15:38 -0700, Chris Rebert wrote:
> See what Emile said, but here's a nicer way to code it, IMHO:
>
> titles = ['Dr', 'Miss', 'Mr', 'Mrs', 'Ms']
> title_choices = zip(range(len(titles)+1), ['']+titles)
>
> zip() to the rescue!
How about:
enumerate([''] + titles)
--
htt
Why does IDLE use two hash marks for comments (##)? Most other editors
(Geany, SPE) use a single hash mark (#) to designate comments.
How does one change IDLE to use just a single (#) hash mark for
comments?
Thanks,
Jason Gervich
Santa Cruz, CA
--
http://mail.python.org/mailman/listinfo/python
ut which Python editor
to use, IDLE is seldom mentioned. Perhaps the Curse of the Gnuby lies
upon it!
Thanks for the quick response.
Jason Gervich
Santa Cruz, CA
On Fri, 2009-06-19 at 20:51 -0700, Chris Rebert wrote:
> On Wed, Jun 17, 2009 at 11:23 PM, Jason Gervich wrote:
> > Wh
On Jun 25, 10:32 pm, a...@pythoncraft.com (Aahz) wrote:
> In article ,
> Tom Reed wrote:
>
>
>
> >Why no trees in the standard library, if not as a built in? I searched
> >the archive but couldn't find a relevant discussion. Seems like a
> >glaring omission considering the batteries included phil
raised StopIteration), it seems that gen.gi_frame will be
None.
Cheers,
Jason.
--
http://mail.python.org/mailman/listinfo/python-list
,2,3]
>>> l2 = l1
>>> l1 = []
>>> print l2
[1, 2, 3]
So the original list 'l1' lives on. However:
>>> l1 = [1,2,3]
>>> l2 = l1
>>> del l1[:]
>>> print l1, l2
[] []
Cheers,
Jason.
--
http://mail.python.org/mailman/listinfo/python-list
de a closure, I prefer this
idiom:
def foo():
def bar():
print bar.a
bar.a = 4
print bar.a
bar.a = 2
bar()
Python 3's nonlocal is obviously much more elegant.
Cheers,
Jason.
--
http://mail.python.org/mailman/listinfo/python-list
ot;)')
1.698289155960083
>>> timeit.timeit('unicode("foobarbaz", "utf-8")')
0.53305888175964355
So indeed, uncode(s, 'utf-8') is faster by a fair margin.
On the other hand, unless you need to do this in a tight loop several
try for common encodings (which
includes 'utf-8' specifically), whereas s.decode('utf-8') necessarily
consults the codec registry.
Cheers,
Jason.
--
http://mail.python.org/mailman/listinfo/python-list
ainly disagree with the need to use profanity on your usenet
post on the subject, but it is hard to argue against your
whitespace-mode.html page. Very well done.
Thanks,
Jason
--
http://mail.python.org/mailman/listinfo/python-list
But that's obviously not a documented, public interface. Amusingly,
even in 3.1, the code for AddrlistClass says:
Note: this class interface is deprecated and may be removed in
the future. Use rfc822.AddressList instead.
Is there some non-deprecated method I can use to parse an RFC 2822
address list?
Thanks,
Jason.
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 2009-09-16 at 14:49 -0400, Jason Tackaberry wrote:
> Since the rfc822 module was removed in Python 3, and is deprecated in
> 2.3, I am obviously trying to avoid using it.
>
> But I'm having a hard time finding an equivalent to rfc822.AddressList
> in the email module,
ome_network_stuff()
kaa.main.run()
Of course, it does require a "coroutine scheduler" be implemented,
which, in kaa, is taken care of by the main loop.
Cheers,
Jason.
[1] The curious can visit http://doc.freevo.org/api/kaa/base/ and
http://freevo.org/kaa/ although a 1.0 hasn't yet been released and the
docs are still rather sketchy.
--
http://mail.python.org/mailman/listinfo/python-list
rse the coroutine
implementation supports preemption.
Cheers,
Jason.
--
http://mail.python.org/mailman/listinfo/python-list
-defined points of reentry. But I don't believe it's a
necessary condition that coroutines allow arbitrary (in the
non-deterministic sense) reentry points, only multiple.
Cheers,
Jason.
--
http://mail.python.org/mailman/listinfo/python-list
t and guarantee your seat to this year's event!
--
Jason Dixon
OmniTI Computer Consulting, Inc.
jdi...@omniti.com
443.325.1357 x.241
--
http://mail.python.org/mailman/listinfo/python-list
Will this webcast/webinar perform on Linux?
Jason
On Tue, 2010-09-07 at 14:08 -0700, Kendra Penrose wrote:
> Connecting the Dots: US SEC, ABS Mandates, Financial Modeling and Python
>
> Date: Wednesday September 22, 2010python-announce-l...@python.org,
> Time: 10:00am PST/1:00pm ES
#x27;t really use Windows any more, so I might be off the mark, but I
think that you need to look into using pythonw.exe instead of
python.exe. Solving your problem might be as easy as changing the name
of your file from foo.py to foo.pyw.
Jason
--
http://mail.python.org/mailman/listinfo/python-list
If anyone can tell me why the dictionary from 2 different objects are
exactly the same for pointers, but are different for, e.g. parm_data and
formats, that would be greatly appreciated.
Thanks!
Jason
--
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-3
ves backwards compatibility to pythons older than 2.6.
Before I found out how to cancel the %, the statement looked like ("%"+"%s"
% format) % number. Not much of a change, but still a nice thing to know
since I play with %s a lot.
Thanks! (even though I'm not the original
ne
> %d:\nfile(%d):\"%s\"\narray(%d):\"%s\"" %
> (i+1, len(line), line, len(data[i]), data[i])
>i += 1
>sys.exit()
>
> #-
>
> I feel that I must be doing something very stupid, but I don't really
> know what.
>
> Any i
> --
> Michel Claveau
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032
--
http://mail.python.org/mailman/listinfo/python-list
s=[zero,one,zero,one,zero,one,zero,one,zero,one]
>
> inputted_digit=sys.argv[1]
> column_max=len(inputted_digit)
> row_max=3
>
> r=0
> while r<3:
> line=""
> c=0
> while c digit_i=int(inputted_digit[c])
> digit=digits[digit_i]
> line+=digi
Hello,
The Popen call does not return if the underlying OS call runs longish,
as the example below shows.
Although, if the underlying OS call is merely "sleep N" it will return
even after quite a long time.
wikiu...@dvprwiki1:~> python --version
Python 2.6.4
wikiu...@dvprwiki1:~> time /opt/confl
new to python. I just wanna learn it
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
--
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032
--
http://mail.python.org/mailman/listinfo/python-list
the program, so that didn't
add to the time of the math-execution.
Good luck!
Jason
=> (1.2345, 7)
>
> (0.12345, 8) would also be acceptable.
>
>
> The math module has a frexp() function, but it produces a base-2 exponent:
>
> >>> math.frexp(1.2345e7)
&g
; me(12345)
> (0.12351, 5.0)
> >>> me(1.2345e-9)
> (0.12351, -8.0)
> >>> me(1.2345e-9, 2)
> (0.12, -8.0)
>
> Best regards,
> Chris Smith
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032
--
http://mail.python.org/mailman/listinfo/python-list
I import the module and execute
> simpleModule.Starter().init(48)
>
If you had renamed the function __init__ above, all you would have to do is:
instance_of_starter = Starter(48)
Which makes more sense IMO.
Good luck!
Jason
>
> on mac I get an error if i do not give the full pat
On Fri, Oct 8, 2010 at 3:39 PM, Jason Swails wrote:
>
>
> On Fri, Oct 8, 2010 at 10:16 AM, tinauser wrote:
>
>> hi, sorry if it is a stupid qustio,but i cannot figure out where's the
>> problem.
>> i've a simpleModule:
>> class Starter:
>&g
On Mon, Oct 11, 2010 at 9:25 AM, Andreas Waldenburger
wrote:
> On Mon, 11 Oct 2010 23:51:46 +1300 Lawrence D'Oliveiro
> wrote:
>
> > In message ,
> > Emile van Sebille wrote:
> >
> > > Oh come now -- isn't being lazy a primary programmer's attribute?
> >
> > I wonder if that’s why more men are g
On Mon, Oct 11, 2010 at 11:11 AM, Robert Kern wrote:
> On 10/11/10 8:44 AM, Jason Swails wrote:
>
>>
>>
>> On Mon, Oct 11, 2010 at 9:25 AM, Andreas Waldenburger
>>
>> wrote:
>>
>>On Mon, 11 Oct 2010 23:51:46 +1300 Lawrence D'Oliveiro
>
On Mon, Oct 11, 2010 at 3:05 PM, Robert Kern wrote:
> On 10/11/10 11:44 AM, Jason Swails wrote:
>
>>
>>
>> On Mon, Oct 11, 2010 at 11:11 AM, Robert Kern > <mailto:robert.k...@gmail.com>> wrote:
>>
>>On 10/11/10 8:44 AM, Jason Swails wrote:
&g
Try setting the compiler itself as "gcc -m32"
--
Jason Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032
On Oct 12, 2010, at 8:29 PM, Gregory Ewing wrote:
> I'm getting my Python environment set up on a new
> Snow Leopard machine, an
n the patch file itself, then
this will be automatic. Otherwise, you'll need to specify the file you want
to patch. You can see the man page for more details and options.
Good luck!
Jason
> thanks
> jim
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Jason M
a bit strange. The printed
> python docs come to several thousand pages. Do we want them to be 1
> manpage? a hundred? a thousand?
I am pretty conversant with the Python documentation. I almost never
need to search them. I do miss being able to read (and search) the
documentation in
>
> I made a tool called PythonBuddy (http://pythonbuddy.com/).
>
> I made this so that MOOCs like edX or codecademy could easily embed and
> use this on their courses so students wouldn't have to go through the
> frustrations of setting up a Python environment and jump right into Python
> programm
>
> I have this code which I got from https://www.tutorialspoint.
> com/python/python_command_line_arguments.htm The example works fine but
> when I modify it to what I need, it only half works. The problem is the
> try/except. If you don't specify an input/output, they are blank at the end
> but i
>
> However, it's simply a technical fact: the thing which we moderate is the
>> mailing list. We can control which posts make it through from the newsgroup
>> by blocking them at the gateway. But the posts will continue to appear on
>> comp.lang.python which is, as the description says, unmoderate
>
> The example command is: Lockable("diary", "under Sam's bed", tiny_key,
> True)
>
> And I keep getting a NameError: tiny_key is not defined.
>
> What do I do?
>
Without knowing what your professor intends this is a guess: define
tiny_key. For example
tiny_key = "some string"
thing = Lockable
>
> P=input("X/O:")
> if P=="X":
> my_func1()
> else:
> my_func2()
>
>
>
> why cant function to print X or O win...
>
As a beginner I'd try to code using Python idioms rather than writing
Python using BASIC idioms.
Try to understand how this code works:
https://codereview.stackexchange.com
< start code >
import itertools
data = """Line1
Line2
Line4
Line5"""
def test_to_start(s):
return "2" in s
for line in itertools.dropwhile(test_to_start, data.splitlines()):
print(line)
< end code >
I expect:
$ python3 dropwhile.py
Line2
Line4
Line5
I get:
$ pyth
letely discarded.
So basically I want access to the intermediate AttributeError that caused
__getattr__ to be raised in the first place.
This is complicated, and I may have explained something poorly. If so,
please don't hesitate to ask for more explanation or examples. This is
already long, so I'll stop typing now.
Thanks,
Jason
--
https://mail.python.org/mailman/listinfo/python-list
-- I.e.
if you just remove @property from the first example, it returns the full
error stack exactly like we'd expect. That means the @property is changing
the call order (?) in some way that I don't understand.
Thanks!
Jason
On Tue, May 2, 2017 at 7:11 PM, Ethan Furman wrote:
> On 0
Thank you Ethan and Chris for the tips. I may be able to adapt that
decorator for my use cases -- I hadn't thought of using something like
that. Ethan, I'll drop a note over at Python Ideas too with some details
about this.
Thanks for your help,
Jason
On Tue, May 2, 2017 at 9:47
>
> menu_list = ["O -open account"]
> menu_list =["l - load details"]
> menu_list =["D- display details"]
> menu_list =["A - Make deposit"]
> menu_list =["W- Make withdraw",]
> menu_list =["S - save"]
> menu_list =["Q - quit"]
>
> command = input("command:")
> if command.upper() == "O":
> open_()
>
>
>
>> The first section does not do what I think you want: a list with 7
> options. It makes a list with one option, then overwrites it with a new
> list with one option, and so on. You want something like:
> menu_list = [
> "O - open account"
> "L - load details"
> "D - display det
>
> I have a problem to finding file in Python path,Anybody knows how to solve
> it?
>
> Unexpected error:
> Traceback (most recent call last):
> File
> "/home/nurzat/Documents/vmtk-build/Install/bin/vmtklevelsetsegmentation",
> line 20, in
> from vmtk import pypeserver
> File "/usr/loca
>
> I need the triangle to be in reverse. The assignment requires a nested
> loop to generate a triangle with the user input of how many lines.
>
> Currently, I get answers such as: (A)
>
> OOO
> OO
> O
>
> When I actually need it to be like this: (B)
>
> OOO
>OO
> O
>
Try the
on turns out to
>> be something other than python?
>
> And it's bizarre that the OP, since he despises Python so much, and
> finds its syntax absurd, would even bother to make any sort of
> implementation of it.
>
--
Jason C. McDonald (CodeMouse92)
Author | Speaker | Hacker | Time Lord
--
https://mail.python.org/mailman/listinfo/python-list
t;
>
>
>
>Sent from [1]Mail for Windows 10
>
>
>
> References
>
>Visible links
> 1. https://go.microsoft.com/fwlink/?LinkId=550986
--
Jason C. McDonald (CodeMouse92)
Author | Speaker | Hacker | Time Lord
--
https://mail.python.org/mailman/listinfo/python-list
s open
> source on github.
>
> Claim #2, "he invented smartphones":
>
> Yes, he did (as part of a team) create the first smartphone,
> the Ericsson R380:
>
> https://en.wikipedia.org/wiki/Ericsson_R380
>
> /Toaster
--
Jason C. McDonald (CodeMouse92)
Author | Speaker | Hacker | Time Lord
--
https://mail.python.org/mailman/listinfo/python-list
SS
> person is ever called for any possibly disrespecting words or
> behavior. A fluffy cloud echo chamber where everybody just accepts
> and respects you for what you are. Does the concept sound familiar?
>
>
> P.S.: *NOT* among the core symptoms of (the high-functioning levels)
> of ASS is the inability to learn. Mind that! (And that includes
> social norms.)
--
Jason C. McDonald (CodeMouse92)
Author | Speaker | Hacker | Time Lord
--
https://mail.python.org/mailman/listinfo/python-list
e the aforementioned on further inspection. (But I don't know
all cases either.)
> I do agree asking people to simply not be stupid doesn't seem to work
> these days for whatever reason.
I hadn't noticed. ;)
--
Jason C. McDonald (CodeMouse92)
Author | Speaker | Hacker | Time Lord
--
https://mail.python.org/mailman/listinfo/python-list
eason
not to adopt pyproject.toml...and the topic thus became weirdly
political.
I understand that Brett Cannon intends to bring this up at the next
language summit, but, ah, might as well put the community two-cents in
now, hey?
I, for one, feel like this is obvious.
--
Jason C. McDonald (CodeMo
http://imgur.com/a/rfGhK#iVLQKSW
How do I code a function that returns a list of the first n elements of the
sequence defined in the link? I have no idea!
So far this is my best shot at it (the problem with it is that the n that i'm
subtracting or adding in the if/else part does not represe
well, but that doesn't mean they'll
necessarily enjoy it. I'm actually rather curious why you *need*
to become "efficient" (proficient?) in Python? Work requirement?
By the way, you should put your message the the BODY of the email,
not in the subject line. Keep subject lin
ators and abuse them
thusly, that's a consenting adults situation. Introducing this new
syntax into the language creates a trip hazard for the user.
Third, that proposed operator, .= oww that's hard to see. It looks
like a typo, and could easily be typed as one, or overlooked altogether
(ag
d typing sys.stdin.fileno() returns an AttributeError: fileno.
Is this a bug in idle, or is this normal? If it's normal is
there a work around for it?
Thanks for any replies and references to more info
on this issue.
Sincerely,
Jason Burke--
http://mail.python.org/mailman/listinfo/python-list
me text\na new line",
23 "Segoe UI",
24 40,
25 "True"))
Any and all feedback is much appreciated. As I said, I'm just beginning to
learn Python and want to start off with a solid foundation. Thank you to
everyone in advance for your time and thoughts.
Jason
--
https://mail.python.org/mailman/listinfo/python-list
me text\na new line",
23 "Segoe UI",
24 40,
25 "True"))
Any and all feedback is much appreciated. As I said, I'm just beginning to
learn Python and want to start off with a solid foundation. Thank you to
everyone in advance for your time and thoughts.
Jason
--
https://mail.python.org/mailman/listinfo/python-list
if you use a newer version of pip i think this should work.
On Tuesday, October 22, 2013 9:11:40 AM UTC-4, Neal Becker wrote:
> IIUC, it is perfectly legitimate to do install into --user to override system-
>
> wide installed modules. Thus, I should be able to do:
>
>
>
> pip install --user
code to run on both Py2 and Py3.
NINJA-IDE (an open source Python IDE) will lint your code so it'll run
in both.
--
Jason C. McDonald (CodeMouse92)
[CEO, Lead Dev @ MousePaw Games]
--
https://mail.python.org/mailman/listinfo/python-list
You could pull those in to your project.
--
+---+
| Jason F. McBrayer[EMAIL PROTECTED] |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors. --- The Dhammapad
, re-write that line with the new value, quit). Is
there a better way to do this? There almost has to be...
If not, are there some 'best practices' on how to do the self-
modification?
Thanks for any help;
Jason
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 25, 11:10 am, [EMAIL PROTECTED] wrote:
> I would think you could pop-up some dialog when the program is first
> run to ask where they want the file to be. On the first run though,
> you can just have the config file located in the current working
> directory with the script file itself. Then
a python package (it's a standalone program).
--Jason
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 25, 12:14 pm, [EMAIL PROTECTED] wrote:
>
> usersChosenPath = /usr/Path/to/Config
>
>
> Kind of redundant, but I would think it would still work.
Ok... How do I tell the program where the INI file lives?
(What I want is to be able to ask the user
Where do you want the datafile to live?
Basically, this doesn't work for the same reason that DRM doesn't
work.
--
+---+
| Jason F. McBrayer[EMAIL PROTECTED] |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all
whole other level of complexity here.
Thanks,
Jason
p.s. There is a sad message on Freetype's website about this
("Unfortunately, no mature Python bindings for FreeType 2 are
available currently..."), right above its notes about all the other
languages that do have bindin
't use backspace, you have to use "X". What does
> backspace do when not in insert mode? It just moves you through the text.
> What does the forward-delete key do? In both modes, it actually deletes
> text!
Actually, vim always deletes the same way regardless of when it was
inserted -- one of the many *improvements* over vi.
That's my religion anyway ;-), but I thought this was a python mailing list ;-)
Jason
>
> At least with Emacs, text is text--it doesn't matter when it was inserted,
> it still behaves the same way.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list
On 9/26/07, Neil Cerutti <[EMAIL PROTECTED]> wrote:
> On 2007-09-26, Jason M Barnes <[EMAIL PROTECTED]> wrote:
> > Off the top of my head, I can think of a few vim commands that
> > have come in handy. I can search through a webpage in Firefox
> > by using the sam
which in turn holds a pointer to l and r, so when you change l or r, x
(and s indirectly) is still pointing to the same lists which by the
end of your loop have changed to r=[] and l=[0,1,2].
BTW: It's not really "misbehaving." It's doing exactly what you're
telling it to do ;-)
Jason
--
http://mail.python.org/mailman/listinfo/python-list
thing"
or, even more simply:
if regularExpressionCheck:
print "Something"
I recommend that you peruse a Python tutorial or two. These are
fairly basic attributes of the Python language. If you're using
regular expressions, you'll want to be aware of how to make raw
strings to help you out.
--Jason
--
http://mail.python.org/mailman/listinfo/python-list
I use Eclipse (www.eclipse.org) with the PyDev plugin
(pydev.sourceforge.net).
--
http://mail.python.org/mailman/listinfo/python-list
thing like:
deleting <__main__.X object at 0x01BB1A50>
caught exception, np
made it past the exception
x has been deleted, now what?
"""
# - Jason R. Coombs
--
http://mail.python.org/mailman/listinfo/python-list
'm willing to take up the latter effort if there's agreement this
could be included in the release.
Regards,
Jason R. Coombs
--
http://mail.python.org/mailman/listinfo/python-list
(see lib/urlparse for a prime example of extending the
namedtuple class).
Regards,
Jason
-Original Message-
From: Calvin Spealman [mailto:[EMAIL PROTECTED]
Sent: Friday, 13 June, 2008 12:17
To: Jason R. Coombs
Cc: python-list@python.org
Subject: Re: namedtuple suggestions
On Jun 13, 2008
The current implementation of Python (2.6.4, 3.1.1) treats \bar as a
relative path but reports it as an absolute path.
>>> ntpath.isabs('\\bar')
True
>>> ntpath.abspath('\\bar')
'C:\\bar'
>>> os.chdir('d:\\')
>>> ntpath.abspath('\\bar')
'd:\\bar'
>>> os.chdir('server\\share')
>>> ntpath.abspat
On Nov 20, 3:52 pm, Ethan Furman wrote:
> It is often said on this list that 'Python is not Java'. It is also
> true that 'Windows is not Unix'.
>
> Unlike the *nix world where there is a *single* root, and everything
> else is relative to that, in the Windows world there are several roots
> -- e
Hello, I administer the Informatica ETL tool at my company. Part of
that role involves creating and enforcing standards. I want the
Informatica developers to add comments to certain key objects and I want
to be able to verify (in an automated fashion) that they have done so.
I cannot merely
I've decided to use PyGTK instead of gtkdialog for providing
configuration menus/dialog boxes in Swift Linux, the Linux distro I
started. The problem with gtkdialog is that the i386 version is no
longer available in the Debian repository.
Since a picture is worth a thousand words, I'll give you a
object):
def init(self):
self.obj = lib.loadInstance()
def create_services(self,servicename):
result=lib.createService(self.obj,servicename)
return result
driver=myDriver()
driver.create_services(b"myExample")
Thanks for the help
Jason
--
https://mail.python.org/mailman/listinfo/python-list
Thanks you very much, fixed the problem :)
On Mon, Jan 22, 2018 at 4:28 PM, Random832 wrote:
> On Mon, Jan 22, 2018, at 16:00, Jason Qian via Python-list wrote:
> > Hello!
> >
> > I am using ctypes on Windows to interface with a dll and it works fine
> > on Linu
901 - 1000 of 1047 matches
Mail list logo