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,397
» Latest member: MaxTranslate
» Forum threads: 38,822
» Forum posts: 176,026

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 24 Guest(s)
Bing, Apple, Google, Mojeek, AOL

Latest Threads
Struggles I Faced While E...
Forum: Code Review
Last Post: MaxTranslate
51 minutes ago
» Replies: 2
» Views: 4,576
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
9 hours ago
» Replies: 4
» Views: 143
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
10 hours ago
» Replies: 7
» Views: 3,580
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 140
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 279
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,095
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,946
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 172
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 102
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 171

 
  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

  LEAD RIGGING TD
Posted by: Axis Animation - Dec-07-2016, 04:12 PM - Forum: Jobs - No Replies

[color=#000000][size=medium][font=PlantinMTStd-Light,][size=small][color=#ff8c00][i][Image: slKPWC1.jpg]

Axis Animation
..... More

Print this item

  paramiko read stdout
Posted by: j.crater - Dec-07-2016, 02:54 PM - Forum: General Coding Help - Replies (2)

Hello,
I have a simple function that uses SSH via paramiko module. For example, if I have a line:
[python]
stdin, stdout, stderr = client.exec_command..... More

Print this item

  splitting up long number
Posted by: iFunKtion - Dec-07-2016, 02:17 PM - Forum: General Coding Help - Replies (7)

Hi there,

I have some timecodes in the format:

144345.20
how can convert this to a normal timecode that can then be used f..... More

Print this item

  Stupid Python Tricks: Q is for Quit
Posted by: ichabod801 - Dec-07-2016, 02:34 AM - Forum: Code sharing - Replies (1)

I write a lot of text interfaces, probably because I'm too lazy to write a GUI unless I need one. So I am frequently programming 'q' to quit the progr..... More

Print this item

  Totally off topic!
Posted by: Larz60+ - Dec-07-2016, 02:26 AM - Forum: Bar - Replies (3)

Does anyone know what the Microsoft windows process named 'TrustedInstaller' (which I don't trust) does?
If you google it, you usually get an answer ..... More

Print this item

  Cannot "Run" python on notepad++
Posted by: interconnected - Dec-07-2016, 01:33 AM - Forum: General Coding Help - Replies (6)

I am unable to "Run" python code on notepad++. It does nothing.


I link it to C:\Python3.5.2\Lib\idlelib\idle.py [color=#333333][size=small]-i "$(..... More

Print this item

  Recover currently running script?
Posted by: kbriden - Dec-06-2016, 10:57 PM - Forum: General Coding Help - Replies (3)

I have a program that I used Notebook++ to write, and I did not back it up for the past two weeks even though I put a ton of work into it.  I ran the ..... More

Print this item

  Negative Percentage PHP
Posted by: micseydel - Dec-06-2016, 10:29 PM - Forum: Board - Replies (6)

Not a critical issue, but I had this gem show up
   

Print this item

  How i can...?
Posted by: sajley - Dec-06-2016, 08:36 PM - Forum: General Coding Help - Replies (8)

hi guys
i'm new in python
how i can goto a line ...

How i can use this code, i wish my program if inpt is not '+-*/'   try to re input 

mylabe..... More

Print this item

  bug or feature?
Posted by: Mettler - Dec-06-2016, 06:05 PM - Forum: General Coding Help - Replies (6)

Hi people!

I have been playing around with python a little and came across this:
consider the following code in Python3

[python]
class THING:..... More

Print this item

  Robot Stay Inside Circular Ring
Posted by: webmanoffesto - Dec-06-2016, 02:54 PM - Forum: General Coding Help - Replies (4)

I have a Lego Mindstorms brick running ev3dev (open source Linux) and I am writing a Python program for it. I want to enter it in a friendly Sumo styl..... More

Print this item

  live(real time) database retrive
Posted by: x64 - Dec-06-2016, 07:38 AM - Forum: Web Scraping & Web Development - Replies (1)

hi,
i am using django in ubuntu 15.10 and python 3.52.
i am working on a project which is similar to shopping website.
here i want to retrive datab..... More

Print this item

  Python Launch Options
Posted by: Flexico - Dec-06-2016, 02:28 AM - Forum: General Coding Help - Replies (6)

I'm not sure if this is more a Python question or a Linux question, but here goes: I have a script file tied to the key combo Ctrl+Alt+P to navigate t..... More

Print this item

  Sympy Integration
Posted by: Flexico - Dec-06-2016, 01:17 AM - Forum: General Coding Help - Replies (5)

I couldn't find a Sympy forum, so I figured I'd post it here.

Please explain this to me:
[python]
>>> integrate(sin(x**2),x)
                   ..... More

Print this item

  Why doesn't this work?
Posted by: PickyBiker - Dec-05-2016, 10:56 PM - Forum: General Coding Help - Replies (3)

I am learning python and having a problem with reading .json files. There are 2 reads, one for status.json and the other for schedue.json
The code sh..... More

Print this item

  Show all available bindings for given widget
Posted by: Larz60+ - Dec-05-2016, 10:22 PM - Forum: Code sharing - No Replies

I needed to know available bindings for a ttk Notebook widget, and had a hard time finding them
This class will show available bindings for any widge..... More

Print this item

  Unintended output
Posted by: Nick_Wright - Dec-05-2016, 09:24 PM - Forum: General Coding Help - Replies (1)

[python]

j = [['4', '5'], ['1', '1'], ['1', '5'], ['3', '4'], ['3', '1']]
k = [['5', '2'], ['4', '2'], ['2', '4'], ['3', '3'], ['4', '3']]
t = [[..... More

Print this item

  rewrite_title
Posted by: roadrage - Dec-05-2016, 08:26 PM - Forum: Web Scraping & Web Development - Replies (12)

"""
Create a function called rewrite_title, taking two arguments:
  - String, representing HTML body (full or partial)
  - String, representing a..... More

Print this item

  Help configuring Geany for Python
Posted by: PickyBiker - Dec-05-2016, 07:49 PM - Forum: General Coding Help - No Replies

I am learning Python. In past programming languages I have used, the editor or GUI environment would add spaces around things automatically to make th..... More

Print this item

  list_reduction
Posted by: roadrage - Dec-05-2016, 05:30 PM - Forum: Homework - Replies (3)

"""
Write a function called list_reduction, that takes a single argument - a list
of strings, L. The function must:
  1. Transform the list, *in ..... More

Print this item

  setting evironment of Linux using python
Posted by: kgkhan - Dec-05-2016, 05:17 PM - Forum: General Coding Help - Replies (2)

Hi I am trying to convert a shell script to python. In shell script they are setting the Environment I don't know how to do that using the python here..... More

Print this item

  where to find advanced level guides
Posted by: Skaperen - Dec-05-2016, 07:43 AM - Forum: General Coding Help - Replies (3)

i am looking for advanced level guides to python for subprocess piping.

i want to be able to read data from a subprocess so this involves pipes whe..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Struggles I Faced While E... 51 minutes ago baffa_dbt MaxTranslate Code Review
  Willing to pay for help w... 9 hours ago braillescribe noisefloor General Codin...
  Create dataframe from the... 10 hours ago Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
Most views
  The best Prog... 580406
  Tutorial Requ... 519448
  Web Scraping ... 442778
  Newbie with P... 386979
  New Users Int... 386469
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
MaxTranslate Today
pizofreude Today
RockHound_Z12 Today
braillescribe Yesterday
aurelio12282025 Yesterday

User Panel Messages

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