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,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

Online Users
There are currently 51 online users.
» 0 Member(s) | 48 Guest(s)
Google, Bing, DuckDuckGo

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
Yesterday, 10:18 AM
» Replies: 1
» Views: 60
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 268
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 09:41 AM
» Replies: 3
» Views: 109
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 239
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 93
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,603
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 191
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 175
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,931
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,410

 
  Help resolving error with webpy app
Posted by: bill349 - May-18-2017, 08:08 AM - Forum: General Coding Help - Replies (1)

I'm trying to follow an online course and while the course content and tutorials are generally good, it's absolutely infuriating to follow because the..... More

Print this item

  TCp code explained
Posted by: zarnav - May-18-2017, 06:53 AM - Forum: Networking - Replies (2)

Hey guys,

I am new to this field and I would like to get some assistance in explaining this code's output.
Currently when I run it doesn't produce..... More

Print this item

  my new code
Posted by: Skaperen - May-18-2017, 06:11 AM - Forum: Bar - Replies (2)

i rewrote my columnizer module to correct some issues in the previous design.  this on is still not finished and goes into a loop. there must be s mis..... More

Print this item

  SOLVED QMessageBox: can't get QMessageBox.Yes to work
Posted by: Fred Barclay - May-18-2017, 06:07 AM - Forum: GUI - No Replies

G'day mates,
For a project, I need to return Gui notifications/questions to the user from several different modules. Rather than write an individual ..... More

Print this item

  100 days of python algorithms
Posted by: Larz60+ - May-18-2017, 04:50 AM - Forum: News and Discussions - No Replies

Check it out: https://www.oreilly.com/ideas/jupyter-di...5-may-2017
github code link: https://github.com/coells/100days

Print this item

  mutable_sequence.pop() documentation
Posted by: Skaperen - May-18-2017, 02:07 AM - Forum: News and Discussions - Replies (5)

the documentation for the .pop() method for mutable sequences says that the argument to be passed to it is a number in a list.  why i..... More

Print this item

  Create PDF with text from PNGs
Posted by: hugfer96 - May-18-2017, 12:52 AM - Forum: General Coding Help - Replies (1)

Hello. I need to make a PDF from four graphic plots, that are supposed to be displayed in  landscape orientation and in a 2x2 matrix (preferably, with..... More

Print this item

  Getting csrf token to log in
Posted by: spartanvfl - May-17-2017, 10:50 PM - Forum: Web Scraping & Web Development - Replies (4)

Running a load test on a web portal (Liferay) using Locust but cannot log in. I am posting the username and password, but need the csrf token. I can i..... More

Print this item

  Trouble displaying items from lists
Posted by: Liquid_Ocelot - May-17-2017, 10:42 PM - Forum: Homework - Replies (8)

So I am writing a code for an address book. I have a function that searches for a nickname of a person then prints their details if the nickname is in..... More

Print this item

  mportError: DLL load failed:
Posted by: jarthda - May-17-2017, 08:35 PM - Forum: General Coding Help - Replies (8)

Windows 7 Anaconda3 4.3.1

I've developed a script to insert files to into SQL. It worked fine for weeks and now I get the following: 



  File..... More

Print this item

  Need help to prove close File
Posted by: slice - May-17-2017, 05:38 PM - Forum: General Coding Help - Replies (4)

There is a task to open the file (not in the python), let it be txt or word or whatever, for this we use


[python]import os

os.startfile ('NEWS..... More

Print this item

  Python 3 dynamic import follies
Posted by: volcano63 - May-17-2017, 03:51 PM - Forum: General Coding Help - No Replies

Hi folks,

It looks that there's one issue of Python where dynamic seems an anathema - dynamic imports. For some reason, in 3.x it keeps [url=https:..... More

Print this item

  Problem with 'Clock' functionality
Posted by: panoss - May-17-2017, 03:23 PM - Forum: General Coding Help - Replies (2)

I 'm facing problems trying to embed 'clock' functionality in my application.

If you run the following code as is, you 'll see a window. Fine by no..... More

Print this item

  Printing strings.. help..
Posted by: zepel - May-17-2017, 03:00 PM - Forum: Homework - Replies (3)

My first defined function works, however I can't get my second defined function to work. I need my main function to access the upperCase function and ..... More

Print this item

  Trouble with global variables
Posted by: PickyBiker - May-17-2017, 02:01 PM - Forum: General Coding Help - Replies (8)

In the simple code below, schedule_last_update in the function check_schedule_file() is seen as a local variable and generates an error at line 15 cla..... More

Print this item

  Reversing word in strings yields unexpected result
Posted by: Dec - May-17-2017, 01:59 PM - Forum: General Coding Help - Replies (4)

Hello there, 
I'm recently learning python using python 3.6
I'm confused why the str.join seems not to work properly in my code
there are many exam..... More

Print this item

  sweep line algoritem
Posted by: reuven - May-17-2017, 12:54 PM - Forum: Homework - Replies (3)

hello
Does anyone have a code in the sweep line algorithm?

Thanks

Print this item

  Python is missing, for a reason
Posted by: Ofnuts - May-17-2017, 11:50 AM - Forum: Bar - Replies (5)

https://assets.toggl.com/images/toggl-ho...guages.jpg

Print this item

  python2 string formatting - old and new - different for unicode
Posted by: buran - May-16-2017, 09:10 PM - Forum: General Coding Help - Replies (1)

replying to another thread, I noticed something strange. following script, running python 2.7


[python]import forecastio

def main():
api_k..... More

Print this item

  'file' object has no attribute 'writeline'
Posted by: sarah_k - May-16-2017, 08:17 PM - Forum: General Coding Help - Replies (4)

Hi,  everybody.
I have a very large text file (1.3 terabytes). The first 8 lines of this file are meta-information. I want to remove these lines and ..... More

Print this item

  Someone help please ???
Posted by: TheSpalekUk - May-16-2017, 07:47 PM - Forum: General Coding Help - Replies (5)

I'm trying to make a lottery ticket simulator but i have one issue...
i want the program not to print only Names, but surnames as well right after th..... More

Print this item

  pynmea2
Posted by: kendias - May-16-2017, 07:14 PM - Forum: General Coding Help - Replies (18)

my question here:

I am trying to d'load pynmea2 but face the foll.: 
Is there a website to d'load it from? I could only find a link where I can co..... More

Print this item

  Walking the python call stack without leaks
Posted by: Larz60+ - May-16-2017, 05:28 PM - Forum: Code sharing - No Replies

If you ever wondered how the call traceback works, you need to know how the python code stack
is structured.

Each frame in the python call stack i..... More

Print this item

  Noob question about python and Maxplus
Posted by: Strator - May-16-2017, 05:07 PM - Forum: General Coding Help - No Replies

Hi guys :)

I hope I'm the right place to ask my question! Sorry i'm VERY noob at this so be gentle :p

I try to do a tool in python. So I managed..... More

Print this item

  IndexEroor : index out of range
Posted by: adithyakrish - May-16-2017, 04:55 PM - Forum: Data Science - Replies (7)

This is the error I get when I try running a certain program. The fun part is the program runs successfully in Windows but displays this error in Ubun..... More

Print this item

  Encryption service
Posted by: ahoneycutt - May-16-2017, 04:21 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

I have recently made an encryption service in django and am interested in having some people try it out. I'm testing to see how usable this ..... More

Print this item

  sqlite3 insert issue
Posted by: gohanzdad - May-16-2017, 04:19 PM - Forum: General Coding Help - Replies (1)

I am playing around with the sqlite3 module in preparation for a project I'm going to be working on.  I've used pymysql before without issues, but for..... More

Print this item

  How do you make my code continue going ?
Posted by: TheSpalekUk - May-16-2017, 03:35 PM - Forum: General Coding Help - Replies (2)

Hello! i just coded a rock paper scissors game but i have one issue...
The whole code is completely okay but when i input Rock paper or Scissors in i..... More

Print this item

  Automatically updated graph in jupyter notebook using qt5
Posted by: capponero - May-16-2017, 03:08 PM - Forum: Data Science - No Replies

Hey guys,

how to do this in jupyter notebook:

[python]

%matplotlib notebook
import numpy as np
import matplotlib.pyplot as plt
 
m = 100..... More

Print this item

  Recursive function
Posted by: janek30 - May-16-2017, 02:51 PM - Forum: Homework - Replies (1)

How to change this code to recursive code...

[python]def search(myList, number):
    for i in myList:
        if i[0] == number:
            ret..... More

Print this item

  error no 2: no such file
Posted by: panoss - May-16-2017, 12:10 PM - Forum: General Coding Help - Replies (4)

I 've made an exe with Pyinstaller.
But when I try to run it, I get an error: error no 2: no such file or directory: 'betws.ui'
This is the name of ..... More

Print this item

  access a very large file? As an array or as a dataframe?
Posted by: Angelika - May-16-2017, 11:53 AM - Forum: Data Science - Replies (5)

Good morning. I have just found this forum and I am really very glad.
I have a project to do which relates to unsupervised machine learning so I use ..... More

Print this item

  Modules issue, pip3 download modules only to pyhton3.5.2 not the latest 3.6.1
Posted by: bmohanraj91 - May-16-2017, 11:35 AM - Forum: General Coding Help - Replies (6)

Hi all,

In my linux pepper mint system there are three versions of python installed

Python 2.7.12

Python 3.5.2

Python 3.6.1

I needed s..... More

Print this item

  How to include folder in exe with Pyinstaller?
Posted by: panoss - May-16-2017, 11:02 AM - Forum: Web Scraping & Web Development - No Replies

I 'm trying to include a folder containing phantomjs in my exe I' making with Pyinstaller.
I' using this code: [color=#000000][font=Courier New]Tree(..... More

Print this item

  CSV file with irregular structure
Posted by: ulrich48155 - May-16-2017, 10:40 AM - Forum: Homework - Replies (9)

[color=#222222]I got a CSV file with about 500.000 lines of twitter tweets. The file is structured as follows:..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding Yesterday, 10:18 lary_p Larz60+ Homework
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Help with Serial.write in... Yesterday, 09:41 racingsubby Larz60+ General Codin...
  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... 578807
  Tutorial Requ... 509779
  Web Scraping ... 441909
  Newbie with P... 385904
  New Users Int... 375931
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday
thebigback 11-10
dimitriwati 11-10

User Panel Messages

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