Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Help with parameter variables losing value
Post: RE: Help with parameter variables losing value

# Global constant for Calories CALORIES_FROM_FAT = 9 CALORIES_FROM_CARBS = 4 # main module # Get grams fat def main(): gramsFat=getFat() caloriesFat=setFat(gramsFat,CALORIES_FROM_FAT) g...
largecat General Coding Help 4 3,179 Feb-24-2018, 07:02 AM
    Thread: print values
Post: RE: print values

'+' is to put some strings together, so it's ok. a='abc' b='def' print(a+b) #abcdef
largecat General Coding Help 3 2,877 Feb-24-2018, 06:43 AM
    Thread: [cocos2d] how to use the second display
Post: [cocos2d] how to use the second display

I'm now using cocos2d to make some animation, and have two monitors, I want to use the second monitor to display, but the code cannot work, firstly get the screen list, screens =pyglet.window.get_pla...
largecat General Coding Help 0 2,478 Feb-24-2018, 06:37 AM

User Panel Messages

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