WORK PART TIME GET $100 A WEEK CLICK HERE

2008-06-14 Thread PRINCE
HI I AM DOING HOME BASED BUSINESS WITH PART TIME I AM GETTING GOOD
EARNING DAILY MINIMUM OF THE PAYMENT WEAKLY $100 JUST CLICK HERE YOU
DEFIANTLY YOU WILL WON
http://www.eyeearn.com/10122618/signup

--
http://mail.python.org/mailman/listinfo/python-list


FW: pipenv has issues

2020-09-25 Thread Rhett Prince
see below: 

 

pipenv gets lost and crashes.  

 

 

hi, where do we write to to post defects in  pipenv? on a windows 8.1
machine after installing pipenv with poip as administrator  pipenv simply
crashes with a trace dump  it gets confused with an old version of anaconda
and crashes. my base python is 3.8 

 

please let me know where to send defects about pipenv 

thanks  

-- 
https://mail.python.org/mailman/listinfo/python-list


pipenv picks up bad paths and crashes

2020-09-26 Thread Rhett Prince
pipenv is a bad program 

 

it conflicts with anaconda. 

I removed anaconda and it still crashes. 

 

also, I repaired my python 3.8  installation 

uninstalled and reinstalled pipenv  

and it still picks up paths from anaconda 

anaconda sucks too. 

 

see below 

 

 

 

 

Administrator@rcplt MINGW64 /c/dev_env

$ ls

a.txt  dd.py  notes.txt  pipenv_help.txt

 

Administrator@rcplt MINGW64 /c/dev_env

$ pip uninstall pipenv

Found existing installation: pipenv 2020.8.13

Uninstalling pipenv-2020.8.13:

  Would remove:

c:\program files
(x86)\python38-32\lib\site-packages\pipenv-2020.8.13.dist-i

nfo\*

c:\program files (x86)\python38-32\lib\site-packages\pipenv\*

c:\program files (x86)\python38-32\scripts\pipenv-resolver.exe

c:\program files (x86)\python38-32\scripts\pipenv.exe

Proceed (y/n)? y

  Successfully uninstalled pipenv-2020.8.13

 

Administrator@rcplt MINGW64 /c/dev_env

$ pip install pipenv

Collecting pipenv

  Using cached pipenv-2020.8.13-py2.py3-none-any.whl (3.9 MB)

Requirement already satisfied: virtualenv-clone>=0.2.5 in c:\program files
(x86)

\python38-32\lib\site-packages (from pipenv) (0.5.4)

Requirement already satisfied: setuptools>=36.2.1 in c:\program files
(x86)\pyth

on38-32\lib\site-packages (from pipenv) (41.2.0)

Requirement already satisfied: virtualenv in c:\program files
(x86)\python38-32\

lib\site-packages (from pipenv) (20.0.31)

Requirement already satisfied: pip>=18.0 in c:\program files
(x86)\python38-32\l

ib\site-packages (from pipenv) (20.2.3)

Requirement already satisfied: certifi in c:\program files
(x86)\python38-32\lib

\site-packages (from pipenv) (2020.6.20)

Requirement already satisfied: distlib<1,>=0.3.1 in c:\program files
(x86)\pytho

n38-32\lib\site-packages (from virtualenv->pipenv) (0.3.1)

Requirement already satisfied: six<2,>=1.9.0 in c:\program files
(x86)\python38-

32\lib\site-packages (from virtualenv->pipenv) (1.15.0)

Requirement already satisfied: appdirs<2,>=1.4.3 in c:\program files
(x86)\pytho

n38-32\lib\site-packages (from virtualenv->pipenv) (1.4.4)

Requirement already satisfied: filelock<4,>=3.0.0 in c:\program files
(x86)\pyth

on38-32\lib\site-packages (from virtualenv->pipenv) (3.0.12)

Installing collected packages: pipenv

Successfully installed pipenv-2020.8.13

 

Administrator@rcplt MINGW64 /c/dev_env

$ ls

a.txt  dd.py  notes.txt  pipenv_help.txt

 

Administrator@rcplt MINGW64 /c/dev_env

$ pipenv install pytz

Traceback (most recent call last):

  File "C:\Program Files
(x86)\Python38-32\Lib\site-packages\pipenv\vendor\pytho

nfinder\models\python.py", line 618, in parse_executable

result_version = get_python_version(path)

  File "C:\Program Files
(x86)\Python38-32\Lib\site-packages\pipenv\vendor\pytho

nfinder\utils.py", line 105, in get_python_version

c = subprocess.Popen(version_cmd, **subprocess_kwargs)

  File "c:\program files (x86)\python38-32\lib\subprocess.py", line 854, in
__in

it__

self._execute_child(args, executable, preexec_fn, close_fds,

  File "c:\program files (x86)\python38-32\lib\subprocess.py", line 1307, in
_ex

ecute_child

hp, ht, pid, tid = _winapi.CreateProcess(executable, args,

FileNotFoundError: [WinError 2] The system cannot find the file specified

 

During handling of the above exception, another exception occurred:

 

Traceback (most recent call last):

  File "c:\program files (x86)\python38-32\lib\runpy.py", line 194, in
_run_modu

le_as_main

return _run_code(code, main_globals, None,

  File "c:\program files (x86)\python38-32\lib\runpy.py", line 87, in
_run_code

exec(code, run_globals)

  File "C:\Program Files (x86)\Python38-32\Scripts\pipenv.exe\__main__.py",
line

7, in 

  File "C:\Program Files
(x86)\Python38-32\Lib\site-packages\pipenv\vendor\click

\core.py", line 829, in __call__

return self.main(*args, **kwargs)

  File "C:\Program Files
(x86)\Python38-32\Lib\site-packages\pipenv\vendor\click

\core.py", line 782, in main

rv = self.invoke(ctx)

  File "C:\Program Files
(x86)\Python38-32\Lib\site-packages\pipenv\vendor\click

\core.py", line 1259, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))

  File "C:\Program Files
(x86)\Python38-32\Lib\site-packages\pipenv\vendor\click

\core.py", line 1066, in invoke

return ctx.invoke(self.callback, **ctx.params)

  File "C:\Program Files
(x86)\Python38-32\Lib\site-packages\pipenv\vendor\click

\core.py", line 610, in invoke

return callback(*args, **kwargs)

  File "C:\Program Files
(x86)\Python38-32\Lib\site-packages\pipenv\vendor\click

\decorators.py", line 73, in new_func

return ctx.invoke(f, obj, *args, **kwargs)

  File "C:\Program Files
(x86)\Python38-32\Lib\site-packages\pipenv\vendor\click

\core.py", line 610, in invoke

return callback(*args, **kwargs)

  File "C:\Program Files
(x86)\Python38-32\Lib\site-packages\pipenv\vendor\click

\decorators.py", line 21, in new_func

return f(get_current_context(), *ar

sqlalchemy blows up and puts in addresses instead of data when mixing fields from different dataframes

2020-12-22 Thread Rhett Prince
sqlalchemy blows up  and puts in addresses instead of data when mixing
fields from different dataframes

 

when composing a class derived from model, 

populating fields from different dataframes blows up.fields from one data
frame are corrupted after 

session add and session commit 

fields from another dataframe are fine. 

 

building final class object with single dataframe from data frame with the
issue alone is just fine. 

data from the data frame survives session.add and session.commit 

 

data is only corrupted when data comes from two different data frame sources


field 1 comes from data frame a 

field 2 comes from dataframe b

after session.add session.commit 

first field from source 1 is corrupted. 

data from source 2 is fine. 

 

again 

when data source 1 is used by itself with out a second source 

data from dataframe 1 survives 

session.add and session.commit. 

 

is this a defect in sqlalchemy or in pandas. 

o

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Tim Prince

On 11/17/2013 8:25 AM, E.D.G. wrote:

"Roy Smith"  wrote in message
news:roy-d4b9a4.10202517112...@news.panix.com...


Scientists view computer programs as tools, no different from any other


   I agree totally.  There are many scientists who learn how to
write programs to help with their scientific work.  I doubt that there
are too many programmers who go out and get an additional degree in
biology, chemistry, or physics to help with their programming work.  And
there appears to me to often be a gap between how people in the two
different worlds go about getting things done.

   Since this program translation will be done by someone who
actually wrote program code for a living it will at least actually look
like a program when it is finished.  There will be indentation etc.

Perhaps you would start with an automatic indentation tool before 
translating.  You may have a rule against using current syntax and 
indentation for Fortran, but others don't.


--
Tim Prince
--
https://mail.python.org/mailman/listinfo/python-list


please can i get help on this problem

2015-12-26 Thread Prince Udoka
Create a function manipulate_data that does the following
Accepts as the first parameter a string specifying the data structure to be 
used "list", "set" or "dictionary"
Accepts as the second parameter the data to be manipulated based on the data 
structure specified e.g [1, 4, 9, 16, 25] for a list data structure
Based off the first parameter

return the reverse of a list or
add items `"ANDELA"`, `"TIA"` and `"AFRICA"` to the set and return the 
resulting set
return the keys of a dictionary.


here is my work, but i dont know what i ave done wrong:
def manipulate_data(list_data, set_data):
if list_data == ["apples", "orange", "mangoes"]:
for set_data in reversed(set_data):
return set_data
elif manipulate_data(list_data == {"apples", "orange", "mangoes"}):
list_data.append("ANDELA", "TIA", "AFRICA")
for set_data in list_data:
return set_data
if manipulate_data(list_data == {"apples": 23, "oranges": 15, "mangoes": 3, 
"grapes": 45}):
return list_data.keys()
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: please can i get help on this problem

2015-12-26 Thread Prince Udoka
gud day sir, please i have an assignment, nd i am just 2weeks in python; i 
tried the code i uploaded but its nt working plz help, i need guidiance
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: please can i get help on this problem

2015-12-26 Thread Prince Udoka
sir does this make sense:
def manipulate_data(item, fruits):
if item == ["apples", "oranges", "mangoes", "grapes"]:
for fruits in reversed(item):
return item
elif item == {"apples", "oranges", "mangoes", "grapes"}:
for fruits in item:
fruits.append("ANDELA", "TIA", "AFRICA")
return item
if item ==  {"apples": 23, "oranges": 15, "mangoes": 3, "grapes": 45}:
return dict.keys()

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-27 Thread Prince Udoka
thanks mr cameron simpson, finally at i got the solution, God bless you:
def manipulate_data(kind, data):
if kind == 'list':
for data in [1, 2, 3, 4, 5]:
return data.reverse()
elif kind == 'set':
for data in {"a", "b", "c", "d", "e"}:
data.add("ANDELA")
data.add("TIA")
data.add("AFRICA")
return data
elif kind == 'dictionary':
for data in  {"apples": 23, "oranges": 15, "mangoes": 3, "grape": 45}:
return data.key()
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread Prince Udoka
wow thats true the code did not work
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread Prince Udoka
bu i have come up with a solution, that will work but encounter a problem in 
the set, giving set not manipulated correctly:
def manipulate_data(kind, data): 
if kind == 'list': 
return list(data)[::-1] 
elif kind == 'set':
return set(data)
elif kind == 'dictionary': 
return dict.keys(data) 
manipulate_data("list", range(1,6)) 
manipulate_data("set", {"a", "b", "c", "d", "e", "ANDELA", "TIA", "AFRICA"}) 
manipulate_data("dictionary", {"apples": 23, "oranges": 15, "mangoes": 3, 
"grapes": 45})

the thing now is the function to use in adding "ANDELA", "TIA", "AFRICA"
pls 4give my use of language
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread Prince Udoka
def manipulate_data(kind, data): 
if kind == 'list': 
return list(data)[::-1] 
elif kind == 'set':
return set(data)
elif kind == 'dictionary': 
return dict.keys(data) 
manipulate_data("list", range(1,6)) 
manipulate_data("set", {"a", "b", "c", "d", "e",}) 
manipulate_data("dictionary", {"apples": 23, "oranges": 15, "mangoes": 3, 
"grapes": 45})
just use a function to add "ANDELA", "TIA", "AFRICA" to the set, the u are don
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread Prince Udoka
thanks everyone, though it was very tough, but i thank GOD

On Mon, Dec 28, 2015 at 11:29 PM, Cameron Simpson  wrote:

> On 28Dec2015 01:34, Prince Udoka  wrote:
>
>> bu i have come up with a solution, that will work but encounter a problem
>> in the set, giving set not manipulated correctly:
>>
>> def manipulate_data(kind, data):
>>if kind == 'list':
>>return list(data)[::-1]
>>elif kind == 'set':
>>return set(data)
>>elif kind == 'dictionary':
>>return dict.keys(data)
>> manipulate_data("list", range(1,6))
>> manipulate_data("set", {"a", "b", "c", "d", "e", "ANDELA", "TIA",
>> "AFRICA"})
>> manipulate_data("dictionary", {"apples": 23, "oranges": 15, "mangoes": 3,
>> "grapes": 45})
>>
>> the thing now is the function to use in adding "ANDELA", "TIA", "AFRICA"
>> pls 4give my use of language
>>
>
> You are very close. Let me remind you of the original task text:
>
>  add items `"ANDELA"`, `"TIA"` and `"AFRICA"` to the set and return the
> resulting set
>
> Your previous attempt (with hardwired values inside the function) actually
> had code to do it.
>
> While you have pulled out all the hardwired values from the function
> (good) and put them in the external calls, note that the task explicitly
> says "add items `"ANDELA"`, `"TIA"` and `"AFRICA"` to the set". So _those_
> values _are_ supposed to be hardwired inside the function - they are a
> fixed part of the task. So move them back in, as in your previous attempt.
>
> There is some ambiguity in that part of the question: should you return a
> _new_ set consistint of the original set plus the three new values, or
> simply add the three values to the original set? Your prior code modified
> the original set, which may fit the task specification.
>
> However, it is a common design objective that functions do not,
> _normally_, modify their arguments. So, consider this code:
>
>  set1 = {"a", "b", "c", "d", "e"}
>  set2 = manipulate_data("set", set1)
>
> After running this, set2 should look like this:
>
>  {"a", "b", "c", "d", "e", "ANDELA", "TIA", "AFRICA"}
>
> (in some order -- sets are not ordered). However, what about set1? In your
> current code, set1 is modified, so it will be the same. But you can imagine
> that it would be more useful for the caller if set1 were unchanged.
>
> In python, the convention is usually that if a function returns the new
> value then it should not modify the original. So you should probably
> construct a copy of the original set and modify that:
>
>  data = set(data)
>  ... add the new values ...
>  return data
>
> Cheers,
> Cameron Simpson 
>
-- 
https://mail.python.org/mailman/listinfo/python-list


setup failed

2016-02-04 Thread Prince Thomas
Hi

   I am an computer science engineer. I downloaded the python version 
3.5.1.amd64 and just python 3.5.1. The problem is when I install the program 
setup is failed and showing  0*80070570-The file or directory is corrupted and 
unreadable. I install the newest visual c++ redist and still same. My os is win 
8.1. Please help me out of this 






Sent from Windows Mail
-- 
https://mail.python.org/mailman/listinfo/python-list