Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,303
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,906

Full Statistics

Online Users
There are currently 75 online users.
» 1 Member(s) | 66 Guest(s)
AOL, Google, Bing, AOL, Facebook, mamta25

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
11 hours ago
» Replies: 4
» Views: 152
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 168
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 688
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,815
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 157
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 139
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 222
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,220
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 329
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 218

 
  How can i make this code to run faster
Posted by: Prince_Bhatia - Dec-19-2018, 05:10 AM - Forum: Web Scraping & Web Development - Replies (2)

hi,

I have a csv with around 2 lakhs url to download images from them.I am reading a csv and downloading images:

below is my code:
[python]
fr..... More

Print this item

  Issues with async and yielding from API
Posted by: GSerum - Dec-18-2018, 07:35 PM - Forum: General Coding Help - Replies (1)

Heyo guys,

So currently i'm trying to get a Discord bot to work, which uses asyncio, and an API which uses a yield function inside an event loop.

I'..... More

Print this item

  Bind only fires off once?
Posted by: WuchaDoin - Dec-18-2018, 06:58 PM - Forum: GUI - Replies (3)

I have a combobox used with Tkinter I cannot get bind to execute appropriately. Currently I have:

[python]self.ap_reason.bind("<<ComboboxChanged>>", ..... More

Print this item

  gTTS Input non responsive
Posted by: DrNerdly118 - Dec-18-2018, 06:57 PM - Forum: General Coding Help - Replies (9)

in this particular module, after successfully installing the pip files for the required input, the Google Text to Speech element is non responsive and..... More

Print this item

  Clustering Advice
Posted by: Madraykin - Dec-18-2018, 05:05 PM - Forum: General Coding Help - Replies (2)

Hi all,

I'm a bit of a novice Pythoner and have recently been running a K-Means Clustering in Azure Machine Learning. That method doesn't suit the ..... More

Print this item

  Magic method __str__
Posted by: dan789 - Dec-18-2018, 04:11 PM - Forum: General Coding Help - Replies (16)

Hi all, I´m trying to make a method __str__ for my class. It should have just one line (return ...) as usually this method is supposed to look like, a..... More

Print this item

  Segmentation fault when connecting to modbus device with Libmodbus
Posted by: alice - Dec-18-2018, 04:03 PM - Forum: General Coding Help - No Replies

I have a Raspberry Pi with an armhf system. I am getting Data from a Modbus Device with TCP, therefore I use the C Library libmodbus through ctypes. ..... More

Print this item

  some dict's special methods
Posted by: nzcan - Dec-18-2018, 03:20 PM - Forum: Homework - Replies (5)

hello,
i suppose that behind the:

[python]>>> ca = {1:'koko', 2:'boko'}
>>> 1 in ca
True
>>> 5 in ca
F..... More

Print this item

  keyword matching part2
Posted by: janho - Dec-18-2018, 01:50 PM - Forum: General Coding Help - Replies (19)

Script needs to read excel file which has let's say column A having these set of keywords let' s say 100 such keywords in this column and
after read..... More

Print this item

  Image conversion help
Posted by: KJDVolc - Dec-18-2018, 12:37 PM - Forum: Data Science - No Replies

Hi all,

I am trying to converst a series of float32 2D tif images to uint16 images and the read them into a 3D array. I can run the full code to g..... More

Print this item

  PIP sudden ssl error
Posted by: erickroberts - Dec-18-2018, 12:10 PM - Forum: General Coding Help - Replies (5)

Could not install packages due to an EnvironmentError: HTTPSConnectionPool


Could not install packages due to an EnvironmentError: HTTPSConnection..... More

Print this item

  SyntaxError: Invalid syntax in a while loop
Posted by: ludegrae - Dec-18-2018, 09:12 AM - Forum: Homework - Replies (3)

Hello everyone,
I would like to create a list of 12 numbers which each term is equal to the previous triple using a while loop.
Here is my code:
[..... More

Print this item

  cython does not work
Posted by: skorost5 - Dec-18-2018, 07:16 AM - Forum: General Coding Help - Replies (5)

cannot display Hello on cython

file: set.py
[python]
from distutils.core import setup
from Cython.Build import cythonize
import temp

compile..... More

Print this item

  Subtract rows (like r[1]-r[2] and r[3]-r[3]) and no pandas
Posted by: pradeepkumarbe - Dec-18-2018, 07:11 AM - Forum: Data Science - Replies (1)

I have csv file like below

Account Dates Sales
ADBVC 10-dec-2018 12
ADBVC 11-Dec-2018 10
SDFC 14-Dec-2018 15
SDFC 10-Dec-2018 11

I want ..... More

Print this item

  Python Reportlab Wordwrap Table
Posted by: Mady - Dec-18-2018, 06:31 AM - Forum: General Coding Help - No Replies

I have a generated list in python, for having a nice layout i need a wordwrap in it. Because of beeing a list in a list I am not able to use Paragraph..... More

Print this item

  imutils.grab_contours() error - reg
Posted by: ignatius80 - Dec-18-2018, 05:06 AM - Forum: General Coding Help - Replies (1)

Hi,

I am new to Python. Started to develop coding for image processing. I came across an example code for object detection(https://www.pyimagesearc..... More

Print this item

  Proposing "Data Science" sub-forum (again)
Posted by: micseydel - Dec-18-2018, 01:52 AM - Forum: Board - Replies (15)

This has already been discussed (see: https://python-forum.io/Thread-Data-Scie...-sub-forum) and lead to "stalemate" as someone p..... More

Print this item

  While loop explanation
Posted by: rdgbl - Dec-18-2018, 12:39 AM - Forum: General Coding Help - Replies (1)

[python]
num1 = input("Please enter your first number: ")
num2 = input("please enter your second number: ")
op = input("PLease select your operatio..... More

Print this item

  a Word Inside Parenthesis in Class Decleration
Posted by: tahasozgen - Dec-17-2018, 11:57 PM - Forum: General Coding Help - Replies (2)

Hi There;
I am new to python. There is a class definition in python.

[output]class SomeName(object) :
""" You usually define data and code here ..... More

Print this item

  clear all widgets at same time (not delete/remove)
Posted by: shift838 - Dec-17-2018, 11:55 PM - Forum: GUI - No Replies

Is there an easy way to clear all my pyqt5 widgets at the same time. Reset them back to default at form load via code?

Comboboxes, checkboxes, lin..... More

Print this item

  Where can I find a reference to python 3.7 commands?
Posted by: newbie2019 - Dec-17-2018, 11:40 PM - Forum: Data Science - Replies (7)

I am using spyder with python 3.7, I am reading a 2015 book that says this:

">>> plot (x,y,'o')

where the string 'o' ensures that a small circle..... More

Print this item

  Class Object hellp
Posted by: Dneal620 - Dec-17-2018, 11:40 PM - Forum: General Coding Help - Replies (1)

Hello, I am new to python and having a few problems I was hoping to find some help with on here.
I am creating a class object and for some reason whe..... More

Print this item

  Is Python used to make popular games that you can play on the Xbox or PlayStation
Posted by: ironsheep - Dec-17-2018, 10:50 PM - Forum: Game Development - Replies (17)

Hi,

Do games like "Hearthstone" and "World of Warcraft" made by Blizzard Entertainment use Python?? Is Python used to make popular games that you..... More

Print this item

  Pandas and numpy
Posted by: gehrenfeld - Dec-17-2018, 10:49 PM - Forum: Data Science - Replies (7)

I am using anaconda3 and python 3.7

Here is my code:

[python]
import numpy as np
import pandas as pd

data = pd.read_csv("summary.csv")

d..... More

Print this item

  Attaching File
Posted by: tomthirteen - Dec-17-2018, 10:13 PM - Forum: General Coding Help - Replies (2)

Hi, I can't see to be able to figure out how to attach a file. It seems I have to become a "user," but I can't seem to figure out how. Any help is gre..... More

Print this item

  SQLAlchemy, TypeDecorator and alias
Posted by: Master_Sergius - Dec-17-2018, 09:58 PM - Forum: Web Scraping & Web Development - No Replies

Hi all,

I'm fighting with a very complex software. In one place there is a TypeDecorator for datetime.datetime, which is always returns datetime (i..... More

Print this item

  ipaddress.IPv4Network
Posted by: tomthirteen - Dec-17-2018, 08:18 PM - Forum: General Coding Help - Replies (11)

Hello all,

I am trying to go through a file of editors and find the IP addresses of edits if given. Some are IP ranges, others are single IP. It se..... More

Print this item

  analyze list
Posted by: davidm - Dec-17-2018, 08:00 PM - Forum: General Coding Help - Replies (5)

hi don't know how to change my text to ltr, sorry.
I'm new to python - but not to programming
I'm taking as my 1st project a lottery predictor based..... More

Print this item

  Match CSV files for difference
Posted by: Cuz - Dec-17-2018, 06:19 PM - Forum: General Coding Help - Replies (4)

Hi guys!

I have a real-life problem and wanted to know if there is a way to do it in more efficient way. I have two CSV files I need to compare to s..... More

Print this item

  Magic square!
Posted by: frequency - Dec-17-2018, 05:30 PM - Forum: Homework - Replies (1)

Hello! I was asked to make a magic square solver program.By breaking the program into categories,i must get the user input which will be given with en..... More

Print this item

  Tkinter coords
Posted by: dan789 - Dec-17-2018, 04:26 PM - Forum: GUI - Replies (3)

Hi, I want to move my object (image) in tkinter, but it doesn´t work. This is what I have so far:

[python]
class Playfield:
...
def build_playfield(s..... More

Print this item

  Tkinter
Posted by: _edgene - Dec-17-2018, 01:41 PM - Forum: GUI - Replies (2)

Hi users! This is not a technical question but I'm just interested. Tkinter stands for Tk Interface and what does Tk stand for?

Print this item

  OOP-self question
Posted by: IoannisDem - Dec-17-2018, 12:34 PM - Forum: General Coding Help - Replies (5)

Here is a part of a code i found online while i am trying to get familiar with oop:
[python]
class ContactList(list):
def search(self, name):
..... More

Print this item

  Combinations
Posted by: mnnewick - Dec-17-2018, 11:41 AM - Forum: Homework - Replies (1)

Here is my code:
#Task 3 Theif#
[python]import itertools
n1 = input("Enter your 1st known number? ")


n2 = input("Enter your 2nd known numb..... More

Print this item

  Remote Senior Python Developer (Backend)
Posted by: karolinareef - Dec-17-2018, 11:01 AM - Forum: Jobs - Replies (1)

We are looking for a remote Senior Python Backend Developer to join our team [Reef Technologies: fully remote python software house]
Salary (B2B): 3 ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 11 hours ago Lou snippsat General Codin...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579474
  Tutorial Requ... 512680
  Web Scraping ... 442334
  Newbie with P... 386392
  New Users Int... 381189
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12113
buran 8196
snippsat 7391
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Yesterday
TimTom420 11-27
cruisesfares 11-27
SNR 11-27
Jonathan 11-27

User Panel Messages

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