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,237
» Latest member: lary_p
» Forum threads: 38,776
» Forum posts: 175,791

Full Statistics

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

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:56 AM
» Replies: 4
» Views: 133
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 107
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-07-2025, 07:29 PM
» Replies: 0
» Views: 77
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 122
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,162
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,373
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,570
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 196
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,202
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,454

 
  Hello World issues when using %% with ipython
Posted by: landlord1984 - Dec-11-2016, 05:58 AM - Forum: General Coding Help - Replies (5)

[python]In [44]: %%python3 hello.py
    ...:
UsageError: %%python3 is a cell magic, but the cell body is empty.

In [45]: %%python3 hello.py
   ..... More

Print this item

  New datasets
Posted by: Larz60+ - Dec-11-2016, 05:40 AM - Forum: Code sharing - No Replies

New datasets here http://python-forum.io/Thread-Interesting-Datasets

Print this item

  label doesn't update on each iteration
Posted by: daa - Dec-11-2016, 01:35 AM - Forum: GUI - Replies (5)

Hi all,
  I'm not new to programming, but I am new to Python.
  Can someone tell me why the label (lblTest) in my form (PyQt) doesn't update on each..... More

Print this item

  Move database post
Posted by: Larz60+ - Dec-10-2016, 09:25 PM - Forum: Board - Replies (7)

I'd like to move this post http://python-forum.io/Thread-Interesting-Databases to resources if all agree
It get's hidden in the bar post, and I think..... More

Print this item

  Simple Django Tutorial
Posted by: lewashby - Dec-10-2016, 05:29 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm following the Django tutorial here -> https://docs.djangoproject.com/en/1.10/i...utorial01/ but I'm having problems. I can run `python3 manage...... More

Print this item

  Print in For Loop
Posted by: sajley - Dec-10-2016, 01:53 PM - Forum: General Coding Help - Replies (3)

for i in range(1,9):
   print(i)
result:
Output:
1 2 3 4 5 6 7 8
how i can print this result:
[output]1 2 3 ..... More

Print this item

  programming challenge: double words
Posted by: Skaperen - Dec-10-2016, 05:57 AM - Forum: Bar - Replies (14)

given a list of words, some words are double words, such as "cheesecloth".  your program is to output all double words it encount..... More

Print this item

  handy password generator
Posted by: ichabod801 - Dec-10-2016, 04:51 AM - Forum: Code sharing - Replies (4)

There was a thread on password generators last month. This month I finally got around to r..... More

Print this item

  Cmon Windows...
Posted by: nilamo - Dec-09-2016, 08:31 PM - Forum: Bar - Replies (11)

   

You have full access to when I'm logged into the computer, AS WELL as when I normally startup/shutdown the computer.  You shouldn't..... More

Print this item

  is a pandas dataframe timeseries time index in a specified range (but ignoring date)?
Posted by: m_lotinga - Dec-09-2016, 07:36 PM - Forum: Data Science - Replies (4)

I have a dataset of indexed timeseries data in csv file format that I'm reading to a pandas dataframe, and specifying the index as the column of time ..... More

Print this item

  Python Instagram bot user-following problem
Posted by: danotto - Dec-09-2016, 06:52 PM - Forum: General Coding Help - Replies (1)

Hi, I found a Github program on a forum and want to use it to follow people on Instagram. It may have a bug that it follows the same people repeatedly..... More

Print this item

  Change background color
Posted by: sparkz_alot - Dec-09-2016, 04:14 PM - Forum: GUI - Replies (3)

I'm trying my first GUI application and was wondering if there is a way to change the background attribute of a Label (or Button?) if a condition chan..... More

Print this item

  How to use fcntl.ioctl() to get output buffer of socket after sendall() operation
Posted by: apsaxena - Dec-09-2016, 12:44 PM - Forum: Networking - No Replies

[color=#242729][size=small][font=Arial,]I am trying to get the pending data size in output buffer after calling my socket's sendall(). I am using TCP ..... More

Print this item

  Something went wrong
Posted by: infernoblaze - Dec-09-2016, 12:26 PM - Forum: Homework - Replies (9)

[align=justify]This program is a simple shopping list that could also be used for TODOs or similar purposes. The program maintains a list of items in ..... More

Print this item

  encyption help slow perfomance
Posted by: python_newbie - Dec-09-2016, 10:48 AM - Forum: General Coding Help - Replies (9)

Hi,

Firstly thanks for reading. I am not an python coder but I have been ask to encrypt some emails and I have incredible slow performance. I have ..... More

Print this item

  any libraries for aio?
Posted by: Skaperen - Dec-09-2016, 09:46 AM - Forum: General Coding Help - Replies (3)

does python have, or has anyone written any libraries, to support linux aio in python?

Print this item

  returncode
Posted by: roadrage - Dec-09-2016, 01:40 AM - Forum: Homework - Replies (1)

"""
Create a function called returncode, taking a single integer argument that
would:
  1. Cause the program to exit, setting the return code to ..... More

Print this item

  Trouble making my first python .exe using pyinstaller.
Posted by: PickyBiker - Dec-08-2016, 09:30 PM - Forum: General Coding Help - Replies (8)

I am trying to make a win 10 executable (.exe) from my helloworld.py script. I have installed pyinstall-3.2 and following the install document isn't s..... More

Print this item

  User Requirements for "liking" posts
Posted by: nilamo - Dec-08-2016, 08:35 PM - Forum: Board - Replies (4)

We have a user who's trying to "like" some posts, but cannot (http://python-forum.io/Thread-How-i-can?...61#pid5961).  Is there a minimum number of..... More


Attached Files

Thumbnail(s)
   
Print this item

  Program writing excel rfile with randomnized input
Posted by: wepkes - Dec-08-2016, 07:49 PM - Forum: General Coding Help - Replies (1)

Hello everyone.

I'm new to python. I have already tried to make some smal programs as excercise and that works fine for me but now i wanted to make s..... More

Print this item

  Newbie help with simple script written for v3.3 and used on vs2.7, please?
Posted by: PaulMorrey - Dec-08-2016, 07:29 PM - Forum: General Coding Help - Replies (4)

Hi
I`m a complete newbie to any sort of programming so sorry if this is a stupid question - working my way through the python for absolute beginers o..... More

Print this item

  Unable to understand reason for error IndexError: tuple index out of range
Posted by: rajat2504 - Dec-08-2016, 06:55 PM - Forum: Data Science - Replies (4)

Hello this is my first post.I am getting the following error..


[quote]
WARNING:tensorflow:From create_animation.py:207 in main.: initialize_all_..... More

Print this item

  how do i add new items to a dictionary ?
Posted by: roadrage - Dec-08-2016, 05:52 PM - Forum: Homework - Replies (3)

"""
Create a function called fizz_buzz_advanced. The function should take 3
arguments:
   - a dictionary, which maps integer numbers to words, K:..... More

Print this item

  Negative numbers and fractional powers
Posted by: Flexico - Dec-08-2016, 03:32 PM - Forum: General Coding Help - Replies (1)

Python doesn't like it when I ask it things like, (-6)**(1/3). I can at least get some answer by changing it to (-6+0j)**(1/3), and it gives me a comp..... More

Print this item

  run script from anaconda command prompt
Posted by: iFunKtion - Dec-08-2016, 11:34 AM - Forum: General Coding Help - Replies (2)

hi there,

up till now I have been developing on a Raspberry pi and my own Linux box or mac at home, but now I am having to use windows, which I ha..... More

Print this item

  How do I accept input from the terminal when I execute my file?
Posted by: cocoa1231 - Dec-08-2016, 08:31 AM - Forum: General Coding Help - Replies (1)

I've been trying to figure this out for a while now.
When I execute my file using python file.py, how can I send input like this: python file.py inp..... More

Print this item

  Video Player with Qt5
Posted by: Axel_Erfurt - Dec-08-2016, 06:51 AM - Forum: Code sharing - Replies (3)

A Video Player with Qt5, made in Linux

First I want to use a QLabel to show the time, but there must be a bug (Labels are not refreshed)

[python..... More

Print this item

  install ipython on Mac
Posted by: landlord1984 - Dec-08-2016, 02:27 AM - Forum: General Coding Help - Replies (6)

Hello all,

After many years with C, C++ and Matlab, I have decided to learn using Python now.

But my first obstacle is how to successfully inst..... More

Print this item

  Keep a running total(budget)
Posted by: mcmxl22 - Dec-07-2016, 10:09 PM - Forum: General Coding Help - Replies (3)

I am trying to write a budget program. I need to figure out how to keep a running total. How do I update the variable bal via a user in..... More

Print this item

  PyPi XML_RPC command wrapper class
Posted by: Larz60+ - Dec-07-2016, 09:41 PM - Forum: Code sharing - No Replies

I just finished a wrapper class for the complete PyPi XML-RPC command set.

It's available on github here[/[url=https://python-forum.io/thread-1146.html]..... More

Print this item

  Why are two similar bits of code giving different results?
Posted by: godmode - Dec-07-2016, 09:36 PM - Forum: General Coding Help - Replies (10)

Hi guys,

sorry for my novice question, but I can't really see why it gives a different result...
it's about a Fibonacci code...

[python]
a=1
..... More

Print this item

  New Moderator
Posted by: micseydel - Dec-07-2016, 08:15 PM - Forum: Board - Replies (5)

@[nilamo] is now a moderator :)

Print this item

  exec_external
Posted by: roadrage - Dec-07-2016, 08:10 PM - Forum: Homework - Replies (3)

"""#!/c/Anaconda2/Scripts/python"""
"""
Create a function called exec_external, taking a single string argument,
representing a Linux shell comma..... More

Print this item

  Created a plugin for our code tags
Posted by: stranac - Dec-07-2016, 07:19 PM - Forum: Board - Replies (18)

I've created a plugin for our python, error, output, and icode tags.
The plugin makes sure..... More

Print this item

  PYTHON AND JSON >please correct this corde
Posted by: just_started_python - Dec-07-2016, 06:54 PM - Forum: Homework - Replies (3)

 JSON file that contains the following pieces of information:

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... Today, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... 11-07, 19:29 tsgiannis tsgiannis GUI
  [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
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578711
  Tutorial Requ... 509260
  Web Scraping ... 441853
  Newbie with P... 385807
  New Users Int... 375162
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
lary_p Today
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07

User Panel Messages

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