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,341
» Latest member: MatthewRodia
» Forum threads: 38,810
» Forum posts: 175,966

Full Statistics

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

Latest Threads
division error
Forum: General Coding Help
Last Post: deanhystad
6 hours ago
» Replies: 2
» Views: 160
"with open(os.path.join(a...
Forum: General Coding Help
Last Post: uek67
Yesterday, 01:13 PM
» Replies: 13
» Views: 559
Albert is Hiring: Remote ...
Forum: Jobs
Last Post: prachi01
Yesterday, 10:55 AM
» Replies: 1
» Views: 1,319
500 Internal Server error...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Dec-11-2025, 08:41 AM
» Replies: 4
» Views: 2,590
Looking for new hosting s...
Forum: Bar
Last Post: DeaD_EyE
Dec-09-2025, 02:30 PM
» Replies: 16
» Views: 11,131
Optimization Software Eng...
Forum: Jobs
Last Post: bicop
Dec-09-2025, 11:51 AM
» Replies: 0
» Views: 85
scipy.optimize.curve_fit ...
Forum: Data Science
Last Post: willflanagan
Dec-08-2025, 10:02 PM
» Replies: 0
» Views: 110
Iterator and/or generator...
Forum: General Coding Help
Last Post: noisefloor
Dec-08-2025, 04:30 PM
» Replies: 8
» Views: 482
Graphics error
Forum: General Coding Help
Last Post: woooee
Dec-08-2025, 04:22 PM
» Replies: 2
» Views: 603
An impressive collection ...
Forum: Bar
Last Post: Larz60+
Dec-06-2025, 06:35 AM
» Replies: 1
» Views: 153

 
  multiple mice input? (windows)
Posted by: madscijr - Jun-20-2017, 10:08 PM - Forum: News and Discussions - Replies (1)

Does anyone know how to get Python to read separate input from 2 or more USB mice plugged into the same PC? (I am using Windows.)

Print this item

  Searching for items within a list
Posted by: Yobby - Jun-20-2017, 10:01 PM - Forum: General Coding Help - Replies (9)

For a project for a coding class I'm taking, we've been told to complete the code for an encrypted password saver. For part of this, I need to search ..... More

Print this item

  Another journey into the past
Posted by: sparkz_alot - Jun-20-2017, 02:08 PM - Forum: Bar - Replies (6)

Being a proud alumnus of the National Radio Institute (circa 1973), a Correspondence School* with a very long history, I thought I'd search online and..... More

Print this item

  Docs missing info?
Posted by: tozqo - Jun-20-2017, 11:07 AM - Forum: News and Discussions - Replies (3)

I watched "Python Programming" by Derek Banas on YouTube, he mentions newlines, and I decide to play around with it a little
[python]print('hello', \..... More

Print this item

  saving my *.py files
Posted by: tozqo - Jun-20-2017, 10:25 AM - Forum: General Coding Help - Replies (2)

So, (possibly off topic) if I have been saving my *.py files to anywhere other than where I installed my Python, then I won't be able to import them t..... More

Print this item

  Debug and trace in python
Posted by: quocchi22101262 - Jun-20-2017, 09:35 AM - Forum: General Coding Help - No Replies

I have to try use command: python -m trace --listfuncs --trackcalls main.py I write a simple code to test: file testdebug:
[python]
from testdebug1 im..... More

Print this item

  Concatinating two strings to make a variable
Posted by: bencouve - Jun-20-2017, 09:15 AM - Forum: General Coding Help - Replies (5)

I want to concatenate two strings so that they match  predefined variables which can load them into a list, something like this ..
[python]k = []
i0..... More

Print this item

  PyGame in the Browser/NodeWebkit? Yes!
Posted by: asherwunk - Jun-20-2017, 05:38 AM - Forum: Code sharing - No Replies

Hey guys, I'm totally new here and to be honest I'm new to conversing with many people on forums and such, despite having a blog. (http://wunk.me/)  H..... More

Print this item

  Help using class methods
Posted by: shaynehansen - Jun-19-2017, 10:46 PM - Forum: Data Science - Replies (1)

I have setup the class methods I would like to use instead of the code below the class. I am new to classes and still learning, how to make them work ..... More

Print this item

  output formating
Posted by: mcmxl22 - Jun-19-2017, 06:51 PM - Forum: General Coding Help - Replies (2)

I left the code as raw text because it would not format correctly in code brackets.
I am wondering if there is a way to get this to print out the let..... More

Print this item

  We are Hiring Python Devs
Posted by: jakekimpton - Jun-19-2017, 03:41 PM - Forum: Jobs - Replies (5)

Hey everybody,

I work for a Software House in Cornwall, UK. We specialise in long-term projects for clients across the world. Right now, we..... More

Print this item

  .mp4 output via FFmpeg fails.
Posted by: ailgun - Jun-19-2017, 11:21 AM - Forum: Data Science - Replies (2)

Hello, I'm trying to use a code as below to create a .mp4 file (it's by someone else but I just wanted to try it out). It should create a mp4 file but..... More

Print this item

  Get data out of connl-file
Posted by: MattaFX - Jun-19-2017, 09:35 AM - Forum: General Coding Help - Replies (1)

Currently, I'm working with connl-files which look like the one in the attachment (saved as .txt-file, since bz2-files are not allowed to be uploaded)..... More


Attached Files

.txt   test.txt (Size: 12.43 KB / Downloads: 751)
Print this item

  pickle- how does it work
Posted by: foxtreat - Jun-19-2017, 09:16 AM - Forum: General Coding Help - Replies (1)

I made a simple text fighting game.but i need to be able to save and load variables.i was tols to use pickle. But i have no experience in what it even..... More

Print this item

  Programming using 4 camera
Posted by: trabis03 - Jun-19-2017, 02:58 AM - Forum: General Coding Help - No Replies

Hi,

I am creating a monitoring program using 3-4 cameras and I am having trouble how to create one GUI with 4 buttons of the camera to select and ..... More

Print this item

  SSH connections
Posted by: Will - Jun-18-2017, 06:11 AM - Forum: General Coding Help - Replies (3)

Hi all,
im almost new in python.

I tried to get a connection to a cisco device and execute some commands, all fine here.

But my problem..... More

Print this item

  looking for sweeter code to compare parts of a list
Posted by: Skaperen - Jun-18-2017, 05:21 AM - Forum: General Coding Help - Replies (7)

i have a big (nearly a million lines) file that is being read in, one line at a time.  each line is .split() and there are about 3 dozen tokens for ea..... More

Print this item

  Looking for new example wxpython AUI code
Posted by: Larz60+ - Jun-18-2017, 02:34 AM - Forum: Bar - Replies (1)

Hi,

I have been playing with the new wxpython phoenix and like very much what I am finding.
I am especially interested in the Advanced User Interf..... More


Attached Files

Thumbnail(s)
   
Print this item

  convert 2.7 t0 3.5
Posted by: Blue Dog - Jun-18-2017, 01:34 AM - Forum: General Coding Help - Replies (4)

my question here
Here is a line of code that I can't not convert to python 3

[images = [urlparse.urljoin(response.url, url) for url in images]
..... More

Print this item

  dictionary keys
Posted by: mcmxl22 - Jun-17-2017, 10:51 PM - Forum: General Coding Help - Replies (3)

How do I get multiple keys in a dictionary to point to one item?
I keep getting key errors when I call more than one key.
I want two dics where all ..... More

Print this item

  Back to loops question
Posted by: wernerwendy - Jun-17-2017, 09:40 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I want to write a program which takes a series of numbers finishing the process with 0. The program results should be as follow:

Enter..... More

Print this item

  sklearn imported but not recognized
Posted by: kerberg - Jun-17-2017, 12:15 PM - Forum: Data Science - Replies (6)

Hello Python forum,
I am a new learner and am following basic tutorials from udacity and youtube.
I am on python 2.7. I am using visual studio as a..... More

Print this item

  AttributeError: attribute 'port' of 'liblo._ServerBase' objects is not writable
Posted by: emrebt39 - Jun-17-2017, 09:59 AM - Forum: General Coding Help - Replies (2)

i ve muse headband and arduino.I want to take datas from muse and give them to arduino for some calculations.

#define libs
from li..... More

Print this item

  ln in for loop
Posted by: pikm57 - Jun-17-2017, 07:21 AM - Forum: Homework - Replies (4)

Hi,
I m trying to solve PDE with finite elements method. Problem is, when I put the part, which has ln(x) in it, I get error. I tried np.log() and ma..... More

Print this item

  help with plt.fill_between
Posted by: maria - Jun-16-2017, 11:02 PM - Forum: Data Science - Replies (1)

Hi,

I want to write this script in a shorter way maybe using do loops.
Also in the way the script is written the instruction plt.fill_between is g..... More

Print this item

  ssh remote command with list
Posted by: pythonnew - Jun-16-2017, 08:52 PM - Forum: General Coding Help - Replies (2)

Hello I am new to python. trying to use a list to ssh to my remote server

[python]
#!/usr/bin/python
import subprocess

node = ['node41', 'node..... More

Print this item

  controlled assessment
Posted by: help - Jun-16-2017, 05:31 PM - Forum: Homework - No Replies

hi, i am doing a mock controlled assessment in computer science, in which i am allowed to do research outside of the lesson, so doing this is breaking..... More

Print this item

  Speeding up Twitter parser
Posted by: kiton - Jun-16-2017, 03:39 PM - Forum: Data Science - Replies (3)

Hello dear forum members,

With your generous help I was able to successfully run the following code:

[python]
import os
import json
import pa..... More

Print this item

  Radiobutton in Tkinter not Updating Variable from Value
Posted by: Aidan54321 - Jun-16-2017, 03:34 PM - Forum: GUI - Replies (1)

Hello. So I am trying to create a radiobutton that changes the value of another variable when clicked on. Obviously I'm missing something, because no ..... More

Print this item

  Modulus operator giving incorrect result
Posted by: Chaos - Jun-16-2017, 09:54 AM - Forum: Data Science - Replies (1)

Hello,

I am fairly new to Python and I am trying to implement the Hill Cipher as a small project. I think I have the logic figured out and have got t..... More

Print this item

  syntax error
Posted by: CardBoy - Jun-16-2017, 09:47 AM - Forum: General Coding Help - Replies (2)

Hi

I am using python 2.6 and python-gitlab 0.21.2

But running I get this error which I do not understand as it looks ok to me

[error]Tracebac..... More

Print this item

  multiplying integer to decimal
Posted by: ArnabRoyBatman - Jun-16-2017, 08:45 AM - Forum: News and Discussions - Replies (8)

I was trying a multiplication in python
c = 0.72*5

instead of giving me 3.6 it returned 3.599999997 something like that...
whats that about ????..... More

Print this item

  short way to combine tuples and int's
Posted by: Annie - Jun-16-2017, 12:42 AM - Forum: General Coding Help - Replies (6)

if I have four kinds of data like

l1 = 1   #int
l0 = 8   #int
l2 = 2,3 #tuple
l3 = 4,5 #tuple
Is there an elegant single..... More

Print this item

  Simple Caesar Cipher Help
Posted by: as1221 - Jun-15-2017, 06:48 PM - Forum: General Coding Help - Replies (6)

Hello all,

I would like some expert python help. I'm very new to Python and I'm trying to create a simple caesar but it isn't working. It's stuck o..... More

Print this item

  Feasibility of my project.
Posted by: Smith08 - Jun-15-2017, 08:54 AM - Forum: General Coding Help - Replies (3)

Hi. I am currently studying computing and must create a project that successfully uses a GUI , stores data etc. and it must solve a problem. I thought..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  division error 6 hours ago nathanael deanhystad General Codin...
  "with open(os.path.join(a... Yesterday, 13:13 uek67 uek67 General Codin...
  Albert is Hiring: Remote ... Yesterday, 10:55 AlbertApp prachi01 Jobs
  500 Internal Server error... 12-11, 08:41 ppowell777 ankitsharma32 Web Scraping ...
  Looking for new hosting s... 12-09, 14:30 Larz60+ DeaD_EyE Bar
  Optimization Software Eng... 12-09, 11:51 bicop bicop Jobs
  scipy.optimize.curve_fit ... 12-08, 22:02 willflanagan willflanagan Data Science
  Iterator and/or generator... 12-08, 16:30 mogplus8 noisefloor General Codin...
  Graphics error 12-08, 16:22 nathanael woooee General Codin...
  An impressive collection ... 12-06, 06:35 Gribouillis Larz60+ Bar
  Py script to APP on MAC 12-05, 20:12 tester_V tester_V General Codin...
Most views
  The best Prog... 579912
  Tutorial Requ... 515619
  Web Scraping ... 442560
  Newbie with P... 386789
  New Users Int... 383465
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+ 12117
buran 8197
snippsat 7395
deanhystad 6918
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
MatthewRodia Yesterday
signs2go Yesterday
Iqra Yesterday
prachi01 Yesterday
ericAlfonce Yesterday

User Panel Messages

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