Hello again
I think my question got lost in all the others raised, so here I am again :P
So, I tried my best, was looking into the eval and exec function, but still no
succsess..
Maybe it helps when I provide the code I want to implement:
def newton_verfahren(self):
if self.cB_1.
Hi,
I would like to know if there is a goto command or something similar
that I can use in Python.
Thanks,
Conrado
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Dec 28, 2017 at 8:38 PM, Nico Vogeli wrote:
> Withs test, this return a correct value for the two x functions:
>
> from sympy import symbols
>
> x = symbols('x')
> f1 = eval(input('function 1 '))
> f2 = eval(input('function 2 '))
>
What are you typing as input? It's hard to grok your code
Am Donnerstag, 28. Dezember 2017 12:59:24 UTC+1 schrieb Chris Angelico:
> On Thu, Dec 28, 2017 at 8:38 PM, Nico Vogeli wrote:
> > Withs test, this return a correct value for the two x functions:
> >
> > from sympy import symbols
> >
> > x = symbols('x')
> > f1 = eval(input('function 1 '))
> > f2 =
On 12/28/17 6:43 AM, jorge.conr...@cptec.inpe.br wrote:
Hi,
I would like to know if there is a goto command or something similar
that I can use in Python.
Python does not have a goto statement. You have to use structured
statements: for, while, try/except, yield, return, etc.
If you sh
Jorge> I would like to know if there is a goto command or something similar that
Jorge> I can use in Python.
Ned> Python does not have a goto statement. You have to use structured
Ned> statements: for, while, try/except, yield, return, etc.
Though it appears some wag has used function decorators
On Thu, Dec 28, 2017 at 11:06 PM, Nico Vogeli wrote:
> Am Donnerstag, 28. Dezember 2017 12:59:24 UTC+1 schrieb Chris Angelico:
>> On Thu, Dec 28, 2017 at 8:38 PM, Nico Vogeli wrote:
>> > Withs test, this return a correct value for the two x functions:
>> >
>> > from sympy import symbols
>> >
>> >
Hi guys,
I've seen a few posts about this topic but could not find the solution. I am
trying to connect a drive to a network drive using win32wnet.WNetAddConnection2
but I might be missing something because it does not work.
This is what I have.
import os
import win32api
import win32wnet
impor
When I took a quick look at the code, it seemed to be based on a
pretty old version of Python. What version are you using? If it's 2.7
(or better still, Python 3!) then you should have pip available. In
which case you may be better off using pypiwin32, which is a
rebundling of pywin32 as a wheel. "
Thanks for the help, Paul.
> When I took a quick look at the code, it seemed to be based on a
> pretty old version of Python. What version are you using?
Yes, last time a Windows installer was created, Python 2.5 was still
in vogue. I switched things to 2.7 with (so far) no obvious problems.
I e
How to use goto in python?
---
This email has been checked for viruses by AVG.
http://www.avg.com
--
https://mail.python.org/mailman/listinfo/python-list
Hi,
I am trying to install Python 3.6.4 in my laptop. I am getting the following
error. I also attached failure log as well in the mail. I could not change the
path. It is automatically installing in C drive. Might be, this is restricted
drive, so we got errors. I am not sure, but let me know a
On Thu, 28 Dec 2017 00:58:48 -0200, Duram wrote:
> How to use goto in python?
>
> ---
> This email has been checked for viruses by AVG.
> http://www.avg.com
Dont!
actually you cant - there isn't one*
*at least not in the core language no doubt some sick person will have
manager to hack togethe
Duram writes:
> How to use goto in python?
Step 0: what is goto in Python?
Step 1: that's not something that exists in Python. So why are you
asking how to use something that doesn't exist?
--
\“[R]ightful liberty is unobstructed action, according to our |
`\will, within li
On 28 December 2017 at 17:49, Skip Montanaro wrote:
> pip install py2exe_py2 pypiwin32 Pillow lockfile
> Collecting py2exe_py2
> Could not find a version that satisfies the requirement py2exe_py2
> (from versions: )
>
> That error message isn't telling me much about why the requirement
> isn't sat
On 28/12/2017 21:42, Ben Finney wrote:
Duram writes:
How to use goto in python?
Step 0: what is goto in Python?
Step 1: that's not something that exists in Python. So why are you
asking how to use something that doesn't exist?
Goto exists in the form of the JUMP_ABSOLUTE byte-code.
But i
bartc writes:
> But it's not accessible from the language.
Another way to say that (and the way I said the same thing) is: It
doesn't exist in Python.
--
\ “I went to the museum where they had all the heads and arms |
`\ from the statues that are in all the other museums.” —Ste
On Fri, Dec 29, 2017 at 11:17 AM, bartc wrote:
> On 28/12/2017 21:42, Ben Finney wrote:
>>
>> Duram writes:
>>
>>> How to use goto in python?
>>
>>
>> Step 0: what is goto in Python?
>>
>> Step 1: that's not something that exists in Python. So why are you
>> asking how to use something that doesn
On Thursday, December 28, 2017 at 7:40:14 PM UTC, alister wrote:
> On Thu, 28 Dec 2017 00:58:48 -0200, Duram wrote:
>
> > How to use goto in python?
> >
> > ---
> > This email has been checked for viruses by AVG.
> > http://www.avg.com
>
> Dont!
> actually you cant - there isn't one*
>
> *at le
On 2017-12-29 08:42, Ben Finney wrote:
> Duram writes:
>
> > How to use goto in python?
>
> Step 0: what is goto in Python?
>
> Step 1: that's not something that exists in Python. So why are you
> asking how to use something that doesn't exist?
so quick to shoot down a poor soul.
http://ent
Tim Chase writes:
> [third-party website]
> Gives you […]
So, it's not in Python, it's a third-party (joke) package. Hence is
probably not what Duram is asking about as “goto in Python”.
I'm still open to learning what Duram meant by “goto in Python”. Rather
than everyone else piling on with su
On Friday, December 29, 2017 at 3:28:23 AM UTC, Ben Finney wrote:
> Tim Chase writes:
>
> > [third-party website]
> > Gives you […]
>
> So, it's not in Python, it's a third-party (joke) package. Hence is
> probably not what Duram is asking about as “goto in Python”.
>
> I'm still open to learnin
22 matches
Mail list logo