#Starter Input
1 messages · Page 1 of 1 (latest)
We typically don't have these deep folder structures with 50 nested folders like the Java and C# people
so how does your mdoluar stuff look build up then? 😄
And any common name for a source folder?
Some people have a src folder, some people don't
General rule of thumb: Put everything in one file until it feels more comfortable to split it up into different files
well thats how i like it most xD
Sorted over different modules with one main file running or so 😮
Python is about making it work not about making more directories than your app has users lmao
thcx^^
another question...
How does PY indicate, that its the end of if or else or loops?
And how can i integrate a if in a loop? i dotn get it working 😄
indentation
for i in range(10):
if i % 2 == 0:
print(i)
print("gang", i)
hmm weird.
Do i need to have smth behind the if?
No?
i meant in same line
It's just based on indentation
gimme a sec:
The : is used for starting a new block
for i in range(100):
rndm = random.range(0,100)
if rndm > 95 :
print(rndm)
print("end of loop")
kinda not working like i want to xD
nvm....
just messed up the < instead of > -.....
Maybe look into watching a basic tutorial lol
Well... i got it to run, it was just a logic error on my side xD
Another question, which framework for PY GUI is easy to learn and easy to use?
Im unsure which to use and which si easy to follow. Checked on Kivy, but anyhow got nervous when seeing the first example for a pong game 😂
Nah just some standard forms for databse out/input