Added: 2 years ago
From: thenewboston
Views: 16,645
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (69)

Sign In or Sign Up now to post a comment!
  • @GanjaRastamanBoi haha yeah!

  • does anyone else still have everything and when you run it hella windows pop up?

  • I am learning from these videos. Can I do threading and animations in Python?

  • I kinda wished you'd do more advanced python stuff, or at least the next possible thing with it, --like make a program-- a complete program and run it. Either way, thanks for all of the tuts, they're the easiest to follow.

  • Comment removed

  • who is the one guy that dislikes this?

  • custom.BackgroundColour doesn't work for me and also the alignment you did is not working for me . i m using ubuntu python2.7 ..wot could be the possible reason????

  • @u2ube1980 You simply misspelled "custom.SetBackgroundColour". This is probably the reason the alignment doesnt work for you either.

  • @tryenothaone no this is not the reason i wrote it wrong in comment box not in the actual code... few other things were also not working related to 'wx'

  • @tryenothaone I have the same issue, but I am on ubuntu 2.6. I believe it has something to do with linux.

  • hold on let me do the math on that.Oh,yes 3 is less then 10

  • Python is named after " Monty Python's Flying Circus" who are British and Idle is named after Eric Idle -- one of the "Python's". So -- when using "Python" one should always use the Oxford dictionary.

  • also, wx.align_center aligns texts just horizontally. Is it possible to align texts both horizontally and vertically?

  • but how to enlarge texts?

  • old vid i know but for some reason my backround did not make blue it was just grey panel like the rest, so actually no backround, not sure why ?

  • I find it better not to use panel=wx.Panel(self)

    Just say: Welcome=wx.StaticText(self,-1,­"Welcome dude",(1,1))

    That way you don't make EVERYTHING grey and you keep your menubar a different colour.

  • how to set a border for the static text, also i have set a fixed size for my static text and the content is gona be dynamic ... now when my content exceeds the size of static text a vertical scroll must appear. Pls help me in doing this , i have tried "style=VSROLL" but then the scroll appears even when the content is less than the static text's area... i dont want to have the greyd out vertical scroll !! ill be very thankfull if u help me out

  • I tried wx.ALIGN_CENTRE and that also made it appear in the middle lol.

  • @sueroski - The setup works for me on OS X 10.6.6...so I wonder if it is a small syntax problem. I noticed that most of my errors were missing letters, or capitalizing one thing but forgetting to do the same to another.

    Did you key in:

    custom=wx.StaticText(panel, -1, "This is custom", (10,30), (260,-1),wx.ALIGN_CENTER) custom.SetForegroundColour('wh­ite') custom.SetBackgroundColour('bl­ue')

    like so? It worked for mine, and should translate just the same, it's still Python.

  • The Canadian way of Colour...but the brits invented it!

  • "Let me tighten this up... That's what she said

  • I'm having Ubuntu issues as well. idle-python2.6, Ubuntu Netbook Remix 9.04.

    Any suggestions? I'd like to keep learning....

  • Yea that´s what she said...

  • how come colour is in british but center is in american?

  • Both BackgroundColour and ALIGN_CENTER do not work for me...Ubuntu GNU/Linux 10.04. Any idea? Thanks~

  • in Latin it's color is color I win >:P

  • We spell it "colour" in Australia too. The spelling originates in the 19th Century when typists would add letters to words because they were paid "per letter". This is true of lots of words.

  • greetings to all british people

    python is running english :D

  • @didagoal GO BRITISH (im British)

  • I cant spell damn Color, I'm so happy it's english. The proper way. I always add colour in other things, and it puts the rendering thing off .-.

  • THIS IS CUSTOM!!

  • Finally!!!

    

  • Haha @ colour argument.

  • Can you help me please? I can't align or set any background color for text!

  • Am I really expected to spell words incorrectly to use wx? :( The british way is so snooty lookin...

  • @fauster425

    It's in real English. If we had to base everything on American castrated english we would have prog languages with functions like "Yo_dawg_giev_value()" in matter of few years.

  • @DaftViz you're implying that brits have no slang. you are a preposterous wanker....

  • @WellConditionedChimp

    No I'm not. I know what I'm implying.

  • @DaftViz ok. Which is what, then?

  • @fauster425 Hey, we brits like snooty words :)

  • lemme tighten this up a bit...that's what she said.. LOLZ

  • "Colour" is English, not American. (:

  • hahaha, lovely "thats what she said" there <3

  • awesome

  • haha im amazed they use the British spelling :D thats good coz im from England

  • I use colour for my English in my country

  • colour is Canadian

  • That's what she said.

  • hahahahhahaah

  • Again, I don't see you closing the parenthesis on line 11. Maybe a note to newbs like myself in the video notes? :/

  • woooooo finaly i get to spell colour the right way for me XD

  • thats what she said! lol

  • "This is Static Text"

    I thought you were gonna say:

    "This is Sparta."

  • Let me just tighten this up a bit. "That's what she said." ...lmAO!!!!

  • Haha I always have to remember to spell colour as color in some languages cause i'm english.

    Great tutorial as usual, thanks a lot :D

  • where did you learn this?

  • Thanks Bucky. Colour is probably more widely used in english, just not so much in America.

  • Colour = canadian

    Color = american

  • Colour = BRITISH. You all came later!

  • @nielsmeyer

    For some people that's too great a labour.

  • @nielsmeyer That's why we are more improved! Newer= Better

  • @nielsmeyer I LUV the British!!! Going to visit one day. . .Can't wait to see London.

  • wtf is thizs

  • why (-1)?

  • to bookmark xD

  • make a playlist :)

  • We made the word 'colour' ? Remember what language you speak :P

  • Dam right :P

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more