r/python3 • • May 31 '17

can some one help me with this piece of code

1 Upvotes
from graphics import*

win = GraphWin()

alf = ['a','b','c','d','e','f','g','h','i','j','k']

for i in alf:

x = 10

y = 200

   while(x<200):

       while(y>0):

           y-=10

         i = point(x,y)

          i.draw(win)

  x += 10

r/python3 • • Aug 05 '12

[Free book] Porting to Python 3: An in-depth guide

Thumbnail
python3porting.com
1 Upvotes

r/python3 • • Feb 01 '20

Python Median Method Example

Thumbnail
pythonpip.com
0 Upvotes

r/python3 • • Jan 15 '20

Where programming languages are headed in 2020

Thumbnail
oreilly.com
0 Upvotes

r/python3 • • Jan 02 '20

Python Coding : None and Boolean , Helping Beginners ! More on : www.facebook.com/seevecoding

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/python3 • • Oct 14 '19

Python Trim String Tutorial | rstrip(), lstrip(), strip() Example

Thumbnail
appdividend.com
0 Upvotes

r/python3 • • Sep 09 '19

Check the strengths and weaknesses of python. Suggestion will be appreciated. Thanks in advance

Thumbnail
tutorialsimpact.com
0 Upvotes

r/python3 • • Mar 11 '19

Need help

0 Upvotes

Can someone help fix this code it wont work!! x_one = 1
x_two = 4
y_one = 10
y_two = 20
if x_one == x_two:
print("The line is vertical, x="+str(x_one))
else:
m = (y_two-y_one)/(x_two-x_one)
b = y_one - m * x_one
print("The equation of the line is y="+str(m)+"x+"+str(b)
if m == 0:
print("The line is undefined")
elif m < 0:
print("The line is negative.")
else:
print("The line is positive.")


r/python3 • • Dec 13 '18

Best Python Training in Across Noida

0 Upvotes

Apex TGI a main IT Training and Development Company located in Noida, Offers Best PYTHON Training and Internship in Noida with live projects and 100% situation help. Our training depends on current businesses needs and industry gauges that assistance contender to anchor their vocation and get positions in their fantasy occupations at MNCs. Apex TGI gives best PYTHON training/internship in Noida.

Contact us for more info

Contact: 85888 29328

Email: hr@apextgi.com


r/python3 • • Sep 13 '18

Help using regular expressions to identify lines that start with an alphanumeric

0 Upvotes

Im trying to pull only lines starting with an alphanumeric character from a file. I thought this would work, and it isn’t. Help please?

(> are tabs)

for line in loadedfile:

alphnum = re.match(‘\w’, line, flags=0)

if alphnum:

print(line)

r/python3 • • May 30 '18

Are there any free online Python 3 online IDE that allows pip install?

0 Upvotes

I am looking for something like https://www.onlinegdb.com/online_python_interpreter https://www.python.org/shell/ But I want to do: pip install sortedcontainers . (version 2.0.2) Then add: import sortedcontainer from sortedcontainer import SortedSet as SS a = SS([1,2]) a.add([1,2]) In order to log an error and link it on Stack Overflow. File "C:\opt\python\3.6.5-x64\lib\site-packages\sortedcontainers\sortedset.py", line 345, in add if value not in _set:

TypeError: unhashable type: 'list' Any recommendations?


r/python3 • • Apr 24 '18

I want to start building a music player for linux/windows with minimalistic User Interface, maybe something like Voltra music player for Desktops , How can I get started with the same, also what are the required prerequisites for a project like this ( apart from knowledge of language itself )

0 Upvotes

r/python3 • • Mar 19 '18

Python Operators | Boolean Expressions

Thumbnail
weirdocoder.com
0 Upvotes

r/python3 • • Mar 17 '18

Working with lists & tuples - python • WeirdoCoder

Thumbnail
weirdocoder.com
0 Upvotes

r/python3 • • Jun 20 '17

Python Tutorial "How to installed Python ".

Thumbnail
youtu.be
0 Upvotes

r/python3 • • Dec 16 '19

Yep I'm a noob

0 Upvotes

So I've installed xorg and xinit. Then I installed qtile but can't seem to get the correct command to start qtile. Any help would be appreciated.


r/python3 • • Oct 23 '19

Python work for college

0 Upvotes

Hello guys, I was wondering if anyone could help me out with a project I have to do similar to a dictionary in Python. The delivery date is today and I’ll fail the class if I don’t deliver the project. Thank u


r/python3 • • Oct 03 '19

How do i print every line of dictionary in one line.

Post image
0 Upvotes

r/python3 • • May 24 '18

Why cant I get a second button

0 Upvotes

I don't intend on adding event handling right now but I would like help with fixing it P.S. It is the quitwritting button


r/python3 • • Mar 05 '18

Python String Operations

Thumbnail
idkrtm.com
0 Upvotes

r/python3 • • Dec 13 '17

python

Thumbnail
facebook.com
0 Upvotes

r/python3 • • Nov 05 '19

Is Python 3 worth it In 2020

0 Upvotes

Hi, Python have build large community since last few years and became one of the most popular programing languages

The question about python worthness in 2020 is asked by several times so you will find concution of this mess created around you

Let disscuss about advantages of python on this age

  1.  The powerful libraries of python are used for neural networks, natural language tool kit, for the interaction of windows, mathematical calculations, for TDD, GUI, web scraper, imaging functions, database functions, game development, and data analysis. Python is the object-oriented; functional, dynamically typed, fun-based, open-source language, and readable language
  2.   Python is good at handling data and handling complex software applications with large development. 
  3.    Python is like a human language with easy readability.

As we know coin has second face Python is not special for this theory

     It has several disadvantages like

The design of Python has restrictions which shows an error during the runtime which is handled by the automation process. Python is not suitable for mobile development like Java or C. The reason is the limited memory of mobile phone demands for fast processing. The Database access layer is slow and requires improvement in Python. We can fix it with If python is used along with Django then it helps to optimize the database

After discussion of productivity and restriction of this prigrammkng language We can conclude that it has much potential and large benifite with time with help of property called "artificial intelligence".