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,312
» Latest member: elizabethlittle6258
» Forum threads: 38,801
» Forum posts: 175,923

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
7 hours ago
» Replies: 11
» Views: 318
Python compiler
Forum: General Coding Help
Last Post: noisefloor
7 hours ago
» Replies: 1
» Views: 75
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Yesterday, 07:34 PM
» Replies: 5
» Views: 93
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Yesterday, 05:51 PM
» Replies: 0
» Views: 52
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,129
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 206
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 732
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,840
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 213
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 170

 
  How to stop an infinite loop in spyder if it's currently running?
Posted by: wlsa - Jun-30-2018, 02:11 AM - Forum: Homework - Replies (3)

I'm stunned I haven't been able to find anything online about stopping a program you've run.
The only thing I've been able to do so far is close spyd..... More

Print this item

  Printing coefficients
Posted by: Scott - Jun-30-2018, 01:47 AM - Forum: Data Science - Replies (1)

Hi Everyone,

I am trying to print coefficients for my logistic regression model so I can get the scores for each variable input to see how predicti..... More

Print this item

  detect when scanner stops
Posted by: darter - Jun-29-2018, 10:05 PM - Forum: General Coding Help - Replies (1)

I am automating some scanning of old film and would like to know when a scan is complete. There happens to be a green blinking light on the scanner th..... More

Print this item

  Attempt to build python 3.7.0 on OpenSuse Leap 15
Posted by: Larz60+ - Jun-29-2018, 10:05 PM - Forum: Data Science - Replies (14)

I attempted to build Python 3.7.0 on OpenSuse Leap 15.
The compile was successful (or at least it got to testing phase), but failed on _hashlib with ..... More

Print this item

  Shared reference and equality
Posted by: zyo - Jun-29-2018, 09:15 PM - Forum: General Coding Help - Replies (3)

Hi everybody,
I am starting to learn Python in these days: I came across the topic of shared references and equality, and I thought I had understood ..... More

Print this item

  Map with folium
Posted by: vandelouw - Jun-29-2018, 08:36 PM - Forum: General Coding Help - No Replies

Hi,
I'm trying to have a choropleth map of reach departments with folium.
I downloaded the 'departements-2.geojson' file on https://www.france-geoj..... More

Print this item

  setuptools
Posted by: bromberg - Jun-29-2018, 08:27 PM - Forum: General Coding Help - Replies (3)

I'm a newbie to Python 3.6 running on Windows 10.
I expected to go to the Python doc and find a module called 'setuptools' and then a function calle..... More

Print this item

  Coding Problems With Mr.Stickman Game
Posted by: SheeppOSU - Jun-29-2018, 08:04 PM - Forum: General Coding Help - Replies (2)

After I typed a lot of the coding for the game I ran it and fixed all the problems with it but I couldnt figure out what was wrong with it this time. ..... More

Print this item

  Help with correlation coefficient
Posted by: mattjb84 - Jun-29-2018, 07:38 PM - Forum: Data Science - Replies (7)

Trying to calculate the correlation coefficient between the two lists, so far no luck. Any suggestions or help would be greatly appreciated?

[python..... More

Print this item

  Schedule with other processing
Posted by: RValentim - Jun-29-2018, 06:52 PM - Forum: General Coding Help - Replies (7)

How can I create a schedule and continue with the parallel processing of other functions

[python]
sched = BlockingScheduler(timezone='UTC')
def m..... More

Print this item

  Python 3- binary math is stupid
Posted by: FlyingGaijin - Jun-29-2018, 04:56 PM - Forum: Data Science - Replies (1)

One of these things doesn't do math like the other. (Python 3.5.5)

[python]>>> import numpy as np
>>> np.arange(35.5,29.5,-0.1)
array([35.5, 35.4..... More

Print this item

  Connec The Leader (Connect Four Game)
Posted by: Ahmed_Ismail - Jun-29-2018, 04:32 PM - Forum: Code sharing - No Replies

[size=medium]This is a connect four game, you simply try to connect the photo of your supreme leader Big Grin Big Grin as you would in a norm..... More

Print this item

  Mark post as question/solved.
Posted by: penright - Jun-29-2018, 04:25 PM - Forum: Board - Replies (8)

This my exist and I don't know how to do it.
I asked a question and later solved it. I wonder if it would be valuable to make a thread as solved and..... More

Print this item

  Trouble displaying an image in PyQt4
Posted by: Vysero - Jun-29-2018, 03:54 PM - Forum: GUI - Replies (2)

Hey guys, I am attempting to display an image with this setWindowIcon command. However, I am getting an error. Here is my attempt:

[python]import s..... More

Print this item

  FTP, HTTP or.....?
Posted by: floatingshed - Jun-29-2018, 02:54 PM - Forum: Networking - Replies (3)

I need to setup a server that can be used to exchange files in both directions (ftp style), and serve mp3 audio to a player such as VLC.

I have don..... More

Print this item

  How to fill nan values with an expression
Posted by: Jaarroy - Jun-29-2018, 01:32 PM - Forum: Data Science - No Replies

Hello guys, please make an effort trying to help me to know how to fill nan values with a certain expression.

If NaN value is True, I want to repla..... More

Print this item

  NameError: Name 'path' is not defined
Posted by: aniyanetworks - Jun-29-2018, 12:28 PM - Forum: Web Scraping & Web Development - Replies (9)

Hello folks,
I am completely new in Python programming, and at beginning of the day, I am having some issues.
Hope you guys will help me pass throug..... More

Print this item

  Python Code Help
Posted by: supersingh - Jun-29-2018, 12:19 PM - Forum: Homework - Replies (1)

Hey guys, I'm new to python but I do need it for a simulation that I must use for a school project. I have come across a simulation http://www.101comp..... More

Print this item

  Pro's and Con's of some different websocket libraries
Posted by: penright - Jun-29-2018, 12:07 PM - Forum: Networking - No Replies

I have been playing with websockets at https://github.com/aaugustin/websockets/blo[url=https://python-forum.io/thread-11233.html]..... More

Print this item

  import libraries from another script
Posted by: ankurk017 - Jun-29-2018, 09:20 AM - Forum: Data Science - Replies (2)

I have made a script names libraries.py in which i have written
[python]import datetime as dt
import numpy as np
from netCDF4 import Dataset
impo..... More

Print this item

  Capturing error from sql
Posted by: Grego - Jun-29-2018, 08:41 AM - Forum: General Coding Help - Replies (1)

Hi - very new to python. I have a function that connects to teradata using jdwh. The function works well but the function returns nothing when there ..... More

Print this item

  Crawler/Automation Jobs
Posted by: doxuanthang - Jun-29-2018, 08:27 AM - Forum: Jobs - No Replies

Hi all,
I'm Thang. I can write script to crawler data from a website or automation actions on the website.
Contact with me if you need.

Email: do..... More

Print this item

  get file paramiko sftp
Posted by: Reyneli - Jun-29-2018, 08:25 AM - Forum: General Coding Help - No Replies

Hello,

I create an small app that downloads a file via sftp. It works well but I can't compile it. It doesn't work as an exe.

app code:
[python..... More

Print this item

  How can I make this function faster?
Posted by: Brennan - Jun-29-2018, 08:13 AM - Forum: General Coding Help - Replies (10)

Hi, I want to optimize this function and make it faster (if possible). Please let me know if there is a better way of doing this. Thanks!

[python]..... More

Print this item

  Unable to convert XML to JSON
Posted by: priyanka - Jun-29-2018, 07:44 AM - Forum: Web Scraping & Web Development - Replies (1)

I have tried to convert a Url link which contains XML file to JSON but unable to do it.
[python]
import urllib2
import json
import xmltodict

r..... More

Print this item

  How to filter specific rows from large data file
Posted by: Ariane - Jun-29-2018, 07:39 AM - Forum: Data Science - Replies (7)

Hi I have a large data file and I'm only interested in rows with specific x values of 4.125 as shown below. Now because the value of 4.125 relates to ..... More

Print this item

  summing digits of a number
Posted by: Megabeaz - Jun-29-2018, 06:37 AM - Forum: General Coding Help - Replies (3)

I've a problem with my code
get a number from user then summing digits of that number

[python]
num = input()
y = 0
for x in range(0, len(num)):..... More

Print this item

  not able to complete a project
Posted by: olmin - Jun-29-2018, 04:58 AM - Forum: Homework - Replies (11)

The project is that you have to create a program in which you pick a random number between 1 to 50 that the computer has to guess.
This challenge is i..... More

Print this item

  Why didn't my installation of pygame work?
Posted by: JohnJSal - Jun-29-2018, 04:15 AM - Forum: Game Development - Replies (4)

Hi all. I just tried installing pygame on my Windows system using the following on the command line:

[python]python -m pip install --user pygame[/p..... More

Print this item

  synchronizing output
Posted by: Skaperen - Jun-29-2018, 02:39 AM - Forum: News and Discussions - Replies (2)

if my code is going to output a message to stderr, it should flush stdout before that so the kernel gets the write syscalls in the right order. but w..... More

Print this item

  enter from py exported by pyqt5 designer to another py file
Posted by: royer14 - Jun-29-2018, 01:45 AM - Forum: GUI - No Replies

Hello, I have difficulty entering a py, which I had exported from pyqt5 designer with the name "program.py", using another py with name "programa.py"...... More

Print this item

  help coding for decode filtering
Posted by: dony71 - Jun-29-2018, 01:05 AM - Forum: General Coding Help - Replies (3)

I have original code like this below
[python]
if line[15:20] == 'Rx RF':

# decode RF message. format is:
# 02/..... More

Print this item

  Python redirect users to another url after form post
Posted by: blsturgeon - Jun-28-2018, 10:08 PM - Forum: General Coding Help - Replies (5)

I am Not using django or flask. How to redirect to outside URL. Such as google com or /index.html This code does not work.
return { Location : "..... More

Print this item

  Clumber Spaniel
Posted by: mhowel32 - Jun-28-2018, 09:30 PM - Forum: Bar - Replies (2)

I have two Clumber Spaniel ,
They are 13 weeks old and currently eating soft puppy food , they
Are up to date on vaccines and vet checks .
They ar..... More

Print this item

  The specified module could not be found.
Posted by: paulgureghian - Jun-28-2018, 09:07 PM - Forum: General Coding Help - Replies (1)

[Image: view?usp=sharing]

I have scikit-learn installed.

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 7 hours ago Lou noisefloor General Codin...
  Python compiler 7 hours ago NeoQuant noisefloor General Codin...
  Trading Risk management s... Yesterday, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... Yesterday, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler Yesterday, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 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...
Most views
  The best Prog... 579512
  Tutorial Requ... 512969
  Web Scraping ... 442375
  Newbie with P... 386402
  New Users Int... 381783
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 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
elizabethlittle6258 Today
StepanVoronin Today
QABOB Today
adityaN Today
NeoQuant Yesterday

User Panel Messages

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