New submission from jung mo sohn :
In python 3.6.8, 3.7.3, 3.7.4, 3.7.5, 3.7.12, 3.8.8 versions, the output is
False as shown below.
Python 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 15 2019, 00:11:34) [MSC v.1916 64 bit
(AMD64)] on win32
Type "help", "copyright", "credi
Mo added the comment:
I had also tested with pathlib and posixpath and come to the same conclusion.
As suggested by you, I looked into `activate` determining path when run. I
believe this should do the trick (My bashfoo isn't strong, this is mostly from
https://stackoverflow.com/a/179231
Mo added the comment:
The issue comes as a result of abspath on line 59 of venv/__init__.py:
env_dir = os.path.abspath(env_dir)
This returns a Windows-style path, and os.path.abspath returning in this way is
*probably* correct, as the OS is Windows, despite trying to forget
New submission from Mo :
When creating a virtual environment on Windows from git-bash (using python -m
venv), VIRTUAL_ENV in the activate script is set using a windows style path
(C:\some\path) instead of the bash style (/c/some/path).
This means the system python and pip get used, despite
Mo Jia added the comment:
I think let user add the liblzma project by hand is not good enough. While the
build.bat don't have this problem. So they should work similar.
--
nosy: +Mo.Jia
versions: -Python 3.5, Python 3.6
___
Python tracker <
Mo Ali added the comment:
Serhiy,
I expected a type error or a filenotfound like you received, however mine
doesn't return the same. It just hangs. I've attached a picture. Also, I
meant this to be for 3.6 not 3.5.
>>> test = False
>>> with open(test) as f:
...
New submission from Mo Ali:
Python3 open(), read(), or write()doesn't check argument type before action
causing a hang. Would like to catch exceptions but not without an exception to
return. See below.
Python3.6:
Python 3.6.0 (default, Dec 24 2016, 08:01:42)
[GCC 4.2.1 Compatible Apple LLVM
Mo Jia added the comment:
@Roundup Robot . Clone the newest 3.4 tag. The unicode problem is ok now .
@Zachary Ware , don't change anything after clone from the repo. What i do is
just cd python src dir and runing : Tools\buildbot\build.bat . the openssl
verison is 1.0.1g . Seem
Mo Jia added the comment:
Another error is .
cd D:\Hg\Python\Python\PCbuild\
D:\Hg\Python\Python\PCbuild\python_d.exe build_ssl.py Release Win32 -a
Found a working perl at 'C:\Perl\bin\perl.exe'
Traceback (most recent call last):
File build_ssl.py, line 253, in module
main
New submission from Mo Jia:
Here is the failed message .
Project D:\Hg\Python\Python\PCbuild\_ssl.vcxproj (17) is building
D:\Hg\Python\Python\PCbuild\ssl.vcxproj (18) on node 1 (default targets).
Build
looking for a python project (preferably something a bit small) that
is looking for contributors. the small bit is because i've never
worked in a team before and haven't really read source code that's
1000s of lines long, so i'm not too sure i can keep up.
my python fu is decent (i think), i
On 27 Lug, 10:23, Peter Otten __pete...@web.de wrote:
mo reina wrote:
i've written a tool in python where you enter a title, content, then
tags, and the entry is then saved in a pickle file. it was mainly
designed for copy-paste functionality (you spot a piece of code you
like on the net
On Jul 27, 2:06 pm, Peter Otten __pete...@web.de wrote:
mo reina wrote:
On 27 Lug, 10:23, Peter Otten __pete...@web.de wrote:
mo reina wrote:
i've written a tool in python where you enter a title, content, then
tags, and the entry is then saved in a pickle file. it was mainly
0 down vote favorite
i've written a tool in python where you enter a title, content, then
tags, and the entry is then saved in a pickle file. it was mainly
designed for copy-paste functionality (you spot a piece of code you
like on the net, copy it, and paste it into the program), not really
On Jul 3, 9:59 pm, Terry Reedy tjre...@udel.edu wrote:
On 7/3/2010 1:48 PM,mo reinawrote:
an anyone recommend a resource (book,tutorial,etc.) that focuses on
application development in python? something similar to Practical
Django Projects, but for stand alone applications instead of web
an anyone recommend a resource (book,tutorial,etc.) that focuses on
application development in python? something similar to Practical
Django Projects, but for stand alone applications instead of web apps
(for now).
i'm in a bit of a funny place, i have a decent/good grasp of python
syntax and my
I found such a script - a gas model.
http://des.memphis.edu/lurbano/vpython/gas/Temp_KE_07.py
Can anybody help and find a mistake. There is a message:
Name 'NewAxis' is not defined.
I tried Python 25 with numpy 121 and Python 26 with scipy 071.
(Win Vista).
--
mo (not proffessional programmer
Thanks,
I tryed your example:
import msvcrt
while 1:
print '.'
if msvcrt.kbhit() and msvcrt.getch() == chr(27):
break
but it doesn't work. It is running (Win2000), there is no messages about
errors but there is no effect when pressing ESC key. What I am doing wrong?
mo
Fredrik Lundh wrote:
works for me, when running it from a stock CPython interpreter in a
windows
console window, with focus set to that window.
what environment are you using?
I use IDLE 1.0.3, Python 2.3.4
The same problem is when running in a win console.
mo
--
http://mail.python.org
Can somebody explain how to stop a WHILE loop in running program by pressing
ESC key?
mo
--
http://mail.python.org/mailman/listinfo/python-list
20 matches
Mail list logo