Details
-
AboutTelecom, Networking, Network Security,
-
SkillsPython,
-
LocationOklahoma
-
Github
Joined devRant on 5/12/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
In python, is there a way to make this work?
----------
# list of people
people = ["Nick", "Sue", "Bob"]
# class instance
Bob.pockets = ["gum", "paperclip", "coins"]
# convert string to prefix of a class instance
Print(people[2].pockets())
----------
This is the simplest way to show what I'm needing to figure out.
I need to convert a string into the prefix of a class instance.
I'm having trouble figuring it out.7 -
What would be the easiest way to make line 16 work.
I don't know if there is a simple way to tell this "if" argument to check all af the "Remote Host" classes for a matching string at that index.
I'm trying to design with modularity in mind.14 -
I'm finally making some visible progress on my Unity mobile game called "it goes number in the night!" gotta add a scoring system then I'll have a playable demo.4
-
For the stress ball is that +100 on a single rant or overall? @dfox
& just for kicks I'll put the question in code form... well, kinda.
if( rantLikes >= 100 || overAllLikes >= 100)
{
Stressball.send( );
}2 -
Spent the day working on a concept for a Survival, Twin Stick Shooter, Tower Defence game. not sure if it will work yet, but everyone I have ran my Concept by really likes it.
-
anyone know anything about unity's "OnTriggeredEnter ( )?"
I've been messing with it for hours and I just can't figure it out...2