No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
I'm running 2.4.4 using gentoo. I've compiled python with Tk. (USE="tk" in /etc/make.cont) I can not get "turtle.setup(width=800,height=600,startx=400,starty=300)" to set the screen size. Any ideas? Is there another way to set the screen size? ? cdub [code = python] import Tkinter import turtle turtle.setup(width=800,height=600,startx=400,starty=300) turtle.down() turtle.right(30) turtle.forward(100) [/code]
I got this to compile with gcc using gentoo. But I get the error: cwc@tma ~/c_code$gcc -c beep2.c -o beep2 cwc@tma ~/c_code $chmod a+x beep2 cwc@tma ~/c_code $./beep2 bash: ./beep2: cannot execute binary file [QUOTE=jan1024188;263050][CODE]#include <stdio.h> #include <unistd.h> #if !(WIN32) #define beep(x,y) #endif int main() { puts("using winAPI Beep(frequency_hrz, duration_ms)..."); …
The End.
cdub