Hi all,
I understand that this might be out of the scope of this list but I am
hopeful that someone has some insight on it so I can move forward with this
project. This is a hail mary attempt to get this resolved.
The issue that I am seeing is that I have a script that works well locally.
I am tr
Hey folks,
I'm working my way through Thinkful with python and I'm trying to get a
setup working. Part of this setup is using SQLAlchemy.
While I understand this is a python tutor list, would it be OK to ask
questions like 'how do I change my SQLAlchemy URL to include a user name'
here?
--
~MEN
Just curious if there's a similar list like this one for Ruby-ists.
Anyone know of one or two?
TIA
--
~MEN
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
on punctuation (Alan Gauld)
>
>
> --
>
> Message: 1
> Date: Sun, 09 Jun 2013 06:48:13 +0100
> From: Alan Gauld
> To: tutor@python.org
> Subject: Re: [Tutor] Splitting on punctuation
> Message-ID:
Hey guys,
I'm working on a web-project simply to bruh up on skills and build new
ones.
One of the tasks is to split on punctuation passed yet I'm having a bit
more trouble then I expected.
Give the input of "which isn't that surprising I guess.",",'.") where the
first part passed is the string an
Hey all,
I'm used to python 2.7 but I'm seeing and hearing a lot about 3.0 and
wanted to ask a few questions.
I'm seeing on StackOverflow that 2.7 is the standard for those that have
libraries that haven't been ported to 3.1.2 yet. Does this mean that 2.7 is
dead or dying? Is this just a well mana
Hi All,
I have a few lists that I'm trying to put into a dictionary based on
which list the user wants to use as a filter. If the user selects 1
the the dictionary would be created using the first list as the keys
and the secondary items as the values. If the user selects 2, the
dictionary would b
>> The problem with this code is that it only gets the first word beginning
>> with x and the others remaisn on the original list, sorted at the end. I've
>> tested on terminal many parts of the code and it whas fine, but when I run
>> it complete, it does not work.
>>
>> Following is the solution
While i'm still not sure what lamda is or represents, I've found a solution.
Thank you all for your assistance, past, present and future. :)
This seems to work:
def sort_last(tuples):
return sorted(tuples, key=myDef)
def myDef(s):
return s[-1]
On Wed, Jun 20, 2012 at 4:0
Hey all,
I'm working through the google classes to increase my python
understanding and I'm stuck on sorting tuples.
What is being asked is to sort tuples based on the second element of
the tuple in ascending order.
Given a list of non-empty tuples, return a list sorted in increasing
order by the
Hey all,
I'm working on a bit of code here and I'm having an issue with
getpass. In the documentation, it says it hides the text entered
"Prompt the user for a password without echoing." --
http://www.python.org/doc//current/library/getpass.html
However when I run it in Eclipse, the password is
print "\nPrinting palindromes"
print palindromes[:]
print "\nDone!!!"
On Fri, Jun 8, 2012 at 6:38 PM, Dave Angel wrote:
> On 06/08/2012 09:01 PM, Marc Tompkins wrote:
>> On Fri, Jun 8, 2012 at 5:10 PM, Mike Nickey wrote:
>>
>>> def compareElements(wor
I'm trying to write a bit of code that will run through a text file
and find the item or word string that is the same forward as it is
when it is revered...a palindrome. I'm having a bit of issue looping
through the wordList[] that I have created.
If you have any comments or suggestions I'd really
it's
not redundant code?
On Sat, Feb 25, 2012 at 02:07, Mike Nickey wrote:
> Hey all,
>
> I'm trying to wok on a game tracker for my friends. What I have here
> partly works but there are areas that I want to change and some areas
> that are just not working for me.
Hey all,
I'm trying to wok on a game tracker for my friends. What I have here
partly works but there are areas that I want to change and some areas
that are just not working for me.
The areas that I am having difficulty with are the def pointsNeeded
and oppPointsNeeded.
What is strange to me is t
I'm currently taking a class on Android Development.
The instructor says that the code needed has to be done through Java.
Isn't there any way to create these same apps with Python?
I read on the Android Dev site that MonkeyRunner can assist but does
anyone else have any experience on how well this
t;= 8) and (UserSkillLvl >=1)):
print "thank you"
temp = 1
break
elif (UserSkillLvl >8) or (UserSkillLvl < 1):
while temp == 0:
UserSkillLvl = raw_input("Please re-enter your skill level: ")
:
UserName = raw_input("Enter your name: ")
return UserName
def getUserNumber(x):
x = input("Enter a number:") #This will be the users unique ID number
return x
getUserName()
getUserNumber(x)
print UserName, x
Be
to a variable
>
> Or you can append to a list directly.
>
> l = []
>
> for d in yourdict:
> l.append(d['city'])
>
>
> Sent from my Verizon Wireless BlackBerry
>
> -Original Message-
> From: Mike Nickey
> Sender: tutor-bounces+eire1130=gmail.
append and populate a list
but I don't know how to pull an item by key value from the dictionary
returns.
I hope this helps clear some confusion and thanks in advance.
On Mon, Aug 1, 2011 at 15:14, ian douglas wrote:
> On 08/01/2011 03:05 PM, Mike Nickey wrote:
>>
>> Hi all,
>
Hi all,
I'm trying to access and use specific items within a dictionary that
is returned but am having issues in doing so.
[{'city': 'Sunnyvale', 'region_name': 'CA', 'area_code': 408,
'metro_code': 'Santa Clara, CA', 'country_name': 'United States'}]
How can I populate a list of many different r
21 matches
Mail list logo