Re: How do you insert an item into a dictionary (in python 3.7.2)?

2019-06-29 Thread Michael Torrie
On 06/28/2019 09:06 AM, CrazyVideoGamez wrote: > How do you insert an item into a dictionary? For example, I make a dictionary > called "dictionary". > > dictionary = {1: 'value1', 2: 'value3'} > > What if I wanted to add a value2 in the middle of value1 and value3? How about: dict[1.5] = 'valu

Re: How do you insert an item into a dictionary (in python 3.7.2)?

2019-06-28 Thread Chris Angelico
On Sat, Jun 29, 2019 at 1:51 AM Jon Ribbens via Python-list wrote: > > On 2019-06-28, Larry Martell wrote: > > On Fri, Jun 28, 2019 at 11:10 AM CrazyVideoGamez > > wrote: > >> > >> How do you insert an item into a dictionary? For example, I make a > >> dictionary called "dictionary". > >> > >> d

Re: How do you insert an item into a dictionary (in python 3.7.2)?

2019-06-28 Thread Jon Ribbens via Python-list
On 2019-06-28, Larry Martell wrote: > On Fri, Jun 28, 2019 at 11:10 AM CrazyVideoGamez > wrote: >> >> How do you insert an item into a dictionary? For example, I make a >> dictionary called "dictionary". >> >> dictionary = {1: 'value1', 2: 'value3'} >> >> What if I wanted to add a value2 in the m

Re: How do you insert an item into a dictionary (in python 3.7.2)?

2019-06-28 Thread Larry Martell
On Fri, Jun 28, 2019 at 11:10 AM CrazyVideoGamez wrote: > > How do you insert an item into a dictionary? For example, I make a dictionary > called "dictionary". > > dictionary = {1: 'value1', 2: 'value3'} > > What if I wanted to add a value2 in the middle of value1 and value3? Dicts are not orde

Re: How do you insert an item into a dictionary (in python 3.7.2)?

2019-06-28 Thread Calvin Spealman
You simply assign to the key, like so: dictionary[3] = 'value2' But it isn't clear what you mean by "in the middle". On Fri, Jun 28, 2019 at 11:10 AM CrazyVideoGamez wrote: > How do you insert an item into a dictionary? For example, I make a > dictionary called "dictionary". > > dictionary = {

How do you insert an item into a dictionary (in python 3.7.2)?

2019-06-28 Thread CrazyVideoGamez
How do you insert an item into a dictionary? For example, I make a dictionary called "dictionary". dictionary = {1: 'value1', 2: 'value3'} What if I wanted to add a value2 in the middle of value1 and value3? -- https://mail.python.org/mailman/listinfo/python-list

RE: Unable to Install Python 3.7.2 64 bit version on my Windows 8.1

2019-02-20 Thread Steve
.org Subject: Unable to Install Python 3.7.2 64 bit version on my Windows 8.1 Hello Team, I'm trying to install Python 3.7.2 64 bit version on my Windows 8.1 Operating system with Robot framework ride with Selenium Libraries. However, Python is getting installed in local drive installed of C

Re: Unable to Install Python 3.7.2 64 bit version on my Windows 8.1

2019-02-20 Thread Calvin Spealman
In what way is it "unable to open the ride.py" file? Can you give details about how you're trying to open or run that, what you expect to happen, and what's happening instead? On Wed, Feb 20, 2019 at 8:22 AM Subash Netha wrote: > Hello Team, > > I'm tryi

Unable to Install Python 3.7.2 64 bit version on my Windows 8.1

2019-02-20 Thread Subash Netha
Hello Team, I'm trying to install Python 3.7.2 64 bit version on my Windows 8.1 Operating system with Robot framework ride with Selenium Libraries. However, Python is getting installed in local drive installed of C drive and unable to open the ride.py. Please let me know, if there is

Re: python 3.7.2

2019-01-27 Thread eryk sun
On 1/27/19, Dennis Lee Bieber wrote: > On Sat, 26 Jan 2019 15:06:10 +, Sarah P declaimed > the following: > > C:\Users\Wulfraed>dir %userprofile%\appdata Avoid hard coding default paths. The roaming and local application data directories are relocatable. It's even less typing to use the prop

python 3.7.2

2019-01-27 Thread Sarah P
Hi, I’m having problems installing and using python as it defaults into [ ...users/ user/appdata/local/programs/] etc etc, its about 9 locations in all but there is no route to ‘app data’, the trail is lost at this point. Its such an obscure location and I cannot find it anywhere on windows,

[RELEASE] Python 3.7.2 and 3.6.8 are now available

2018-12-24 Thread Ned Deily
https://blog.python.org/2018/12/python-372-and-368-are-now-available.html Python 3.7.2 and 3.6.8 are now available. Python 3.7.2 is the next maintenance release of Python 3.7, the latest feature release of Python. You can find Python 3.7.2 here: https://www.python.org/downloads/release/python