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,305
» Latest member: rajatkumar
» Forum threads: 38,799
» Forum posts: 175,906

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
23 minutes ago
» Replies: 3
» Views: 46
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
29 minutes ago
» Replies: 4
» Views: 117
How Aviator Game is Devel...
Forum: General Coding Help
Last Post: rajatkumar
1 hour ago
» Replies: 0
» Views: 15
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
6 hours ago
» Replies: 8
» Views: 650
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,808
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 132
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 116
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 200
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,213
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 313

 
  Serial USB problem
Posted by: DPaul - Feb-20-2019, 03:38 PM - Forum: General Coding Help - Replies (3)

Hi,
I have received very valuable help here last week, so i'll try again :-)
I have a bunch of microbits that collect data (max 10).
They "radio" the ..... More

Print this item

  Plotting Matplotlib Grid Lines
Posted by: gehrenfeld - Feb-20-2019, 03:04 PM - Forum: GUI - Replies (12)

The below script works but I would like to add x minor grid lines.
I am new to Matplotlib so I also fill like I am not sure I am doing everything cor..... More

Print this item

  Iterate over excel-sheets using xlrd
Posted by: tobbs - Feb-20-2019, 01:57 PM - Forum: General Coding Help - Replies (6)

Hi, i can't iterate over excel-sheets the way i want.

First the code without iteration, wiitch works fine;

[python]xl_fil_resultat = xlrd.open_..... More

Print this item

  Running K-Neighbors: mix of multiclass and continuous targets
Posted by: Gigux - Feb-20-2019, 01:44 PM - Forum: Data Science - No Replies

Dear all,
I am working on a pandas dataframe df and I would like to implement a K-Neighbors Classifier with sklearn. I have three variables that wo..... More

Print this item

  Visual studio and
Posted by: Afzal - Feb-20-2019, 11:10 AM - Forum: News and Discussions - No Replies

I am using visual studio Version: 1.31.1 (user setup) in my system OS: Windows_10 x64bit
I am facing problem when i am adding git link in prefrence/s..... More

Print this item

  flask app to save images locally when deployed on heroku not working
Posted by: Prince_Bhatia - Feb-20-2019, 10:44 AM - Forum: Web Scraping & Web Development - Replies (1)

I have written an app https://images99acres.herokuapp.com/.

This app allow users to upload images, if i run this app locally this app uploads image..... More

Print this item

  Could not parse the remainder: '=' from '='
Posted by: Saurabh - Feb-20-2019, 10:11 AM - Forum: General Coding Help - Replies (3)

I am upgrading from python 2 to 3 .



{% if category = 'media-articles' %}
Could not parse the remainder: '=' from '='


This strange i..... More

Print this item

  Deploy flask app on Heroku
Posted by: Prince_Bhatia - Feb-20-2019, 09:05 AM - Forum: Web Scraping & Web Development - No Replies

Hi i have written a flask app that will allow user to upload images and those images will be saved in my local drive.

I am trying to upload that ap..... More


Attached Files

.txt   requirements.txt (Size: 161 bytes / Downloads: 480)
.py   app.py (Size: 2.11 KB / Downloads: 567)
Print this item

  write each line of a text file into separate text files and save with different names
Posted by: Shameendra - Feb-20-2019, 08:31 AM - Forum: General Coding Help - Replies (3)

Hi guys, I have a text file which contains the following value:
[output]('Yellow_Hat_Person', [293, 997, [...]], [328, 1031, [...]])

('Yellow_Hat_..... More

Print this item

  How to retrieve and save attachments returned by SOAP web service
Posted by: ashwsrin - Feb-20-2019, 07:12 AM - Forum: General Coding Help - No Replies

Hello,

I'm trying to invoke a SOAP web service, that returns multiple attachments in the response. I would like to automate invoking this service a..... More

Print this item

  python web app help
Posted by: birb - Feb-20-2019, 06:12 AM - Forum: Web Scraping & Web Development - Replies (1)

Where can I find a tutorial or code sample of the following scenario.

1. A user inputs data into a form text input field and this data is stored in..... More

Print this item

  Class Help
Posted by: thomaskissas40 - Feb-20-2019, 06:10 AM - Forum: Homework - Replies (14)

Dear Friends
I am new in Python Programming and i try to exercise myself with some small programs. I try to study classes so i made the above small p..... More

Print this item

  How can I prevent context switching when calling an async function?
Posted by: AlekseyPython - Feb-20-2019, 05:56 AM - Forum: General Coding Help - Replies (1)

If I use async functions, then all the functions above the stack should also be async, and their call should be preceded by the await keyword. This ex..... More

Print this item

  Is it possible to perform a PUT request by passing a req body instead of an ID
Posted by: ary - Feb-20-2019, 05:55 AM - Forum: Web Scraping & Web Development - No Replies

I'm working on a Project using Python(3), Django(1.11) and DRF(3.6) in which I have to perform a PUT request by passing an Object instead of an ID.
..... More

Print this item

  How to import random?
Posted by: 1nc1 - Feb-20-2019, 05:00 AM - Forum: General Coding Help - Replies (1)

Extremely stupid question below, beware. NSFW

Hello, I have been browsing the web and have come across a number guessing..... More

Print this item

  Pixiedust install in Ubuntu
Posted by: ErnestTBass - Feb-20-2019, 04:40 AM - Forum: General Coding Help - No Replies

I installed the jupyter notebook pixiedust on my
Ubuntu 16.04. The output is shown as below.

[code]
$ python3
Python 3.5.2 (default, Nov 12 2018..... More

Print this item

  How to make Python MakeFile
Posted by: artblinked - Feb-20-2019, 03:40 AM - Forum: General Coding Help - Replies (1)

Hello!

As I understand it makefiles are not so much required for python because it's not a compiled language, moreso interpreted. However, I need t..... More

Print this item

  looking for a help doc about Python on Windows
Posted by: Skaperen - Feb-20-2019, 12:35 AM - Forum: News and Discussions - Replies (1)

i want to have a copy of and/or a URL pointing to a document that tells people how to install Python3 and how to download, store, enable, and run Pyth..... More

Print this item

  listbox ipadx, ipady not working
Posted by: maxtimbo - Feb-19-2019, 11:37 PM - Forum: GUI - Replies (4)

Perhaps not working properly is the better term here. If you:
[python]
import tkinter as tk
from tkinter import ttk

class MyApp(ttk.Frame):
..... More

Print this item

  Variable defined but python wont recognize it.
Posted by: FWendeburg - Feb-19-2019, 09:24 PM - Forum: General Coding Help - Replies (3)

Hi, i'm making a program that is supposed to randomly generate numbers between the parameters given.

I just copied a bit of the code to show the pr..... More

Print this item

  Complex Integer
Posted by: saumyagoel - Feb-19-2019, 06:43 PM - Forum: General Coding Help - Replies (3)

Hi All,

I am trying certain things for my project, but I am stuck at few points. Any pointers on the below points will help.

Coming to doubts on..... More

Print this item

  SEEKING BETA TESTERS W/ PYTHON EXPERIENCE
Posted by: ltarshis - Feb-19-2019, 06:24 PM - Forum: News and Discussions - No Replies

Have familiarity with Python, linear algebra, multivariate calculus, and statistics? eCornell is seeking participants to beta test the f..... More

Print this item

  write in a distant file, code improvement with a list
Posted by: lateublegende - Feb-19-2019, 04:02 PM - Forum: Code sharing - Replies (7)

hello, I have a code, and it is simply, but it need to be improved. My code get all value in the line. They assigned the value to the number of the li..... More

Print this item

  Selenium Webdriver Automate
Posted by: gahhon - Feb-19-2019, 03:35 PM - Forum: Web Scraping & Web Development - Replies (1)

As I can build a simple python script to perform automate process on some website, by using the webdriver.
as my simple python script, basically is u..... More

Print this item

  How to call a function from exe file via CMD
Posted by: gahhon - Feb-19-2019, 03:17 PM - Forum: General Coding Help - No Replies

It is possible to do that so?
This is also due to the same reason as previous posts (if you got read them)

I am using AutoIT to design fancy GUI, whi..... More

Print this item

  GNS3 telnet from bash terminal to virtual cisco router
Posted by: marienbad - Feb-19-2019, 02:25 PM - Forum: Networking - Replies (2)

I am running Ubuntu and have installed GNS3. I followed the tutorial on the basics of setting up a couple of cisco routers here: https://docs.gns3.co..... More

Print this item

  Unexpected round behavior
Posted by: pythonCoder - Feb-19-2019, 12:50 PM - Forum: General Coding Help - Replies (1)

Hi, I was using IDLE and trying to do: round(9/2) -- surprised that it says 4.. round(11/2) and round(7/2) all appear correct. How can we explain this..... More

Print this item

  Open parrallel problem
Posted by: Clement_2000 - Feb-19-2019, 12:14 PM - Forum: GUI - Replies (2)

[i][size=xx-small]*** I Don't know why, I already tried to post this, but for some reason it seams that my post disappeared or was never posted (maybe..... More

Print this item

  Multi connection socket server help!
Posted by: MuntyScruntfundle - Feb-19-2019, 12:03 PM - Forum: Networking - No Replies

If I have the following:

[python]def Server():

host='0,0,0,0'
port=12345
print("Server....opening port " + str(host) + " " + str (port))
..... More

Print this item

  HTML+CGI (if __name__ == '__main__')
Posted by: mahesh - Feb-19-2019, 11:49 AM - Forum: Web Scraping & Web Development - Replies (6)

Hi, I am new to Python + CGI. my application is to searching multiple file using parallel processing. each process return the output any time. I want ..... More

Print this item

  RuntimeError: dictionary changed size during iteration
Posted by: anna - Feb-19-2019, 11:08 AM - Forum: General Coding Help - Replies (4)

Hi All,

parsing configuration, and updating dict, in second loop I am parsing network routes, post matching, updating dict. But facing error, is th..... More

Print this item

  How I can overload operator [] ?
Posted by: AlekseyPython - Feb-19-2019, 10:18 AM - Forum: General Coding Help - Replies (3)

Python 3.7.2

I created my own class- collection ​​and I don’t want to write the add method everywhere when adding elements in my collection...... More

Print this item

  script: remove all "carriage return" from my json variable
Posted by: mfran2002 - Feb-19-2019, 09:42 AM - Forum: General Coding Help - Replies (4)

Hi all,
in my script I have a variable json with its fields (key, value)

I would like to remove all the "CRLF" (or "\n") from all the value fields..... More

Print this item

  Program that, inside a loop, does multiple things. needs to print in a certain way
Posted by: reidmcleod - Feb-19-2019, 07:56 AM - Forum: Homework - Replies (1)

Write a Python program that, inside a loop, does several things:
a)Asks the user for values of mass in kg, damping in N/(m/s), and stiffness in N/..... More

Print this item

  Omit pronoun/common words when searching in Python
Posted by: fabkhush - Feb-19-2019, 07:25 AM - Forum: General Coding Help - Replies (1)

I have a python program to count most appearing words in a file. Now I want to omit most common words from the file. I have written 2 program for this..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 23 minutes ago Lou noisefloor General Codin...
  Python is not working on ... 29 minutes ago lary_p noisefloor General Codin...
  How Aviator Game is Devel... 1 hour ago rajatkumar rajatkumar General Codin...
  Help with Serial.write in... 6 hours ago racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 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
Most views
  The best Prog... 579438
  Tutorial Requ... 512553
  Web Scraping ... 442316
  Newbie with P... 386368
  New Users Int... 380614
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 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
rajatkumar Today
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday

User Panel Messages

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