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,947
» Latest member: Markbel386
» Forum threads: 38,726
» Forum posts: 175,524

Full Statistics

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

Latest Threads
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 5
» Views: 9,150
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
10 hours ago
» Replies: 0
» Views: 65
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Today, 03:29 AM
» Replies: 2
» Views: 462
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 02:36 AM
» Replies: 0
» Views: 97
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:56 PM
» Replies: 9
» Views: 606
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,831
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,139
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,495
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,065
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,806

 
  Noob help :)
Posted by: rwood1875 - Jun-03-2018, 12:33 PM - Forum: Homework - Replies (2)

Hi all. I'm getting an error message when running the following code.
I'm assuming its something to do with integers not being strings and vice-versa..... More

Print this item

  VS Code editor questions
Posted by: Larz60+ - Jun-03-2018, 09:32 AM - Forum: News and Discussions - Replies (10)

I have attempted to learn VS code studio in the past, but as soon as I had something that I needed to get done quickly, I reverted back to PyCharm.
..... More

Print this item

  Installing Tensorflow
Posted by: Scott - Jun-03-2018, 07:47 AM - Forum: Data Science - Replies (14)

Hi everyone,

I am trying to install tensorflow in Spyder with the code below:

$ pip3 install --upgrade tensorflow

I am getting error:

$ pi..... More

Print this item

  need pulse counter in GUI
Posted by: shivshankar1986 - Jun-03-2018, 07:16 AM - Forum: GUI - Replies (5)

Hello everyone,
I am new on Tkinter, I have python program which is I want to convert to GUI, Its simple pulse counter using Raspberry pi 3 and Nodemc..... More

Print this item

Information How to read the XML files
Posted by: RajaPython - Jun-03-2018, 06:19 AM - Forum: Web Scraping & Web Development - Replies (7)

Need help in reading the xml file and converting into dictionaries

XmL file:
"
<?xml version="1.0"?>
<OMeS version="2.3">
<PMSetup startTime="..... More

Print this item

  IDLE indenting 29 columns after defining function
Posted by: Cosmo_Kane - Jun-03-2018, 02:35 AM - Forum: General Coding Help - Replies (1)

In the program I'm working on, the IDLE keeps indenting by 29 columns instead of 4 after defining a function. I'm not sure why and I'd appreciate some..... More

Print this item

  wx webview event
Posted by: ian - Jun-03-2018, 12:57 AM - Forum: Web Scraping & Web Development - Replies (1)

when a webpage loading, it generates event more than once. Google in the code below, has the event fired twice. some webpage has more than 10 times. i..... More

Print this item

  Need help
Posted by: cwong79 - Jun-02-2018, 09:50 PM - Forum: Homework - Replies (3)

I don't know what the second logical error is. Can anyone help?

1) Please review the Python 3 code snippet below. In this sn..... More

Print this item

  Microsoft buying GitHub ... Mercy!
Posted by: Larz60+ - Jun-02-2018, 08:36 PM - Forum: News and Discussions - Replies (14)

Microsoft officials have been talking to GitHub about possibly acquiring the company, according to a June 1 report in Business Insider.
see: http://w..... More

Print this item

  Printing from a text file not working as I thought it would
Posted by: PythonZenon - Jun-02-2018, 07:39 PM - Forum: General Coding Help - Replies (10)

Hi all! So my exercise is to read what's written in a text file and print it three times in three different ways. My solution is:

[python]filename ..... More

Print this item

  ECU for Convertible car top problem
Posted by: lasix - Jun-02-2018, 04:34 PM - Forum: General Coding Help - Replies (2)

Sorry if this is not in the correct forum. I thought this would fit it best, however mods, please move as desired. I am not new to programming, but I..... More

Print this item

  Seperate entities in text file
Posted by: bigdazza - Jun-02-2018, 02:06 PM - Forum: General Coding Help - Replies (1)

Hi all,
I am having problems writing seperate data entiries into a file. The code (listed below) keeps on appending the data into one long strin..... More

Print this item

  Packaging a python project the right way
Posted by: TomBrady - Jun-02-2018, 01:46 PM - Forum: General Coding Help - Replies (2)

I have spent days trying to find the best way to package my python project, so that it would be easy to install by other people. As I have found more ..... More

Print this item

  Django not saving model in management command
Posted by: F2Andy - Jun-02-2018, 11:43 AM - Forum: Web Scraping & Web Development - Replies (1)

I am setting up a command to runfrom the command line to put some initial values in the database, but for some reason the model is not getting saved. ..... More

Print this item

  Modifying events with the Google Calendar API
Posted by: mondgott - Jun-02-2018, 08:27 AM - Forum: News and Discussions - No Replies

Introduction
In an earlier post, I introduced Python developers to adding events to users’ calendars using the Google Calendar API. However, while be..... More

Print this item

  A book for the mathematics ( exercice to training )
Posted by: CastorArteII - Jun-02-2018, 04:02 AM - Forum: News and Discussions - Replies (2)

Hi all.

I am a student, i learn python, it's very interressant, but when i must use this to translate a theoreme mathematics, i am very slow...
..... More

Print this item

  When do you put variables inside vs outside a function?
Posted by: Drone4four - Jun-02-2018, 03:15 AM - Forum: General Coding Help - Replies (6)

Check out this code from my interpreter:
[code]$ python3
>>> first_list = [1,2,3,4,5,6]
>>> second_list = [101,202,303,404]
>>> first_list.reverse..... More

Print this item

  len() function doesn't work with Geany Editor
Posted by: hudabaig - Jun-01-2018, 10:53 PM - Forum: General Coding Help - Replies (2)

Hello,

I am using Python 3.5 with Geany 1.25.

One of the exercises I have come across while studying python as a beginner is using the len() fuc..... More

Print this item

  Web Scraping efficiency improvement
Posted by: HiImNew - Jun-01-2018, 08:52 PM - Forum: General Coding Help - No Replies

Is there any way to speed up a web-scraper by having multiple computers contribute to processing a list of urls? Like computer A takes urls 1 - 500 an..... More

Print this item

  Line of file from string to list to tuple
Posted by: vvarrior - Jun-01-2018, 08:29 PM - Forum: General Coding Help - Replies (2)

How do I convert a line from a file into a tuple so I can input into mysql database?
File:
[output]['sql statement %s where id = %s', ['test','1']][..... More

Print this item

  Dropping all rows of multiple columns after the max of one cell
Posted by: Thunberd - Jun-01-2018, 06:34 PM - Forum: Data Science - Replies (2)

Okay so to be frank I am new to python, and I am trying to interpret some data, this is what I have (below)
so What I am trying to do is make it so th..... More

Print this item

  Folium FastMarkerCluster
Posted by: OgnjanD - Jun-01-2018, 06:20 PM - Forum: Data Science - No Replies

I am plotting gun violence incidents in the U.S. with folium FastMarkerCluster. The code bellow does the job rather well.

[python]lats2018 = guns20..... More

Print this item

  Updating existing Py app
Posted by: n8bizall - Jun-01-2018, 03:01 PM - Forum: General Coding Help - Replies (2)

I am a JR .NET developer and have only a couple hours of basic Python training. I have been tasked with updating an existing py application. In the co..... More

Print this item

  How to do matrix subtraction
Posted by: SriRajesh - Jun-01-2018, 02:00 PM - Forum: Data Science - No Replies

Hi,
I have below two arrays
1. my test data
2. my prediction data

[python]print(y_pred2)
[0 2 0 2 0 0]
print(y_test)
y
30 0
31 0
32 0..... More

Print this item

  Using Subprocess.Popen to start another python script running in background on Window
Posted by: johnb546 - Jun-01-2018, 01:57 PM - Forum: General Coding Help - No Replies

Hi,
New to Python but loving it. I am trying to run another python script using subprocess.Popen and have it run in the background. It works ok i..... More

Print this item

  AWS rekognition - index faces
Posted by: coffe2go00 - Jun-01-2018, 12:23 PM - Forum: General Coding Help - Replies (3)

Hi,

i am new in python trying to index faces using Rekogniton API's and getting the following error:

[error]DetectionAttributes=[ 'ALL' ]
F..... More

Print this item

  PyEDA-IPython Problem [Graph]
Posted by: embash - Jun-01-2018, 08:17 AM - Forum: General Coding Help - Replies (5)

Hi,
I'm using ipython for drawing binary decision diagrams but i have a problem.

I'm trying to have a graphical model of this:

[python]In [1]: ..... More

Print this item

  running script help
Posted by: matyricon - Jun-01-2018, 07:20 AM - Forum: Bar - Replies (1)

Hey,
A mate and i recently came across an Alpha 320c Led sign and we have been using the demo software through a serial connection to upload text to..... More

Print this item

  reading 2 files concurrently
Posted by: Skaperen - Jun-01-2018, 02:37 AM - Forum: General Coding Help - Replies (3)

i am trying to find the Pythonic way(s) (or popular way(s)) to read from two files or file descriptors at the same time, in such a way that the caller..... More

Print this item

  Create random pairs
Posted by: Dennisp44 - May-31-2018, 11:53 PM - Forum: General Coding Help - Replies (3)

I am trying to create random pairings from a list of players.
I first need to randomize the entire list into pairs and then divide that list into hal..... More

Print this item

  How to get python to select a dictionary.
Posted by: jarrod0987 - May-31-2018, 10:51 PM - Forum: General Coding Help - Replies (1)

I'm not even sure how to word my question. I know exactly what I want to do but I don't know how to ask it so I will try an example.

Suppose I have..... More

Print this item

  dealing with spaces in file names
Posted by: AceScottie - May-31-2018, 10:09 PM - Forum: General Coding Help - Replies (5)

example

import os
file = "C:\\test file.txt"
os.system("start '" +file +"'")
[error]The system cannot find the file 'C:\tes..... More

Print this item

  Send Email Based on Condition
Posted by: anelliaf - May-31-2018, 06:48 PM - Forum: General Coding Help - Replies (2)

Hi All,

I have the following code which sends an email when Linux partitions reach a certain threshold:

[python]
from email.headerregistry impo..... More

Print this item

  Please help me with my code
Posted by: varungupta23 - May-31-2018, 06:20 PM - Forum: Homework - Replies (3)

Somehow the below mentioned code is getting into the infinite loop. Seems like it is not recognizing the
while loop termination conditions.
import r..... More

Print this item

  Help with or operator
Posted by: Hamut - May-31-2018, 05:46 PM - Forum: Homework - Replies (4)

I'm steaming fresh out of the oven new to Python and trying to teach it to myself using an online book. Based on the little I've learned, I'm trying t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Creating a Mindmap progra... 7 hours ago J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 10 hours ago 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...
  real community 09-15, 20:16 decuser decuser News and Disc...
Most views
  The best Prog... 576720
  Tutorial Requ... 498940
  Web Scraping ... 440528
  Newbie with P... 384499
  New Users Int... 368270
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
Markbel386 Today
trntgl Today
susan Today
jatinkumar12 Today
angelhealu504 Today

User Panel Messages

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