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,265
» Latest member: Rerus3700
» Forum threads: 38,787
» Forum posts: 175,849

Full Statistics

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

Latest Threads
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:07 PM
» Replies: 2
» Views: 105
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:42 PM
» Replies: 1
» Views: 68
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:54 PM
» Replies: 1
» Views: 65
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 319
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 46
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 80
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 285
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 152
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 249
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 436

 
  GrandParents : For fun :)
Posted by: William049 - Jan-14-2018, 07:56 AM - Forum: Homework - Replies (10)

[FOR FUN]
Hello everyone, I had the idea yesterday to improve my program (genealogical tree) which currently displays on the screen the ascendants, ..... More

Print this item

  How to convert a Status object to String?
Posted by: Vucko - Jan-14-2018, 06:09 AM - Forum: General Coding Help - Replies (6)

Really need some help, been stuck on this for hours. So I'm working on a small Twitter bot that is using Tweepy.

I have it working so that when my ..... More

Print this item

  Selenium - Googlemaps element not visible
Posted by: Barnettch3 - Jan-14-2018, 05:08 AM - Forum: Web Scraping & Web Development - Replies (3)

Looking for anyone clever enough to figure this one out for me.
With python 3 I am writing a script that uses Selenium to open googlemaps enter a
s..... More

Print this item

  insert list into sqlite3
Posted by: mepyyeti - Jan-14-2018, 12:16 AM - Forum: General Coding Help - Replies (3)

[python]
#sqlnuff0.py

import sqlite3, time, datetime, random

words = ['foo','bar','moo','soo','noo','boo','fee']

conn = sqlite3.connect('yes..... More

Print this item

  New standart library in v. 3.7 - Data Classes
Posted by: wavic - Jan-13-2018, 09:04 PM - Forum: News and Discussions - Replies (2)

https://www.python.org/dev/peps/pep-0557/

As I understand that, it is to create classes to store values in it.

Print this item

  MP4 decoder
Posted by: jdewk - Jan-13-2018, 08:46 PM - Forum: General Coding Help - Replies (4)

I want to read the video and audio information from mp4 file format.If possible I want to run under python 2.7.I have searched but couldn`t find any

Print this item

  build array list
Posted by: raopatwari - Jan-13-2018, 07:29 PM - Forum: General Coding Help - Replies (8)

I am writing function to return the list of files in unix directory. it is returning one file.
fl = []
WORKING_DIR='../'+sys.argv[1]+'/'
def find_c..... More

Print this item

  list problem
Posted by: python_newbie09 - Jan-13-2018, 04:54 PM - Forum: General Coding Help - No Replies

how can i improve the code below, the problem lies with how y_pred is stored which i cant add to total. the idea is to calculate accuracy over 150 tra..... More

Print this item

  Selenium with headless firefox is slow
Posted by: mgtheboss - Jan-13-2018, 03:47 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi,

I've started experimenting with selenium & headless firefox. The code I am using is similar to what @snippsat shared on ..... More

Print this item

  Plants vs Zombies. Images Ideas.
Posted by: Windspar - Jan-13-2018, 03:44 PM - Forum: Bar - Replies (2)

Playing around with blender. Still have alot to learn. I'm not a very good artist.
Thinking having pepper attract zombie from next lane.
[img]https:..... More

Print this item

  syntax error?
Posted by: Culm - Jan-13-2018, 03:41 PM - Forum: General Coding Help - Replies (2)

Newbie -- trying to learn python on mac. Installed v2 and v3. -- tried to run the following script from terminal:
[python]
#!/usr/bin/python
# -*- ..... More

Print this item

  Help with list Syntax.
Posted by: jarrod0987 - Jan-13-2018, 12:59 PM - Forum: General Coding Help - Replies (2)

I have been working with lists for a while now and I thought it was easy but right now I cannot get it to cooperate.

I have a dictionary full of wo..... More

Print this item

  Google Developer console ERROR: JAR_SIG_NO_MANIFEST: Missing META-INF/MANIFEST.MF
Posted by: kivyuser - Jan-13-2018, 11:36 AM - Forum: General Coding Help - Replies (5)

Hello im a beginner i have this information:



My path is cd ~/.buildozer/android/platform/android-sdk-21/build-tools/19.1.0/

the name of my a..... More

Print this item

  Correspondence of values
Posted by: William049 - Jan-13-2018, 10:54 AM - Forum: Homework - Replies (10)

Hello I'm new:), I'm on the realisation of a family tree project, it is 95% complete (approximately 200 lines) But I can't do something that I think i..... More

Print this item

  TypeError: can only concatenate list (not "str") to list
Posted by: Skaperen - Jan-13-2018, 06:50 AM - Forum: News and Discussions - Replies (1)

[output]lt1/forums /home/forums 1> py3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "cred..... More

Print this item

  NameError: name 'download' is not defined
Posted by: ntdropper - Jan-13-2018, 06:33 AM - Forum: Web Scraping & Web Development - Replies (3)

I am trying to extract the country area from example website. And I got following errors. I am using python version 3.6
[python]
from bs4 import Beaut..... More

Print this item

  Python powered
Posted by: Skaperen - Jan-13-2018, 04:28 AM - Forum: Board - Replies (16)

that new image at the top of each page says "Python powered", yet the forum is still running on a PHP based forum code base.

Print this item

  Need help with code :(
Posted by: Daniel97 - Jan-13-2018, 03:05 AM - Forum: Homework - Replies (2)

I'm new to Python and I have a presentation due in however all my members are not helping or responding the presentation requires us to make uml diagr..... More

Print this item

  How to convert matlab code to python?
Posted by: Ricop522 - Jan-13-2018, 01:55 AM - Forum: General Coding Help - No Replies

Hello, I am trying to convert some matlab source code to python and I am having some troubles, could anyone help me?

Here's the matlab version of t..... More

Print this item

  Why isn't this code working ? (noob here)
Posted by: SuperSymmetry - Jan-12-2018, 08:52 PM - Forum: General Coding Help - Replies (1)

[b]It should output the list with the dictionary with the changed values as specified in the second for loop, but it doesnt. Picture of output is incl..... More

Print this item

  virtualenv activate.ps1 hash error
Posted by: po20 - Jan-12-2018, 08:41 PM - Forum: General Coding Help - Replies (2)

Hello

I try to work with a virtual environment under windows

I'm using Python 3.6, installed on c:\Python36-32 and everything I do as a command ..... More

Print this item

  How to sample data from training data set?
Posted by: python_newbie09 - Jan-12-2018, 08:07 PM - Forum: General Coding Help - No Replies

Hi all,

I have split my data randomly where 2/3 of my data is kept for training while 1/3 is kept for testing. I have to now determine the mean err..... More

Print this item

  Is pathlib a viable replacement for os.path?
Posted by: j.crater - Jan-12-2018, 07:01 PM - Forum: General Coding Help - Replies (4)

So far I have used only os.path, and as I have stumbled over that topic in a guide I am reading, it got me wondering...
Can pathlib replace os.path co..... More

Print this item

  Install issue 2.7.9 vs 2.7.14
Posted by: Spankybus - Jan-12-2018, 06:31 PM - Forum: General Coding Help - Replies (2)

Hey Mates,

Sorry if this is in the wrong location, but I didnt see a support section. Anyone run into an issue with win 10 where the 64-bit msi wil..... More

Print this item

  Error while scraping item price from online store
Posted by: mgtheboss - Jan-12-2018, 05:14 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

I am trying to scrape the price of an item from an online store. The code works with sites such as ebay.com, amazon.com etc. and many others bu..... More

Print this item

  misclassification rate calculation for multi class label
Posted by: python_newbie09 - Jan-12-2018, 04:18 PM - Forum: Homework - Replies (1)

I have a confusion matrix with 4 labels and the results were as below

[[ 81 4 41 0]
[ 10 10 6 1]
[ 7 0 392 0]
[ 4 2 8 5..... More

Print this item

  Global vs local variable
Posted by: mquesnel - Jan-12-2018, 03:01 PM - Forum: General Coding Help - Replies (11)

Hi I'm a teacher and I just began learning Python so I can show some tips to my students. I code a little math game and I have an issue with global vs..... More

Print this item

  Data Science and Machine Learning sub-forum
Posted by: Beliavsky - Jan-12-2018, 02:49 PM - Forum: Board - Replies (17)

In the Python Coding forum there are sub-forums for GUI, Game Development, Networking, Web Development. Since Python is one of the main languages used..... More

Print this item

  How to implement OneHotEncoder for Multiple Categorical Columns?
Posted by: python_newbie09 - Jan-12-2018, 01:10 PM - Forum: Data Science - No Replies

Hi, I am trying to convert the car evaluation dataset from the UCI repository to implement a KNN algorithm on it and I need to first convert the categ..... More

Print this item

  Why doesn't this code work?
Posted by: hsezgin - Jan-12-2018, 01:08 PM - Forum: General Coding Help - Replies (4)

Hello everyone,
The following code didn't work while exercising on the lists. Could you tell me why the code doesn't work?

[python]
l=list(range(..... More

Print this item

  Spyder: ndarray object of numpy module error
Posted by: python_newbie09 - Jan-12-2018, 11:11 AM - Forum: Homework - Replies (6)

Hi all,

I am going through the ML A-Z course on udemy to help me solve an assignment and I am at the stage of preprocessing my data at the moment. ..... More

Print this item

  telnet unexpected output printing
Posted by: anna - Jan-12-2018, 11:11 AM - Forum: General Coding Help - Replies (3)

Hi there, manual telnet is showing below output, however my program is not showing telnet output, please suggest changes.

Manual Telnet

C..... More

Print this item

  file upload from windows10 machine using send_key in selenium fails
Posted by: nithya_g - Jan-12-2018, 09:31 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi,

I am using python2.7.6, selenium 3.8.1, Windows 10 and Chrome browser

When I upload a file using selenium send_keys command, it fails with F..... More

Print this item

  Separate python from anaconda in cmd
Posted by: Prince_Bhatia - Jan-12-2018, 08:13 AM - Forum: General Coding Help - Replies (2)

hi,

I was installing anaconda was reading some comments on general websites. it said to run this command (SETX Path "%PATH%;C:\Users\honey\Anaconda..... More


Attached Files

Thumbnail(s)
   
Print this item

  Quod Libet 4.0 (music)
Posted by: dvs1 - Jan-12-2018, 07:34 AM - Forum: News and Discussions - No Replies

[quote]Quod Libet is a music management program. It provides several different ways to view your audio library, as well as support for Internet radio ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to make ball stay wit... Yesterday, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... Yesterday, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... Yesterday, 13:54 Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... Yesterday, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
Most views
  The best Prog... 579017
  Tutorial Requ... 510852
  Web Scraping ... 442028
  Newbie with P... 386066
  New Users Int... 377449
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+ 12108
buran 8195
snippsat 7388
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Rerus3700 Today
pas88 Today
aanthonymaaleyo3938 Today
chuhlowe Yesterday
SledgeNE Yesterday

User Panel Messages

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