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 28 online users.
» 0 Member(s) | 24 Guest(s)
Bing, Google, Apple

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:56 AM
» Replies: 4
» Views: 135
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 110
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-07-2025, 07:29 PM
» Replies: 0
» Views: 81
[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,209
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,374
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,575
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 197
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,205
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,456

 
  Are there Bokeh users on this forum?
Posted by: sixteenornumber - Dec-27-2016, 03:08 PM - Forum: GUI - Replies (4)

Does anyone on this forum use Bokeh?

Print this item

  completed module: validip.py
Posted by: Skaperen - Dec-27-2016, 10:14 AM - Forum: Code sharing - Replies (8)

this module is also usable as a command to check if an IP address is valid.  given just one IP address, it is silent but sets the exit c..... More

Print this item

  Problems with moving from 3.5 to 3.6
Posted by: Hellerick - Dec-27-2016, 09:35 AM - Forum: Web Scraping & Web Development - Replies (7)

So I have Ubuntu and I wanted to try Python 3.6, so I installed it using "apt altinstall" command.

After playing around with it, I decided to see h..... More

Print this item

  why is this variable not printing out properly?
Posted by: dursland - Dec-27-2016, 07:00 AM - Forum: General Coding Help - Replies (11)

Using python3 and am new - learning via introtopython.org and I'm having a problem.

[code]var1 = (2+2)

print('The result of all calculations is ..... More

Print this item

  reading from two or more pipes
Posted by: Skaperen - Dec-27-2016, 04:50 AM - Forum: General Coding Help - Replies (2)

i got some example code online that showed me how to read from a pipe without using .communicate() which waits for the child process to exit, which ma..... More

Print this item

  rounding locale.currency
Posted by: birdieman - Dec-27-2016, 01:13 AM - Forum: General Coding Help - Replies (8)

I am new to python and barely know anything, but learned how to import "locale.currency" (from a suggestion to one of my other threads) to deal with f..... More

Print this item

  Python 3.6.0 PyLauncher Installation on Windows 10
Posted by: twv - Dec-26-2016, 07:13 PM - Forum: General Coding Help - Replies (6)

I just installed 3.6.0 (64-bit) on Win 10. I don't install to the default location, but to C:/Apps/Python36. Double-clicking on a .py or .pyw script r..... More

Print this item

  datetime unexpected result
Posted by: PickyBiker - Dec-26-2016, 05:49 PM - Forum: General Coding Help - Replies (10)

I am getting the UTC time from the following in my code and I thought it would bring back the local hour. 
At a Python prompt [color=#000000][size=sm..... More

Print this item

  What can I do with _winreg ?
Posted by: sixteenornumber - Dec-26-2016, 02:35 PM - Forum: General Coding Help - Replies (2)

I came across the module _winreg in 2.7.13 docs this morning.  I'm not very familiar with the windows registry.  How could this module be useful in ..... More

Print this item

  how to recreate akinator in python?
Posted by: hsunteik - Dec-26-2016, 08:33 AM - Forum: General Coding Help - Replies (8)

akinator is a mind reading app that guesses your character after asking 10 to 30 questions(90 to 99% accurate)

But how does it work?

besides that,i ..... More

Print this item

  Django Templates
Posted by: zero_shubh0 - Dec-26-2016, 07:09 AM - Forum: Web Scraping & Web Development - Replies (1)

http://imgur.com/a/xSyl0
..... More

Print this item

  filetostr - convert a file to a string in python code
Posted by: Skaperen - Dec-26-2016, 05:45 AM - Forum: Code sharing - Replies (1)

the script/program/command converts a file to a string ready to insert into python code.  it supports specified indentation, maximum code width and an..... More

Print this item

  splitting a string by 2 characters
Posted by: Skaperen - Dec-26-2016, 05:25 AM - Forum: General Coding Help - Replies (8)

i want to split a string at each place where 2 different characters might appear.

'some text<some tag>more text'.split2('<','>')

--> [u][..... More

Print this item

  Develop on Mac and run on Raspberry Pi?
Posted by: Triton318 - Dec-26-2016, 12:41 AM - Forum: General Coding Help - Replies (1)

Hello. I'm new to Python and basically new to programming. (I did some JavaScript, Cold Fusion, and basic SQL many years ago.)

I am going to be buy..... More

Print this item

  Python .json problem with UTF-8 file
Posted by: PickyBiker - Dec-25-2016, 10:53 PM - Forum: General Coding Help - Replies (5)

When my program tries to deserialize a .json file, it chokes on the UTF-8 designation (EF BB BF) at the beginning of the .json file. 
The error is: "..... More

Print this item

  ISO working example of opening a Microsoft Word document through PyWin32
Posted by: Orthoducks - Dec-25-2016, 09:45 PM - Forum: General Coding Help - Replies (1)

I want to write a Python application that uses the PyWin32 library to manipulate Microsoft Word documents. Does anyone know a working example of that?..... More

Print this item

  Python 3.5 Instantiate and manipulate object with multiprocessing
Posted by: jipete - Dec-25-2016, 04:41 PM - Forum: General Coding Help - Replies (1)

Hello, I am looking for a solution to be able to instantiate an object that will exploit another heart of cpu all by manipulating it from another proc..... More

Print this item

  No new computer for Christmas?
Posted by: sparkz_alot - Dec-25-2016, 02:14 PM - Forum: Bar - Replies (6)

If you are like me, and Santa didn't bring you a new computer, here is an almost next best thing from the folks at Raspberry Pi.

..... More

Print this item

  python 3.5 windows 10 how to run exe
Posted by: jipete - Dec-25-2016, 12:37 PM - Forum: General Coding Help - Replies (2)

Hello, I would like to make a script in python that clones VMWare virtual machines by running the executable vmrun.exe, but I do not know how to do, I..... More

Print this item

  help pleeeease
Posted by: ali - Dec-24-2016, 01:04 PM - Forum: Homework - Replies (6)

i have this python 2 banking system project using oop.

it was in two parts the first one was functional python but the second one is in oop, i coul..... More

Print this item

  BASIC to python3: using lists like arrays
Posted by: nigeljbm - Dec-24-2016, 10:44 AM - Forum: General Coding Help - Replies (2)

New to python - just installed python3/ktinter in ubuntu/lubuntu system.

Been through a lot of tutorials etc but none of them explain in practical ..... More

Print this item

  getting current filename of a text editor file for printing file name?
Posted by: hsunteik - Dec-24-2016, 10:26 AM - Forum: General Coding Help - Replies (3)

from sys import *

def open_file(filename)
      print(filename)

def run():
     open_file(?)
what should i write int..... More

Print this item

  must the if statement in the following tutorial be nested?
Posted by: hsunteik - Dec-24-2016, 10:15 AM - Forum: General Coding Help - Replies (3)

in this tutorial series on creating a programming language:
https://www.youtube.com/watch?v=pWAxiKdJF0c  (the first episode in the video tutorial ser..... More

Print this item

  how to treat two token as one token(lexer)?
Posted by: hsunteik - Dec-24-2016, 09:53 AM - Forum: General Coding Help - Replies (1)

lets say i have two type of token (the # token and the = token)
when each token is found the position variable will increase by one,but when theres s..... More

Print this item

  init vs_init_ while defining method/function?
Posted by: hsunteik - Dec-24-2016, 08:20 AM - Forum: General Coding Help - Replies (1)

while defining method,what is the difference in
this:

def init(...........):

      ................................
 
..... More

Print this item

  another project - this one is a function
Posted by: Skaperen - Dec-24-2016, 06:49 AM - Forum: Bar - No Replies

i will name this pcall() or pipeline() or callpipe() or something along those lines.

it will use one positional argument, a list of lists, where ea..... More

Print this item

  another project
Posted by: Skaperen - Dec-24-2016, 04:28 AM - Forum: Bar - Replies (3)

i don't have a clue if this is a small project or a large project.  i suspect it is a massively huge monstrosity.

i want to create a stack oriented..... More

Print this item

  Unable to open files without file extension
Posted by: pstarrett - Dec-24-2016, 03:03 AM - Forum: General Coding Help - Replies (3)

I am working with the Enron emails and they do not have a file extension. I can get the first set of code to work but I cannot in the second (see erro..... More

Print this item

  First line of File gets deleted when reading file
Posted by: lrxM - Dec-23-2016, 04:53 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

im quite new to python, especially to reading and writing files. 
I now wrote a script which was intended to read a "csv utf-8" file,..... More

Print this item

  TypeError: request for something already fulfilled?
Posted by: merlem - Dec-23-2016, 12:47 PM - Forum: GUI - Replies (11)

When using wxpython, I frequently get TypeErrors about something that is - as far as I can see - already fulfilled.
Examples:


[python]
# -*- co..... More

Print this item

  Python 3.6 Released
Posted by: snippsat - Dec-23-2016, 11:56 AM - Forum: News and Discussions - Replies (9)

This is a big release,with 16 new PEP(Python Enhancement Proposals) and ordered dictionary python 
..... More

Print this item

  Python Developer Availalble
Posted by: manikandan - Dec-23-2016, 11:35 AM - Forum: Jobs - No Replies

We have Python Sr. developers/ Junior developers readily available to get started on the project. 

[color=#000000]info @ opt..... More

Print this item

  how do i repeat???
Posted by: Darbandiman123 - Dec-23-2016, 08:48 AM - Forum: General Coding Help - Replies (2)

i have some coding that i would like to repeat here is the coding how do i do it??? it is for a calculator and i want to repeat the last bit ("main()"..... More

Print this item

  Access online database from python
Posted by: d4py - Dec-23-2016, 04:01 AM - Forum: General Coding Help - Replies (5)

Hi,
I am learning python at the moment (codeacademy & learn python android app & a couple of different books) and am also making little programs as I..... More

Print this item

  Christmas Window
Posted by: snippsat - Dec-23-2016, 12:14 AM - Forum: Bar - Replies (5)

Tried to make a window with a little Christmas spirit.
Tool 3DS-Max(render Corona) and PS.
(Click on image to enlarge).  
[img]http://imageshack.co..... More

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... 578713
  Tutorial Requ... 509303
  Web Scraping ... 441858
  Newbie with P... 385813
  New Users Int... 375209
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