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,248
» Latest member: kai_cow2710
» Forum threads: 38,779
» Forum posts: 175,819

Full Statistics

Online Users
There are currently 53 online users.
» 1 Member(s) | 44 Guest(s)
Bing, Google, Mojeek, AOL, Twitter, jefsummers

Latest Threads
New to python and coding
Forum: Homework
Last Post: jefsummers
Less than 1 minute ago
» Replies: 4
» Views: 96
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
1 hour ago
» Replies: 6
» Views: 162
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 300
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 270
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 101
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,619
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 201
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 185
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,166
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,421

 
  overwrite data using openpyxl
Posted by: BNB - Jun-21-2017, 11:31 AM - Forum: General Coding Help - No Replies

I have an excel sheet where I need to mainupulate a certain work sheet. I am trying to clear the contents in the worksheet and overwrite contents from..... More

Print this item

  THow to search a string in a file and display it in listbox by Tkinter
Posted by: mosavit - Jun-21-2017, 07:51 AM - Forum: GUI - Replies (2)

I was wondering how I can write a python code using Tkinter to search a string in an external txt file and display the lines in which the string appea..... More

Print this item

  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: 744)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding Less than 1 minute ago lary_p jefsummers Homework
  Help with Serial.write in... 1 hour ago racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578843
  Tutorial Requ... 509879
  Web Scraping ... 441917
  Newbie with P... 385917
  New Users Int... 376166
Most reputation
buran 581
snippsat 510
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+ 12107
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday
thebigback 11-10

User Panel Messages

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