Hey, I noticed that the uninstaller says that the installation completed,
but actually nothing really happened and all of my Python 3.6.8
installation was still completely installed on my machine and all files
were located inside Python/Python36 folder still.
See the picture attached. My computer
understand that changing the syntax/parser is a major move. I wouldn't be
surprised if others brought up 0d before.
My $.02
Henrik
On Fri, Dec 7, 2018, 21:12 Cameron Simpson On 07Dec2018 20:24, Jach Fong wrote:
> >Ian at 2018/12/8 UTC+8 AM11:28:34 wrote:
> >> What is it
Ok, thanks. I've just created https://bugs.python.org/issue35305. /Henrik
On Fri, Nov 23, 2018 at 6:47 PM INADA Naoki wrote:
>
> Thank you for a very informative report.
>
> > PS. This is my first post to this list - please let me know if I
> > should send to another fo
omized kernel* part of the Scyld ClusterWare
(https://www.penguincomputing.com/products/software/scyld-clusterware/)
that *cannot* be updated:
$ uname -a
Linux n6 2.6.32-504.12.2.el6.664g.x86_64 #1 SMP Wed Mar 11
14:20:51 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
I appreciate any suggestions to f
t; SyntaxError: invalid character in identifier
>>
>> I think there needs to be a PEP for that.
>
> well get writing then as there's nothing to stop you.
I might wait until April 1st next year with that ;-)
Best regards,
Henrik
--
http://mail.python.org/mailman/listinfo/python-list
On 23.07.2012 16:10, Devin Jeanpierre wrote:
> On Mon, Jul 23, 2012 at 9:52 AM, Henrik Faber wrote:
>> If you allow for UTF-8 identifiers you'll have to be horribly careful
>> what to include and what to exclude. Is the non-breaking space a valid
>> character for a iden
On 23.07.2012 16:19, Chris Angelico wrote:
> On Mon, Jul 23, 2012 at 11:52 PM, Henrik Faber wrote:
>> What about × vs x? Or Ì vs Í vs Î vs Ï vs Ĩ vs Ī vs ī vs Ĭ vs ĭ vs Į vs
>> į vs I vs İ? Do you think if you need to maintain such code you'll
>> immediately know the
On 23.07.2012 15:55, Henrik Faber wrote:
> Dear Lord.
>
> Python 3.2 (r32:88445, Dec 8 2011, 15:26:58)
> [GCC 4.5.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> fööbär = 3
>>
On 23.07.2012 15:52, Henrik Faber wrote:
> but I would hate for
> Python to include them into identifiers. Then again, I'm pretty sure
> this is not planned anytime soon.
Dear Lord.
Python 3.2 (r32:88445, Dec 8 2011, 15:26:58)
[GCC 4.5.2] on linux2
Type "help", &
ea. It makes perfect sense
to support it within strings (as Python3 does), but I would hate for
Python to include them into identifiers. Then again, I'm pretty sure
this is not planned anytime soon.
Best regards,
Henrik
--
http://mail.python.org/mailman/listinfo/python-list
itter irony that
demonstrates nicely that even in the 2010s complete and ultimate Unicode
support is far from here.
Best regards,
Henrik
--
http://mail.python.org/mailman/listinfo/python-list
cters, it makes me shudder to think you'd want that stuff in
Python. If I remember correctly, it was the Turkish locale that they
stuggled with: Turkey apparently does not have a capital "I", so some
weird PHP magic code broke with the Turkish locale in effect. Having to
keep crap like that in mind is just plain horrible. I'm very happy with
the way Python does it.
Best regards,
Henrik
--
http://mail.python.org/mailman/listinfo/python-list
On 23.07.2012 13:40, Philipp Hagemeister wrote:
> On 07/23/2012 01:23 PM, Henrik Faber wrote:
>> With an arbitrary dictionaty d, are d.keys() and d.values()
>> guaraneed to be in the same order?
>
> Yes. From the documentation[1]:
>
> If items(), keys(), values(), i
Hi group,
I have a question of which I'm unsure if the specification guarantees
it. With an arbitrary dictionaty d, are d.keys() and d.values()
guaraneed to be in the same order? I.e. what I mean is:
# For all dictionaries d:
assert({ list(d.keys())[i]: list(d.values())[i] for i in range(len(d))
while C++ it
still is a piece of crap (or something that you'll have to pass to
external libraries). The C++ standard library is nowhere nearly as
densely packed with features than Python's. For every little thing you
need some external dependencies. Language semantics aren't enoug
Hi group,
when decorating a method in Python3, by use of the
functools.update_wrapper function, it can be achieved that the docstring
and name of the original function is preseverved.
However, the prototype is lost: When looking into the Python help, I
have lots of entries that look like:
getfoo
bout it, the more I fall in love! Fantastic. I
wish we had these types of language when I was a kid!
Best regards and thanks again,
Henrik
--
http://mail.python.org/mailman/listinfo/python-list
e. Do you have any beginners guide how
this works? The Pydoc ("Data Model") is comprehensive, but I really
don't know where to start to look.
Still amazed!
Best regards,
Henrik
--
http://mail.python.org/mailman/listinfo/python-list
On 12.12.2011 14:37, Andrea Crotti wrote:
> On 12/12/2011 01:27 PM, Henrik Faber wrote:
>> Hi group,
>>
>> I'm a bit confused regarding decorators. Recently started playing with
>> them with Python3 and wanted (as an excercise) to implement a simple
>> type c
bar().
Therefore I cannot proceed here.
Solutions that I have seen working usually consist of two functions
wrapped in each other, but I do not know why the additional introduction
of a class makes everything fail.
Can someone please enlighten me?
Best regards,
Henrik
--
http://mail.python.org/mailman/listinfo/python-list
= 2
while (jobs) {
semaphore--;// will block if pool exhausted
thread();
}
// in the end, collect remaining two workers
semaphore -= 2 // will block until all are finished
Best regards,
Henrik
--
http://mail.python.org/mailman/listinfo/python-list
t; So really, it's not "all() is slow" but "function calls are slow".
> Maybe it'd be worthwhile making an all-factory:
PLEASE say you're joking. If I saw code like that on any of our project,
this would definitely qualify for a DailyWTF.
Regards, Henrik
--
http://mail.python.org/mailman/listinfo/python-list
On 19.09.2011 13:23, Paul Rudin wrote:
> Henrik Faber writes:
>
>> How can I make this commutative?
>
> Incidentally - this isn't really about commutativity at all - the
> question is how can you define both left and right versions of add,
> irrespective of wheth
s not call __add__ on
an instance of X, but on the int 123, this fails:
TypeError: unsupported operand type(s) for +: 'int' and 'X'
How can I make this commutative?
Best regards,
Henrik
--
http://mail.python.org/mailman/listinfo/python-list
#x27;@name', which was not
supplied.
at WebServicex.country.GetCurrencyByCountry(String CountryName)
--- End of inner exception stack trace ---: >
It is as if it doesn't get the name "Zimbabwe".
On Mon, 2009-11-02 at 12:58 +, Simon Brunning wrote:
> 2009/11/2 Henrik
I have a problem with SOAPpy and WSDL. It is explained here:
http://www.python-forum.org/pythonforum/viewtopic.php?f=3&t=15532
Many regards,
Henrik
--
http://mail.python.org/mailman/listinfo/python-list
ere I should go forward?
I've had some experience with Naive Bayes in the past, but I assume
the training would be colossal (I've got texts in the thousands to
examine).
Any tips appreciated!
-- Henrik L.
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 12, 3:15 am, Gary Herron wrote:
> Henrik Bechmann wrote:
> > Newbie issue:
>
> > I downloadedhttp://www.python.org/download/releases/3.0.1/(windows
> > insaller), opened the interpreter, wrote a print "Hello World" program
> > in helloworld.py, and
Now that I know what the issue is (2 vs 3), I'll be able to resolve
those kinds of issues in the future.
Thanks again!
- Henrik
--
http://mail.python.org/mailman/listinfo/python-list
obviously total mewbiew:
My first program in Python Windows
print "Hello World"
I select Run/Run Module and get an error:
Syntax error, with the closing quote highlighted.
Tried with single quotes as well. Same problem.
Can someone explain my mistake?
Thanks,
- Henr
27; is not defined
(following tutorial in David Beazley's Python Essential Reference).
Is execfile not supported in 3?
Thanks,
- Henrik
--
http://mail.python.org/mailman/listinfo/python-list
Toff wrote:
d = c.Win32_ComputerSystem
d.JoinDomainOrWorkGroup(None, 3, "mydom", "mydompw", r"admin\\mydom")
Shouldn't r"admin\\mydom" be "admin\\mydom" or r"admin\mydom".
Or maybe just "admin"
/Jens Henrik
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 17, 1:05 am, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > Would really appreciate any assistance.
>
> You should change your project to create a .pyd file instead of a .dll
> file.
>
> Regards,
> Martin
Ha-ha!
Just rename the DLL to .pyd
H
--
http://mail.python.org/mailman/listinfo/py
Hi,
We are upgrading from Python 2.3 to verion 2.5 and when we recompile
we get ImportError.
To test we took the spam example from the web documentation and
compiled it with Py23 and it imports without a problem. Changing the
libs in visual studio 2008 to point to Py25 and we get:
>>> import spa
Your problem is that open(...,'w') is not locked.
Use something like:
lockf = open('aaa', 'a')
fnctl.flock(lockf,fnctl.LOCK_EX)
file = open('aaa', 'w')
file.write('asdf')
file.close()
lockf.close()
[EMAIL PROTECTED] wrote:
I ran following 2 programs (lock1, lock2) at almost same time,
to write
On Sep 27, 11:56 am, Bruno Desthuilliers wrote:
> Henrik Lied a écrit :
>
> > Hi there!
>
> > I'm using a recipe found on ASPN [1] to upload some data to an
> > external server.
>
> > The request fails, and all I get in response is "No backend serv
ed external resource?
[1]: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146306
-
Thanks,
Henrik
--
http://mail.python.org/mailman/listinfo/python-list
Hi there!
Has anyone made effort to try to create a python binding to a facial
recognition software [1]?
For those of you with some experience - would this be very hard?
[1] An example: http://www.cs.colostate.edu/evalfacerec/
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 6, 12:09 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Thu, 05 Apr 2007 18:53:04 -0300, Henrik Lied <[EMAIL PROTECTED]>
> escribió:
>
> > On Apr 5, 11:39 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
> > wrote:
On Apr 5, 11:39 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Thu, 05 Apr 2007 18:19:56 -0300, Henrik Lied <[EMAIL PROTECTED]>
> escribió:
>
> > So, I thought to myself that spawnv would be a good fit for this. The
> > problem is that it doesn&
On Apr 5, 11:33 pm, [EMAIL PROTECTED] wrote:
> On Apr 5, 4:19 pm, "Henrik Lied" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi there!
>
> > I'm trying to convert a video in a background process.
> > The scenario I'm after:
> > 1. The use
Hi there!
I'm trying to convert a video in a background process.
The scenario I'm after:
1. The user uploads a video
2. The video is saved in my media directory, and the database is
populated with the references
3. The video gets converted to FLV - but the user shouldn't have to
wait around for th
les here and its arguments")
else:
continue
exec will replace the current child process with the given command and as
we are doing fork the command will get executed in a child process.You can
also use os.system there
On 12 Mar 2007 16:13:51 -0700, Henrik Lied <[EMAIL PROTECTED] > w
I've tried os.spawnv and os.spawn, but these give no error and no
result.
Henrik Lied skreiv:
> Hi there!
>
> I'm trying to create a video uploading service (just to learn). The
> system is mostly based on Django, but the question I'm looking an
> answer for is
Hi there!
I'm trying to create a video uploading service (just to learn). The
system is mostly based on Django, but the question I'm looking an
answer for is more related to Python.
So, the user gets to upload a video file. This can either be a mpg,
avi or mp4-file. When the file is saved to its
John Lenton <[EMAIL PROTECTED]> wrote:
> > def dotproduct(a, b):
> >psum = 0
> >for i in range(len(a)):
> >psum += a[i]*b[i]
> >return psum
>
> for this particular example, the most pythonic way is to do nothing at
> all, or, if you must call it dotproduct,
> >>> from Numeric
Richard Brodie <[EMAIL PROTECTED]> wrote:
> "Henrik Holm" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
> > I suppose I could also use a lambda here -- but is there a different,
> > efficient, and obvious solution that I'm over
ambda here -- but is there a different,
efficient, and obvious solution that I'm overlooking?
Thanks,
Henrik
--
"On some great and glorious day the plain folks of the land will reach
in their heart's desire at last and the White House will be adorned by
a downright moron."
with a one-liner as well, with
lines = popen('executable').readlines()
without closing the file object?
Thanks,
Henrik Holm
--
http://mail.python.org/mailman/listinfo/python-list
49 matches
Mail list logo