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,934
» Latest member: winchestersam
» Forum threads: 38,722
» Forum posts: 175,504

Full Statistics

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

Latest Threads
Recovery of my lost solan...
Forum: General Coding Help
Last Post: winchestersam
8 minutes ago
» Replies: 0
» Views: 1
LOST OF INVESTMENT SCAM
Forum: News and Discussions
Last Post: goodvicent
36 minutes ago
» Replies: 0
» Views: 2
Too much space between gr...
Forum: GUI
Last Post: deanhystad
3 hours ago
» Replies: 3
» Views: 908
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 358
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-15-2025, 08:58 PM
» Replies: 8
» Views: 2,496
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,543
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 425
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 133
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 2,926
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,179

 
  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

  [ tools atom v pycharm ] -- when it comes to easier learning, and making life easier,
Posted by: oneofakindpython - Jun-14-2017, 09:58 PM - Forum: General Coding Help - Replies (2)

[ tools atom v pycharm ] -- when it comes to easier learning, and making life easier, could you please link to a detailed analysis of how -- exactly -..... More

Print this item

  Flash is not working in flask
Posted by: sahilsiddharth - Jun-14-2017, 09:44 PM - Forum: General Coding Help - Replies (3)

I have written a simple code ,but flash is not showing any message .
Code -
[python]flash('OK. The User ID is x')
return redirect(url_for('about')..... More

Print this item

  Local TCP
Posted by: hackysack - Jun-14-2017, 09:29 PM - Forum: Networking - Replies (3)

Hi,

Is this feasible? I understand the the principle of TCP/IP is microsoft comms over the internet. I am hoping that there is a simple'ish way aro..... More

Print this item

  Python if else condition using with args
Posted by: emrebt39 - Jun-14-2017, 08:58 PM - Forum: General Coding Help - Replies (5)

I want to use if else condition with arguments.Main codes at part 1
And i want to divide each arg to 10 and put args in if else condition.If else try..... More

Print this item

  PlaintextCorpusReader connectives custom file
Posted by: raky - Jun-14-2017, 05:53 PM - Forum: General Coding Help - Replies (1)

Hi , Appreciate for any help if possible please,  I am newbie and trying to get "connectives" using custom corpora , a file named my_text.txt,  which ..... More

Print this item

  File Content comparison-csv
Posted by: JP_ROMANO - Jun-14-2017, 04:50 PM - Forum: Data Science - Replies (5)

Good day - I thought I was going to be able to put my continuous python failures behind me for another month or so, but I've received a new task at wo..... More

Print this item

  Is it possible to use unsupported ciphers? SSL
Posted by: Kacy538 - Jun-14-2017, 02:36 PM - Forum: Networking - Replies (1)

Hey, So I need to use RC4-SHA for my server to connect with the client. I've tried to modify SSL library, but I've only got "AECDH-RC4-SHA" and this i..... More

Print this item

  Problems with PyInstaller with tkinter app on python 3.5
Posted by: sealyons - Jun-14-2017, 02:27 PM - Forum: General Coding Help - Replies (10)

Just getting started with Pyinstaller (and somewhat with Tk windowing) and having trouble getting my tkinter windows app (under python 3.5.3) running ..... More

Print this item

  Access webcam via python
Posted by: ArnabRoyBatman - Jun-14-2017, 02:13 PM - Forum: General Coding Help - Replies (1)

I want to access my webcam via python without using opencv....I have got Pillow library. I couldn't find any code to access the webcam without opencv...... More

Print this item

  how to write and read variables to a file
Posted by: foxtreat - Jun-14-2017, 01:19 PM - Forum: General Coding Help - Replies (2)

I googled around to see how i can write a variable lets say the string name,which equals "john"to a file and then when i reopen the script i can read ..... More

Print this item

  Error handling not working
Posted by: desudesu - Jun-14-2017, 12:44 PM - Forum: General Coding Help - Replies (2)

Hi, i made a program that reads a URL from textfile and checks if that websites status is <=400, if it is, it will return "website is running" and sav..... More

Print this item

  Help with faulty code.
Posted by: Wilson1218 - Jun-14-2017, 07:01 AM - Forum: General Coding Help - Replies (1)

Why won't this code work? It doesn't run through as it's meant to and fails to set the variables to what they are meant to be! The first example is "c..... More

Print this item

  my latest creation
Posted by: Skaperen - Jun-14-2017, 06:06 AM - Forum: Code sharing - No Replies

i was feeling rather happy so i created this:

[python]#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import division, print_funct..... More

Print this item

  Maybe
Posted by: Skaperen - Jun-14-2017, 04:25 AM - Forum: News and Discussions - Replies (2)

how much code out there would break if a new value Maybe were added to the bool type? would any of your code break?

Print this item

  True vs False
Posted by: Skaperen - Jun-14-2017, 04:21 AM - Forum: General Coding Help - Replies (10)

i am reading in data, splitting it, etc, and getting strings with 'True' and 'False', such as reading from python source code.
i want to convert thes..... More

Print this item

  How do I run python scripts from any directory using Windows command prompt?
Posted by: bigmit37 - Jun-14-2017, 12:32 AM - Forum: General Coding Help - Replies (4)

The default directory I'm usually in when I start up Windows command prompt is C:\Users\Moon\, which I'm content with.

I have some folders locat..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Recovery of my lost solan... 8 minutes ago winchestersam winchestersam General Codin...
  LOST OF INVESTMENT SCAM 36 minutes ago goodvicent goodvicent News and Disc...
  [Tkinter] Too much space ... 3 hours ago RonR deanhystad GUI
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  403 Error 09-15, 20:58 CaptainNewb snippsat Web Scraping ...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 575833
  Tutorial Requ... 497142
  Web Scraping ... 439839
  Newbie with P... 383547
  New Users Int... 365502
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
winchestersam Today
goodvicent Today
XenonBlack Yesterday
tobey12 Yesterday
Lenowell Yesterday

User Panel Messages

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