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: XenonBlack
» Forum threads: 38,722
» Forum posts: 175,502

Full Statistics

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

Latest Threads
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
2 hours ago
» Replies: 0
» Views: 23
Expert Guidance Made Easy...
Forum: General Coding Help
Last Post: Alex12
3 hours ago
» Replies: 0
» Views: 29
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
7 hours ago
» Replies: 1
» Views: 351
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,384
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,482
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 321
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 106
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,839
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,090
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 775

 
  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

  Someone explains to me how this works please
Posted by: franklee809 - May-16-2017, 08:37 AM - Forum: Homework - Replies (2)

my question here

Q4.  Ask the user for a sentence and print out a table of words in that sentence. The words should be printed alphabetically with ..... More

Print this item

  a preferred choice os the two lines?
Posted by: Skaperen - May-16-2017, 06:29 AM - Forum: General Coding Help - Replies (9)

is there a preferred way of coding stuff like this (choose one line of these two):

[python]working_column = self.columns[-1] if len(self.columns) >..... More

Print this item

  I can't locate Python Text Editor
Posted by: Rahulsunv - May-16-2017, 01:55 AM - Forum: General Coding Help - Replies (2)

I have downloaded Python version 3.4.3 
Shell and IDLE are both available but can't locate Python Text Editor. May be it isnt downloaded.
Please hel..... More

Print this item

  QIcon not displaying
Posted by: metulburr - May-16-2017, 01:35 AM - Forum: GUI - Replies (7)

Im running through PyQt5 tuts and came across a couple of tutorials that use QIcon. I cant get anything given to QIcon to work at all whether its thro..... More

Print this item

  Python for Scientists and Engineers now free
Posted by: nilamo - May-16-2017, 12:52 AM - Forum: News and Discussions - No Replies

http://pythonforengineers.com/python-for...engineers/

Print this item

  PyGtk3, No Module Named gi, on python3.5 on Windows
Posted by: harun2525 - May-15-2017, 10:34 PM - Forum: GUI - Replies (8)

hi i have a great problem I insalled python3.5 and deleted python3.4 and installed pygobject3.18.2 on python3.5 64 bit but after installation, when I ..... More

Print this item

  I need help with my code!
Posted by: TheSpalekUk - May-15-2017, 04:59 PM - Forum: General Coding Help - Replies (3)

i was trying to make a code that would ask me to register my email username and password.
the register part on this code goes well... but i have one i..... More

Print this item

  How to use a module as dict ?
Posted by: harun2525 - May-15-2017, 04:58 PM - Forum: General Coding Help - Replies (4)

is it possible to add dictionary property to module.  we can add dictionary property to classes with adding __getitem__ method. i hope we can do that ..... More

Print this item

  How to get parent directory from existing func not user func ?
Posted by: harun2525 - May-15-2017, 02:45 PM - Forum: General Coding Help - Replies (3)

i know we can make us own function for do this with several os.path functions. but if there is a any existing function for do this, i want to use it

..... More

Print this item

  Pandas null values
Posted by: rmichalowski - May-15-2017, 02:09 PM - Forum: Data Science - Replies (3)

Hello,

I want to iterate through a dataframe and check for a null value:

for i, row in df.iterrows():
   if row['Some column'] is not null:
  ..... More

Print this item

  Can't figure this one out
Posted by: Stefython - May-14-2017, 07:39 PM - Forum: General Coding Help - Replies (6)

I'm brand new to programming, busy practicing some coding. What am I doing wrong here? Confused 

[python]
>>>farm_equipment = ["jd r4038", "jd..... More

Print this item

  Sentiment Analysis with NLTK Vader - Writing data in one row
Posted by: ulrich48155 - May-14-2017, 07:02 PM - Forum: Homework - Replies (1)

Hello python experts,

for an university project I want to do an sentiment analysis of twitter tweets with the NLTK package. Therefore, my code look..... More

Print this item

  Remainder Operation
Posted by: Babbare - May-14-2017, 04:19 PM - Forum: Homework - Replies (1)

Here's the question and below I will post my response, but I am having a difficult time using the % operation.
4. Write a program named [b]program24...... More

Print this item

  decorate an imported function?
Posted by: Skaperen - May-14-2017, 09:46 AM - Forum: General Coding Help - Replies (3)

is it possible to decorate a function that came with an imported module?  if so ... how?  what can be done this way?

Print this item

  what is this doc page for
Posted by: Skaperen - May-14-2017, 05:49 AM - Forum: News and Discussions - Replies (8)

i ran across this page while reading about decorators, can someone tell me what it is f..... More

Print this item

  thread pool
Posted by: Frankie - May-14-2017, 03:50 AM - Forum: Data Science - Replies (5)

I want to use thread pool to speed up the process. Though there is no error in compilation, 'entering calc' is not displayed. Is my code correct?
Mor..... More

Print this item

  String to Floating Point Question
Posted by: Babbare - May-14-2017, 01:22 AM - Forum: Homework - Replies (2)

What is the name of the function that converts a string to a floating point number?

I have read about 40-pages of my textbook for this answer, and ..... More

Print this item

  Function Help
Posted by: gygy8 - May-13-2017, 09:52 PM - Forum: Homework - Replies (1)

Can someone write a guide to these questions in English?

https://youtu.be/FQw_npHtpXI

1. Write a function that accepts 2 lists of numbers. The funct..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How Reliable Is Assignmen... 2 hours ago tobey12 tobey12 News and Disc...
  Expert Guidance Made Easy... 3 hours ago Alex12 Alex12 General Codin...
  Another app idea - intera... 7 hours ago decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 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...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575798
  Tutorial Requ... 497043
  Web Scraping ... 439810
  Newbie with P... 383502
  New Users Int... 365323
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 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
XenonBlack Today
tobey12 Today
Alex12 Today
Lenowell Today
luisshulez6883 Yesterday

User Panel Messages

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