Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: can't assign to literal error in pycharm
Post: can't assign to literal error in pycharm

class Flee(Action): def __init__(self, method: object, name: object, hotkey: object, kwargs: object) -> object: """ :rtype: object """ super().__init__(method, ...
ryder5227 General Coding Help 2 2,926 Oct-07-2019, 02:16 AM
    Thread: redeclared defined above without usage warning
Post: redeclared defined above without usage warning

Here is the code. I use pycharm and I keep getting this warning. def current_actions(self: object) -> object: if self.Enemies.is_alive: return [Actions.Flee(), Actions.Attack(enemy=sel...
ryder5227 General Coding Help 0 5,068 Oct-03-2019, 06:09 PM
    Thread: Could you help with this bug I have looked for like 20 minutes
Post: Could you help with this bug I have looked for lik...

import Items class Player: def __init__(self): self.inventory = [items.RedBloodCell()] self.hp = 100 self.location_x, self.location_y = world.starting_position sel...
ryder5227 General Coding Help 1 2,146 Sep-29-2019, 10:00 PM
    Thread: IndentationError: expected an indented block
Post: IndentationError: expected an indented block

class Player: def __init__(self): self.inventory = [items.RedBloodCell()] self.hp = 100 self.location_x, self.location_y = world.starting_position self.vicory = fal...
ryder5227 General Coding Help 2 2,562 Sep-27-2019, 06:08 PM
    Thread: Could you guys help with this bug. I would post on StackOverflow but I got tempbanned
Post: Could you guys help with this bug. I would post on...

It keeps giving this error. 1 import world 2 from player import Player 3 4 def play(): 5 world.load_tiles() 6 while player.is_alive() and not player.victory: ...
ryder5227 General Coding Help 2 2,326 Sep-26-2019, 07:11 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020