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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,332
» Latest member: datavinda
» Forum threads: 17,748
» Forum posts: 85,455

Full Statistics

Online Users
There are currently 96 online users.
» 2 Member(s) | 94 Guest(s)
snippsat, Axel_Erfurt

Latest Threads
Attribute Error
Forum: General Coding Help
Last Post: wavic
23 minutes ago
» Replies: 4
» Views: 130
Python / Selenium Turning...
Forum: General Coding Help
Last Post: graham23s
25 minutes ago
» Replies: 2
» Views: 133
Byte string catenation in...
Forum: General Coding Help
Last Post: RMJFlack
2 hours ago
» Replies: 13
» Views: 292
Debian ... oops!
Forum: General Coding Help
Last Post: snippsat
7 hours ago
» Replies: 3
» Views: 119
[CRITICAL] [App ] Unable ...
Forum: GUI
Last Post: Exsul
8 hours ago
» Replies: 6
» Views: 1,019
Raycasting GPS coordinate...
Forum: General Coding Help
Last Post: scidam
9 hours ago
» Replies: 2
» Views: 226
Invalid JSON payload rece...
Forum: General Coding Help
Last Post: scidam
10 hours ago
» Replies: 1
» Views: 68
How to open a program wit...
Forum: GUI
Last Post: LavaCreeperKing
11 hours ago
» Replies: 9
» Views: 161
New to Python
Forum: General Coding Help
Last Post: buran
11 hours ago
» Replies: 1
» Views: 79
python 3 and python 2 pip...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 06:24 PM
» Replies: 3
» Views: 113

 
  About Machine Learning
Posted by: rajeev1729 - Sep-12-2017, 04:59 PM - Forum: Data Science - Replies (3)

help me Machine Learning with real world problem like How to make model,how train model,how to evaluate about accuracy. Any book, web resources or any..... More

Print this item

  Python 3.x Windows 7 registry file associations broken
Posted by: pixhellmann - Sep-12-2017, 04:52 PM - Forum: General Coding Help - Replies (2)

Hi,

I deleted some windows registry keys dealing with the python file associations.
I thought then reinstalling the python setup will fix it back ..... More

Print this item

  wxPython install on raspberry pi3 and python 3.6.2.
Posted by: djdan_23 - Sep-12-2017, 04:49 PM - Forum: GUI - Replies (3)

Hi! all.
I tried some ways from the net, to install wxPython on my pi3 stretch (9) with python 3.6.2 and pip 9.0.1 and smbus2-0.2.0. But so far....no..... More

Print this item

  Convert grib files to text files
Posted by: tuxman - Sep-12-2017, 04:36 PM - Forum: General Coding Help - Replies (6)

Hi,

I want to read many grib files from a folder, and then save as text files. The name of the text file will be same name as grib file.
My code..... More

Print this item

  ere iam getting the unicodec codescope error syntax error how can i resolve it?
Posted by: srinivas135 - Sep-12-2017, 03:13 PM - Forum: General Coding Help - Replies (4)

[python]import os
path="c:\users\personal\AppData\Local\Programs\Python\Python36\srinu.txt"
os.chdir(path)
retval=os.getcwd()
print("Directory cha..... More

Print this item

  Is there another way to solve this code but still using for loop?
Posted by: pratriciaexists - Sep-12-2017, 02:53 PM - Forum: Homework - Replies (1)

def first(s):
""" Determine if a string contains a lowercase or uppercase r
Test data:
input: 'garden'
output: 'r'
..... More

Print this item

  why not accuracy working
Posted by: rajeev1729 - Sep-12-2017, 02:10 PM - Forum: General Coding Help - Replies (1)

p[python]import math; #For pow and sqrt
from random import shuffle;


###_Read Data_###
def ReadData(fileName):
#Read the file, splitting by..... More

Print this item

  What is causing the syntax error?
Posted by: Mr_Keystrokes - Sep-12-2017, 01:06 PM - Forum: General Coding Help - Replies (5)

Just started using python a few seconds ago...
[python]
n = int(input("Enter a number: "))

if n % 2 == 0:
print (n, " is an ..... More

Print this item

  [difflib] read files with SequenceMatcher
Posted by: JamieVanCadsand - Sep-12-2017, 09:01 AM - Forum: General Coding Help - Replies (3)

Hey Python Programmers...

I try to write an script to read files with difflib writting an script like this:

[python]import difflib

file1 = op..... More

Print this item

  Button not defined, why?
Posted by: gb_johnny - Sep-12-2017, 07:31 AM - Forum: GUI - Replies (6)

Hi all,
A newbie to Python & Tkinter here, although have used VB6 & Bash scripts.
Included (hopefully) is my code for a simple sound organiser for u..... More

Print this item

  how to save python file to working directory
Posted by: rpdohm - Sep-12-2017, 12:05 AM - Forum: General Coding Help - Replies (3)

I am using Bash terminal and my working directory is /home/rpdohm. I am using IDLE to create my python script and when I save my python script (i.e. ..... More

Print this item

  Trade secret?
Posted by: RMcGovern - Sep-12-2017, 12:03 AM - Forum: News and Discussions - Replies (4)

I'm a middle aged guy who used to program in basic. I have some ambition to develop my own sports sim game so I started in player generation. Now i'..... More

Print this item

  bunbot
Posted by: metulburr - Sep-11-2017, 05:58 PM - Forum: Board - Replies (4)

Do you guys remember bunbot?

Was he the one that updated this information from IRC?
http://bunburya.netsoc.ie/ircstats/python-forum.html

Print this item

  Comparing pictures
Posted by: pedro - Sep-11-2017, 05:33 PM - Forum: General Coding Help - Replies (1)

Hi I’m trying to compare two pictures and the objective is to illustrate changes from the original picture and the new picture. I have googled it to t..... More

Print this item

  Pipenv
Posted by: snippsat - Sep-11-2017, 05:12 PM - Forum: Web Scraping & Web Development - Replies (9)

Pipenv is now the official recommended Python packaging tool from Python.org.
The ..... More

Print this item

  python-forum source language
Posted by: hbknjr - Sep-11-2017, 04:47 PM - Forum: Board - Replies (13)

What is the python-forum websites' source language (I hope it's Python)?
And is it open source(doesn't seem like it)?

Print this item

  pylibftdi, libusb-1.0.dll, windows 7
Posted by: tigner - Sep-11-2017, 04:11 PM - Forum: General Coding Help - No Replies

Hi ,

This works on *nix,and works on *some* windows 7 machines...

Microsoft Windows [Version 6.1.7601]
Copyright © 2009 Microsoft Corporation..... More

Print this item

  function for write to chronodot
Posted by: djdan_23 - Sep-11-2017, 02:10 PM - Forum: General Coding Help - Replies (1)

function for write to chronodot

Edit
Delete post
Report this post
Quote

Mon Sep 11, 2017 12:34 pm
Hi! all
1: Is there a way..... More

Print this item

  Noob - What attributes to use for agents in evo sim (GA type)
Posted by: PySam - Sep-11-2017, 02:01 PM - Forum: Data Science - Replies (4)

Ok, hopefully this is not the wrong forum!

I'm a hatchling to Python, but understand general concepts. I want to try my hand at creating a simple lif..... More

Print this item

  API-C: call the next value from a generator
Posted by: mcanonic - Sep-11-2017, 01:52 PM - Forum: General Coding Help - No Replies

Hi all,
this is my first post and I hope that I select the right thread.
The following python code is working and I can call it from my C source cod..... More

Print this item

  How many times does it fit? help please
Posted by: skriff - Sep-11-2017, 01:06 PM - Forum: Homework - Replies (2)

What im trying to do is to check how many times does an 1x1 slice fits in the entire array, i used slice to get array "fragments" but how to check how..... More

Print this item

  Failed when communicating between threads
Posted by: pythonisse - Sep-11-2017, 11:10 AM - Forum: GUI - Replies (3)

Hi everybody,

I am trying to display an image on the window, but when I try it, I got this error:
[b]"QPixmap: It is not safe to use pixmaps outsi..... More

Print this item

  Is there any <> operator in python 3.6
Posted by: rajeev1729 - Sep-11-2017, 06:56 AM - Forum: General Coding Help - Replies (1)

Is there any <> operator in python 3.6. if yes then give me example.

Print this item

  radius of circle question
Posted by: charlottecrosland - Sep-11-2017, 05:28 AM - Forum: Homework - Replies (5)

I'm trying to run this, and it doesn't work. I accept it's a ridiculously easy program. And I'm obviously missing something terribly obvious and eas..... More

Print this item

  brute force
Posted by: skriff - Sep-11-2017, 02:44 AM - Forum: Homework - Replies (4)

I made this brute force code

[spoiler][python]tam = int(input("insert password lenght"))
if tam ==1:
for i in range(48,123):
if (i>=..... More

Print this item

  SoX Sound Exchange sample code to Rec & Play audio file
Posted by: Fran_3 - Sep-11-2017, 12:15 AM - Forum: General Coding Help - Replies (3)

Looking for a sample of how to record a sound file via Python and SoX Wrapper
Ditto for playing a recorded file.

Thanks for any help.

Print this item

  K means clustering using heatmap
Posted by: Rifscape - Sep-10-2017, 11:08 PM - Forum: Homework - No Replies

Hey guys,
So in another post I asked how to get a heat map working. Well I was able to get the heat map to work. But I've ran into another problem re..... More

Print this item

  How to split name.jpg and get the string name
Posted by: Pedroski55 - Sep-10-2017, 10:42 PM - Forum: General Coding Help - Replies (3)

As a beginner, I have almost done what I want to do.

I can use python to resize photos, resize the excel table row heights, put photos in each row..... More

Print this item

  Write two statements to read in values for my_city followed by my_state. Assign log_e
Posted by: Eliteucantbeat - Sep-10-2017, 09:29 PM - Forum: General Coding Help - Replies (1)

You can't edit lines 1-4 and line 11. This is what I have:
[python]current_time = '2014-07-26 02:12:18:'
my_city = ''
my_state = ''
log_entry = ''..... More

Print this item

  tidying Up
Posted by: SummoningZ - Sep-10-2017, 08:47 PM - Forum: Homework - Replies (1)

Hi,

I'm not sure if I have cleaned up my code enough could I make it more tidy?

[python]# PRINT ROWS #
def printing©:
print("1: " + " ".j..... More

Print this item

  parsing values and writing back in xml file
Posted by: deepa - Sep-10-2017, 04:59 PM - Forum: General Coding Help - Replies (4)

Hi All,
I am attempting to parse the values from an xml file ,modify these vales and re-write the new values back into the xml file.
I have parsed t..... More

Print this item

  Supplying 2 arguments to 3-argument function
Posted by: valtih - Sep-10-2017, 03:25 PM - Forum: General Coding Help - Replies (3)

I have the following piece of code
[python]
def visit(self, path, rootf, extraf):
return extraf(path, path.parent().visit(rootf, extraf))
[/..... More

Print this item

  Python 3.6.2 & Mac Sierra 10.12.6
Posted by: eczmrmn - Sep-10-2017, 02:35 PM - Forum: Networking - Replies (3)

Until last month I had been happily using Python 3.6.2 to control a Lifx Z multizone light strip. Then Apple did a security update (10.12.6) to the o..... More

Print this item

  TypeError: 'list' object is not callable
Posted by: rajeev1729 - Sep-10-2017, 12:36 PM - Forum: General Coding Help - Replies (4)

please give a runnable sample of your code with the full error text or a clear description of the problem[python]
aTuple = ('xyz', 'zara', 'abc')
aL..... More

Print this item

  NameError: name 'cmp' is not defined
Posted by: rajeev1729 - Sep-10-2017, 12:17 PM - Forum: General Coding Help - Replies (3)

[python]
list1, list2 = [123, 'xyz'], [456, 'abc']
print cmp(list1, list2)
print cmp(list2, list1)
list3 = list2 + [786];
print cmp(list2, list3)..... More

Print this item