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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,948
» Latest member: victorcrown
» Forum threads: 38,727
» Forum posts: 175,525

Full Statistics

Online Users
There are currently 50 online users.
» 0 Member(s) | 47 Guest(s)
Bing, Google, AOL

Latest Threads
PROFESSIONAL SOLUTIONS FO...
Forum: General Coding Help
Last Post: victorcrown
1 hour ago
» Replies: 0
» Views: 25
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
9 hours ago
» Replies: 5
» Views: 9,175
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Today, 09:08 AM
» Replies: 0
» Views: 77
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Today, 03:29 AM
» Replies: 2
» Views: 481
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 02:36 AM
» Replies: 0
» Views: 116
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:56 PM
» Replies: 9
» Views: 632
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,856
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,157
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,510
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,086

 
  how this to make a asyncio thread safe?
Posted by: linziyan - Jun-07-2018, 10:33 AM - Forum: General Coding Help - No Replies

this is the official call_soon_threadsafe

[python]def call_soon_threadsafe(self, callback, *args):
"""Like call_soon(), but thread-safe."""
..... More

Print this item

  scraping javascript websites with selenium
Posted by: DoctorEvil - Jun-07-2018, 09:38 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello, I hope this is the right subforum for this. I'm trying to scrape a website like this ..... More

Print this item

  .csv export, map and create new .csv
Posted by: jtouchais - Jun-07-2018, 08:06 AM - Forum: General Coding Help - Replies (6)

Hi Experts!

After trying to "play" with VB and Excel and searching high and low for a suitable solution I discovered Python was probably the answer..... More

Print this item

  Updating variables in an "after" loop
Posted by: omrot - Jun-07-2018, 06:18 AM - Forum: GUI - Replies (9)

Hello everyone,

I'm new here, and also quite new with Python. I'have been only for some months learning it and enjoying it :). Right now i'm writin..... More

Print this item

  How to set up email with Spectrum?
Posted by: rrcomlogin - Jun-07-2018, 04:48 AM - Forum: Bar - Replies (1)

I need the information for setting up a new email with spectrum.

Print this item

  Python Inbuilt library for XAML to HTML5 mapping
Posted by: adityamandlekar - Jun-07-2018, 04:18 AM - Forum: General Coding Help - Replies (1)

We are working on migration project where XAML tags to be converted to HTML5

Kindly suggest if you can help with Python Library which can help us w..... More

Print this item

  Path.relative_to() and symlinks
Posted by: Skaperen - Jun-07-2018, 03:19 AM - Forum: General Coding Help - No Replies

when a .relative_to() method is invoked for a Path() of a symlink, it follows the symlink and works on the object that symlink points to. but i want ..... More

Print this item

  How to create a log file
Posted by: Panda - Jun-06-2018, 11:38 PM - Forum: Tutorial Requests and Submissions - Replies (1)

In python, if your program crashes, you might want to know where it crashed. You can create a log file in order to see exactly where and when your fil..... More

Print this item

  Putting many coordinates number inside codes
Posted by: fyec - Jun-06-2018, 11:37 PM - Forum: General Coding Help - Replies (1)

Hi everyone,
I have a coordinate list. This ranges from (0,0) to (10,10). Each x and y coordinate increases by 1, this is like

(0,0) (0,1) (0,2) (0,3..... More

Print this item

  How to run numpy
Posted by: Viesturs - Jun-06-2018, 10:07 PM - Forum: Data Science - Replies (2)

I created a file nmpy.py following exactly given the code in the numpy tutorial -
https://docs.scipy.org/doc/numpy/user/quickstart.h..... More

Print this item

  Lists inside lists work strange
Posted by: jdrp - Jun-06-2018, 09:58 PM - Forum: General Coding Help - Replies (5)

I've got a problem where I use .append() to add coordinates, in the form of [x,y] to a list, then change the coords, add it again, and so on. But when..... More

Print this item

  damsel in distress
Posted by: martav - Jun-06-2018, 08:41 PM - Forum: Bar - Replies (4)

Hi everyone

Basically my husband is a developer and uses Python. With father`s day approaching I came up with an idea of a t shirt with child/parent ..... More

Print this item

  No module named pip
Posted by: Viesturs - Jun-06-2018, 08:29 PM - Forum: Data Science - Replies (4)

I try to use pip

python -m pip install --user numpy

and get

Output:
/usr/bin/python: No module named pip
I work with [i..... More

Print this item

  How can insert value in external command?
Posted by: puneet102 - Jun-06-2018, 07:45 PM - Forum: General Coding Help - Replies (2)

I am trying to create a python script which will take input from text file and run an external command.

[python]
import os

with open('media.tx..... More

Print this item

  Simple list question - I think?
Posted by: jhartacs - Jun-06-2018, 06:58 PM - Forum: General Coding Help - Replies (1)

Hello,
This may be a simple question regarding lists. I am using dnspython to perform a dns.resolver to get all the records for a domain. It creates ..... More

Print this item

  [SOLVED] Expected An Indented Block
Posted by: Panda - Jun-06-2018, 06:12 PM - Forum: General Coding Help - Replies (4)

Here is my code:
[python] if console == 'y':
# Placeholder
pass
elif console == 'Y':
..... More

Print this item

  Image comparison, a more pythonic method
Posted by: Grok_It - Jun-06-2018, 04:19 PM - Forum: Data Science - Replies (2)

I'm comparing two screenshots to determine if a kiosk is frozen.
So both images will have the exactly the same size and structure which makes it an ap..... More

Print this item

  [Help] Keep getting a 'TypeError' from Django and BeautifulSoup
Posted by: Plant_Boy - Jun-06-2018, 04:16 PM - Forum: Web Scraping & Web Development - Replies (7)

So, I'm using BeautifulSoup to try and read urls from a website. The code I'm using so far is something along the lines of:

File: appName \ models...... More

Print this item

  py2 to py3 manual conversion, dictonaries
Posted by: Vysero - Jun-06-2018, 04:08 PM - Forum: General Coding Help - Replies (8)

I am wondering if my conversion on this dictionary was done correctly. Take a look at the way this was written in py2:

[CODE] def new_item(self,ra..... More

Print this item

  Python installing as 32bit application on my 64bit system
Posted by: abdulganiyy - Jun-06-2018, 01:33 PM - Forum: Data Science - Replies (8)

Hello geeks, I am just confused why everytime I install python on my 64bit system, it is showing as a 32bit application.

Is there any issue with th..... More

Print this item

  comparing two columns two different files in pandas
Posted by: nuncio - Jun-06-2018, 01:04 PM - Forum: Data Science - No Replies

The thred subject seems to oversimplify my query. I have a data set something like below
h t hu
1 3 5
2 4 5
3 10 3
4 2 5
5 10 6
7 9 3
8 10 3
..... More

Print this item

  How to avoid "None"s in the output
Posted by: sylas - Jun-06-2018, 12:18 PM - Forum: General Coding Help - Replies (1)

Hi all. I don't know from where "None" come. Of course I should like to get rid of them.[python]class FirstClass:
def setdata(self, value):
self...... More

Print this item

  Simple Python function help needed
Posted by: Imran23 - Jun-06-2018, 10:53 AM - Forum: Data Science - Replies (2)

Hello,

I am trying to learn data analysis with python using pandas library and I was trying to define a function to filter out outliers.

My pandas ..... More

Print this item

  SQL Error: 40654
Posted by: RHamilton - Jun-06-2018, 10:26 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi,I'm new here and seeking some advice. Has anyone got the SQL Error: 40654?
What does this errorcode mean?
Thanks very much in advance for all you..... More

Print this item

  reading, modifying and writing json file
Posted by: metalray - Jun-06-2018, 09:23 AM - Forum: Data Science - Replies (2)

Hi Python Experts,

I am trying to open a json file, modify the content and write it to a different directory.
The code runs but nothing is really ..... More

Print this item

  use of In[] tag in pandas
Posted by: paragmedsinge - Jun-06-2018, 09:11 AM - Forum: Data Science - Replies (2)

I was going through this code related to linear regression and was trying same in IDLE but idle is not recognizing Out[X,Y] or In[X] . Pandas moudle ..... More

Print this item

  storing images in mongodb using python
Posted by: richa828 - Jun-06-2018, 07:36 AM - Forum: Web Scraping & Web Development - Replies (2)

How do I store and retrieve/display images in mongodb.I am working with Pycharm as the editor .
when I upload a file through html and try to store it..... More

Print this item

  Folium: HeatMapWithTime is not displaying data point
Posted by: Vreni - Jun-06-2018, 07:24 AM - Forum: Data Science - No Replies

I have already visualized the heatmap with LayerContol with folium but now I want to add a time index for having a time filter wihtin the Heatmap. The..... More

Print this item

  Multiprocessing with loading well-trained model. (via Python3)
Posted by: Chris2013 - Jun-06-2018, 06:48 AM - Forum: Data Science - No Replies

Here is my situation: I have a well-trained model of speech synthesizing. I am going to speed up synthesizing paces with multiprocessing, which pre-lo..... More

Print this item

  Getting 'list index out of range' while fetching product details using BeautifulSoup?
Posted by: PrateekG - Jun-06-2018, 04:53 AM - Forum: Web Scraping & Web Development - Replies (8)

Hi All,

I have written following functions in Python3.6 for fetching the product related details from the site[[url=https://python-forum.io/thread-10772.html]..... More

Print this item

  Need help Multiprocessing with BeautifulSoup
Posted by: HiImNew - Jun-06-2018, 04:00 AM - Forum: Web Scraping & Web Development - Replies (4)

I am trying to look through html for certain tags and (if a certain tag is found, have python notify me as quickly as possible) This is my code so far..... More

Print this item

  Accessing a dictionary - KeyError ??
Posted by: eoins - Jun-06-2018, 12:58 AM - Forum: General Coding Help - Replies (1)

I am trying to practice lists and dictionaries. I know this is not the ideal way to code this specific task but I wanted to use lists and dictionaries..... More

Print this item

  VS Code questions
Posted by: Larz60+ - Jun-05-2018, 09:58 PM - Forum: General Coding Help - Replies (3)

I have been using VS code and like it very much.
There are two questions:

  1. How do I terminate a running script Terminate tasks states th..... More

Print this item

  Conversion of Time Duration in seconds in python
Posted by: jdevansh99 - Jun-05-2018, 05:12 PM - Forum: General Coding Help - No Replies

import re
match = re.match(r'PT(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)S)?', 'PT7M37S')
(hours, minutes, seconds) = [ int(n or 0) for n in match.groups()..... More

Print this item

  Combine images using Pillow and Python
Posted by: GMA - Jun-05-2018, 04:26 PM - Forum: General Coding Help - Replies (2)

Hello Python community :)

I'm trying to write a python script using Pillow :
count files ( png images ) number create an image for every 64 image..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PROFESSIONAL SOLUTIONS FO... 1 hour ago victorcrown victorcrown General Codin...
  Creating a Mindmap progra... 9 hours ago J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... Today, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... Today, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Today, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... Yesterday, 20:56 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
Most views
  The best Prog... 576725
  Tutorial Requ... 498967
  Web Scraping ... 440537
  Newbie with P... 384505
  New Users Int... 368287
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8176
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
victorcrown Today
Markbel386 Today
trntgl Today
susan Today
jatinkumar12 Today

User Panel Messages

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