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,629
» Latest member: rosefresh
» Forum threads: 38,639
» Forum posts: 175,070

Full Statistics

Online Users
There are currently 342 online users.
» 0 Member(s) | 338 Guest(s)
Bing, Baidu, Google, Yandex

Latest Threads
Best software to convert ...
Forum: News and Discussions
Last Post: rosefresh
6 minutes ago
» Replies: 0
» Views: 1
How to put my game loop i...
Forum: Game Development
Last Post: Thatedge
50 minutes ago
» Replies: 10
» Views: 3,070
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: Thatedge
50 minutes ago
» Replies: 2
» Views: 1,877
replace or remove text fr...
Forum: General Coding Help
Last Post: Curbie
2 hours ago
» Replies: 2
» Views: 49
Unable to install pygame ...
Forum: Game Development
Last Post: Plyth
5 hours ago
» Replies: 3
» Views: 2,102
List[] in Python needs so...
Forum: Game Development
Last Post: DeaD_EyE
Yesterday, 01:32 PM
» Replies: 3
» Views: 375
Web scraping confusion
Forum: Web Scraping & Web Development
Last Post: AlluminumFoil
Yesterday, 11:05 AM
» Replies: 4
» Views: 1,863
Problem Converting Tradin...
Forum: General Coding Help
Last Post: wallneradam
Yesterday, 07:29 AM
» Replies: 2
» Views: 2,797
PyQT5 Thread crashes afte...
Forum: GUI
Last Post: Axel_Erfurt
Jun-26-2025, 08:17 PM
» Replies: 2
» Views: 3,071
can't use pyrepl: bad mag...
Forum: News and Discussions
Last Post: Plyth
Jun-26-2025, 05:53 AM
» Replies: 2
» Views: 248

 
  How can I automate manual data validation using Python?
Posted by: python300 - Jun-21-2017, 09:21 PM - Forum: Data Science - Replies (1)

Here is what I do manually as of now:
I take raw data from source DB tables and do manual calculations on it using excel if needed. These manual calc..... More

Print this item

  Program-launching script will not close until the program it launches is closed
Posted by: mmwatson - Jun-21-2017, 09:12 PM - Forum: General Coding Help - Replies (1)

I wasn't sure whether to post this in "General Coding Help" or "GUI", as I'm encountering the problem in a tkinter-based GUI script, but I think the i..... More

Print this item

  Tkinter GUI works on Windows but not on Ubuntu
Posted by: danbei - Jun-21-2017, 08:20 PM - Forum: GUI - Replies (8)

Hi,
I'm coding a GUI with Tkinter that works fine on Windows 8.1 (python 2.7.13, Tkinter 8.5) but not on Ubuntu Mate 17.04 (python 2.7.13, Tkinter 8...... More

Print this item

  Replace lines from one .txt file to another
Posted by: Tumppi - Jun-21-2017, 07:34 PM - Forum: General Coding Help - Replies (13)

I am a beginner to do any coding, but still i'll try to do something..  Smile

My problem:

i need copy some lines Start.txt to end.txt, only..... More

Print this item

  New user startup Advice
Posted by: JP_ROMANO - Jun-21-2017, 07:23 PM - Forum: Data Science - Replies (8)

Not really a coding question specifically - but am interested in any opinions/advice.

I've tried to pick up Python a few times over the past couple o..... More

Print this item

  numpy.float64 and plot_date in matplotlib
Posted by: iv20023 - Jun-21-2017, 06:07 PM - Forum: Data Science - Replies (1)

Hi,

I am trying to draw the data of IBM stock and I have problems with date formatting.
Format of raw data is as follows:

COLUMNS=DATE,CLOSE,HI..... More

Print this item

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Best software to convert ... 6 minutes ago rosefresh rosefresh News and Disc...
  How to put my game loop i... 50 minutes ago temlotresid6 Thatedge Game Developm...
  2D-Cube-Tic-Tac-Toe 50 minutes ago freethrownucleus Thatedge Game Developm...
  replace or remove text fr... 2 hours ago Curbie Curbie General Codin...
  Unable to install pygame ... 5 hours ago garthE Plyth Game Developm...
  List[] in Python needs so... Yesterday, 13:32 Codingdesigner12 DeaD_EyE Game Developm...
  Web scraping confusion Yesterday, 11:05 keifin AlluminumFoil Web Scraping ...
  Problem Converting Tradin... Yesterday, 07:29 kralxs wallneradam General Codin...
  [PyQt] PyQT5 Thread crash... 06-26, 20:17 Suresh Axel_Erfurt GUI
  can't use pyrepl: bad mag... 06-26, 05:53 eliastw85 Plyth News and Disc...
  Setting AST node lineno c... 06-24, 14:10 voidtrance voidtrance General Codin...
Most views
  The best Prog... 572353
  Tutorial Requ... 485037
  Web Scraping ... 436890
  Newbie with P... 379720
  Thread remain... 351241
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12067
buran 8173
snippsat 7340
deanhystad 6840
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
rosefresh Today
t3stocks Today
TheJeffah Yesterday
ChauHaiCim9904 Yesterday
barrelmarble Yesterday

User Panel Messages

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